A self-contained Python cheat sheet with reference cards, templates, metadata, and the small application used to browse the cards.
Python-reference/
|-- app/ # Browser and metadata-generation scripts
|-- docs/ # Markdown reference cards grouped by Python topic
|-- metadata/ # Generated JSON index
|-- templates/ # Reusable reference-card templates
|-- todolist.md
`-- README.md
builtins/- built-in functions such aslen(),range(), andzip()data-types/- Python's core data typesdictionaries/- dictionary methodslists/- list functions and methodsmodules/- standard-library modulessets/- set methodsstrings/- string methods
Each reference card begins with YAML front matter. The metadata supports search,
cross-references, difficulty filters, and future use in a Flutter application.
New cards should start from a file in templates/.
From the repository root:
python Python-reference/app/python_cheat_sheet.pyEnter a supported concept such as list, append, len, or filter. Enter
q to quit. The browser uses os.startfile, so it is currently intended for
Windows.
The metadata exporter requires PyYAML:
python -m pip install PyYAML
python Python-reference/app/save_metadata.pyThe generated index is saved as metadata/python_metadata.json.