The datasets
Both are free, no account, no sign-up. Each download is a gzipped sqlite database with full-text search built in.
Database one
195,782 entries
Python code facts, pulled from real code: what modules import, what types functions use, and what functions do. Best when you want to know how a piece of Python code is put together.
- Download size13.83 MB
- Unpacked size131 MB
- Formatsqlite, gzipped
- Insideimports, type hints, docstrings
- Built frommassive_coding_facts.jsonl
Download database one ↓
Database two
503,935 entries
The big one: API methods and functions, parameter types, defaults and docs, macros, decorators and imports, plus curated facts about frameworks and tools. Best when you want to know how an API works or what a tool is for.
- Download size36.94 MB
- Unpacked size310 MB
- Formatsqlite, gzipped
- Insideapi docs, parameters, macros, curated facts
- Built fromcoding_facts_full.jsonl
Download database two ↓
Together: 699,717 entries. Gunzip a file and it is a plain sqlite database, ready to query.