GitPedia

Pyquest

Python everything Cheatsheet and a Journey to the land of Python programming

From ivnvxd·Updated June 6, 2026·View on GitHub·

Stay awhile and listen, my friend, for I have a tale to tell you about a *wonderful journey* to the land of Python. The project is written primarily in Jupyter Notebook, distributed under the Creative Commons Attribution Share Alike 4.0 International license, first published in 2023. Key topics include: algorithms, architecture, cheatsheet, concurrency, data-science.

PyQuest

PyQuest

Stay awhile and listen, my friend, for I have a tale to tell you about a wonderful journey to the land of Python.

Whether you're just starting your programming journey, looking to strengthen your Python knowledge, or venturing into new areas of software development, PyQuest will offer you valuable insights and practical examples. It's intended to serve as a quick reference, a learning guide, and a springboard for deeper exploration into the vast world of Python programming.

It is designed to guide you through a wide array of topics, from basic syntax and data types to advanced concepts like concurrency, web development, and data science. This repository is organized into collection of cheat sheets with examples, each focusing on a specific topic.

This repository is your guide, but the journey is yours to take on your own. Run each code snippet, tweak, and modify as you desire. There is no better teacher than hands-on experience.

In other words, all cheat sheets are in the form of Jupyter Notebooks, so you can (and should!) run them by yourself!

Now comes the time for adventuring into the unknown. Keep this manual close and venture forth, brave coder. Your quest awaits! 🐍🏰🔮


By the way, if you're preparing for a job interview, check out:

Parts

Table of contents

Part I. Data Structures and Data Types <a id="toc-1-ds-and-dt"></a>

  1. Basic Data Types
  2. Built-in Data Structures
  3. User-defined Data Structures
  4. Other Data Types
  5. General Data Structure Concepts

Part II: Data Manipulation and Processing <a id="toc-2-dm-and-processing"></a>

  1. Basic Data Manipulation
  2. String Operations
  3. Regular Expressions
  4. Data Copying

Part III: Control Flow and Data Flows <a id="toc-3-cf-and-df"></a>

  1. Conditional Statements
  2. Loops
  3. Loop Control Statements
  4. Functions
  5. Itertools
  6. enumerate()
  7. zip()
  8. Recursion
  9. Context Managers

Part IV: File Handling, I/O, and Serialization <a id="toc-4-file-io-serialization"></a>

  1. File Operations
  2. Working with Directories
  3. Serialization
  4. Structured Data Formats
  5. Data Encoding and Decoding

Part V: Exceptions and Error Handling <a id="toc-5-exceptions-and-errors"></a>

  1. Python Exceptions
  2. Handling Exceptions
  3. Raising Exceptions
  4. User-Defined Exceptions

Part VI: Functional Programming <a id="toc-6-fp"></a>

  1. Lambda Functions
  2. Comprehensions
  3. Functools
  4. Bisect
  5. Decorators
  6. Generators
  7. Iterators

Part VII: Python Standard Library <a id="toc-7-standard-library"></a>

  1. Math
  2. DateTime
  3. Collections
  4. OS and Sys

Part VIII: Object-Oriented Programming <a id="toc-8-oop"></a>

  1. OOP Fundamentals
  2. Core OOP Principles
  3. Advanced OOP Features
  4. Metaprogramming
  5. Design Patterns in OOP

Part IX: Python Language Internals <a id="toc-9-language-internals"></a>

  1. Namespaces and Scope
  2. Typing
  3. Python Compilation
  4. Memory Management
  5. Introspection

Part X: Concurrency <a id="toc-10-concurrency"></a>

  1. CPU Bound vs I/O Bound
  2. Multithreading
  3. Multiprocessing
  4. Asyncio
  5. Synchronization
  6. Parallelism

Part XI: Debugging and Testing <a id="toc-11-debugging-and-testing"></a>

  1. Debugging
  2. Testing
  3. Test Driven Development (TDD)
  4. Python Testing Frameworks

Part XII: Common Practices <a id="toc-12-common-practices"></a>

  1. Logging
  2. Code Style
  3. Environment Management
  4. Profiling
  5. Code Review

Part XIII: Databases <a id="toc-13-databases"></a>

  1. Databases Basics
  2. SQL
  3. NoSQL
  4. ORM (Object-Relational Mapping)
  5. Database Design
  6. Messaging Systems

Part XIV: Networking and Web Development <a id="toc-14-web"></a>

  1. HTTP
  2. Web Frameworks
  3. APIs
  4. RPC (Remote Procedure Call)
  5. Web Servers
  6. Real-Time Communication
  7. Web Scraping
  8. Security
  9. Frontend Development

Part XV: GUI Programming <a id="toc-15-gui"></a>

  1. Tkinter
  2. PyQT
  3. wxPython
  4. Kivy
  5. PySimpleGUI

Part XVI: Python and Data Science <a id="toc-16-data-science"></a>

  1. NumPy
  2. Pandas
  3. Matplotlib
  4. SciPy
  5. Scikit-Learn
  6. TensorFlow and Keras
  7. PyTorch
  8. Jupyter Notebook

Part XVII: Software Architecture <a id="toc-17-architecture"></a>

  1. Principles
  2. Programming Paradigms
  3. Architecture Styles
  4. System Design
  5. Domain-Driven Design

Part XVIII: DevOps <a id="toc-18-devops"></a>

  1. Git
  2. Linux
  3. Development Lifecycle
  4. CI/CD
  5. Containers
  6. Cloud
  7. Infrastructure as Code
  8. Monitoring

Part XIX: Algorithms <a id="toc-19-algorithms"></a>

  1. Time Complexity and Big O Notation
  2. Sorting Algorithms
  3. Searching Algorithms
  4. Graph Algorithms
  5. Problem Solving Methods

Sources <a id="c-sources"></a>

Support <a id="c-contributing"></a>

Thank you for using this project! If you find it helpful and would like to support my work, kindly consider buying me a coffee. Your support is greatly appreciated!

<a href="https://www.buymeacoffee.com/ivnvxd" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

And do not forget to give the project a star if you like it! :star:

License <a id="c-license"></a>

CC-BY-SA-4.0 © Andrey Ivanov

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from ivnvxd/pyquest via the GitHub API.Last fetched: 6/23/2026