Python cheat sheets

60 sheets · 39 sections

01Python Fundamentals4 sheets

  • Core language
  • Functions
  • Built-ins worth knowing well
  • Modules and imports

02Object-Oriented Python5 sheets

  • OOP fundamentals
  • Abstract classes and interfaces
  • Properties
  • Dunder methods
  • Advanced OOP

03Python Internals3 sheets

  • Object model
  • Memory management
  • Execution model

04Functional Programming1 sheet

  • Functional Programming

05Decorators1 sheet

  • Decorators

06Iterators and Generators1 sheet

  • Iterators and Generators

07Exception Handling2 sheets

  • Fundamentals
  • Production error handling

08Context Managers1 sheet

  • Context Managers

09Type Hints and Static Typing2 sheets

  • Core typing
  • Advanced typing

10Dataclasses and Data Modeling1 sheet

  • Dataclasses and Data Modeling

11Standard Library1 sheet

  • Standard Library

12Concurrency and Parallelism3 sheets

  • Concepts
  • Threading
  • GIL

13Async Python1 sheet

  • Async Python

14Testing3 sheets

  • pytest
  • Mocking
  • Quality

15Python Packaging1 sheet

  • Python Packaging

16Dependency and Environment Management1 sheet

  • Dependency and Environment Management

17Code Quality and Tooling2 sheets

  • Formatting and linting
  • Engineering practices

18Performance3 sheets

  • Fundamentals
  • Profiling tools
  • Optimization

19Memory Optimization1 sheet

  • Memory Optimization

20Logging and Observability1 sheet

  • Logging and Observability

21Web and HTTP Fundamentals2 sheets

  • HTTP
  • Security-related web concepts

22API Development1 sheet

  • API Development

26Redis1 sheet

  • Redis

27Caching1 sheet

  • Caching

30Background Jobs and Task Queues1 sheet

  • Background Jobs and Task Queues

32Architecture and Design Patterns2 sheets

  • Common architecture styles
  • Patterns

33Dependency Injection1 sheet

  • Dependency Injection

34Linux1 sheet

  • Linux

35Networking1 sheet

  • Networking

37ASGI, WSGI, Uvicorn and Gunicorn1 sheet

  • ASGI, WSGI, Uvicorn and Gunicorn

42Monitoring and Production Operations1 sheet

  • Monitoring and Production Operations

43API Reliability1 sheet

  • API Reliability

44Data Serialization1 sheet

  • Data Serialization

45CLI and Automation1 sheet

  • CLI and Automation

46File and Resource Handling1 sheet

  • File and Resource Handling

47Date and Time1 sheet

  • Date and Time

48Networking and HTTP Clients1 sheet

  • Networking and HTTP Clients

50Senior-Level Engineering Skills1 sheet

  • Senior-Level Engineering Skills

51What a 5-Year Python Engineer Should Be Able to Explain2 sheets

  • Python
  • Database