IndexCheat SheetServalSource

Python

Can I use…

Feature Python version
f-strings 3.6
walrus operator aka := 3.8
Type Hinting Generics in Standard Collections aka list[str] 3.9 1
Type union operator aka int | float 3.10

Editing

Visual Studio Code
black
isort
prospector
Universal Ctags

Dependency management

pyenv
Poetry
Unofficial Windows Binaries for Python Extension Packages

Testing

pytest
pytest-randomly
pytest-snapshot
pytest-cov

Debugging

pudb
Add export PYTHONBREAKPOINT="pudb.set_trace" to your ~/.bashrc
pyinstrument
memory-profiler

Backend

Django
huey
jsonschema
environ-config

Frontend

Bootstrap
Mithril

Ops

Caddy
docker-compose
If you can ssh foobar then you can:
DOCKER_HOST=ssh://foobar docker-compose up -d
Note: you may need to bump MaxSessions in your server's /etc/ssh/sshd_config.
Hetzner

Tools

Crontab.guru
RetroTool

Bookmarks

Built-in Functions
Built-in Types
HTTP response status codes
  1. Python 3.8 provides from __future__ import annotations