$ account Kyle-Kyle
top4grep is a command-line tool for searching academic papers from four top security conferences (NDSS, IEEE S&P, USENIX, CCS). It builds a local SQLite database by querying DBLP via SPARQL and optionally scraping abstracts from publisher websites. The tool supports keyword-based querying with stemming for fuzzy matching and sorts results by year and conference precedence. The architecture separates concerns into distinct modules: database operations (__main__.py, db.py, build_db.py), abstract extraction (abstract.py), and utilities (utils.py). The code demonstrates good practices like SQLAlchemy ORM usage, context managers for resource handling, and the Template Method pattern for conference-specific abstract extraction.