Skip to content

Add CheatGrid Python Cheat Sheet - #3277

Open
michaelmiscanuk wants to merge 1 commit into
vinta:masterfrom
michaelmiscanuk:master
Open

Add CheatGrid Python Cheat Sheet#3277
michaelmiscanuk wants to merge 1 commit into
vinta:masterfrom
michaelmiscanuk:master

Conversation

@michaelmiscanuk

Copy link
Copy Markdown

Project

CheatGrid Python Cheat Sheet

Checklist

  • One project per PR
  • PR title format: Add project-name
  • Entry format: - [project-name](url) - Description ending with period.
  • Description is concise and short

Why This Project Is Awesome

Which criterion does it meet? (pick one)

  • Industry Standard - The go-to tool for a specific use case
  • Rising Star - 5000+ stars in < 2 years, significant adoption
  • Hidden Gem - Exceptional quality, solves niche problems elegantly

Explain:

Note up front: this is an entry for Resources > Websites, not a Python package, so the
star-count and PyPI parts of the guidelines do not apply. I have matched the format of the
existing entry in that subsection.

It is a single-page Python reference, free and with no signup needed to read it. 26 grouped
tables covering data types, operators, string ops, slicing, control flow, functions,
comprehensions and generators, classes, dunder methods, exceptions, file I/O, imports,
built-ins, itertools, decorators, context managers, asyncio, type hints, regex, dataclasses,
enums, collections, concurrency, logging, virtualenvs and packaging.

What makes it worth a slot rather than "yet another cheat sheet": every row is a
syntax/description/example triple you can copy straight out, the modern surface is actually
covered (type hints, dataclasses, async, structural pattern matching) instead of stopping at
Python 2 era basics, and the same topic ships a spaced-repetition flashcard deck and practice
questions, so it works for revision and not only lookup.

How It Differs

Against the usual Python cheat sheets: most are either a single screenshot-style image or a
blog post that ends at loops and functions. This is a structured, searchable page kept current
with modern syntax, and each entry carries a runnable example rather than a bare signature.
There is also a per-row explanation button that rewrites any single row in plain language with
a worked example, which is capped (100 explanations on the free account, none while logged out)
and is not the point of the page, but it is the part I have not seen elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant