News
Read Python Cheatsheet latest changes here.
If you find this project useful, don't forget to drop a star on GitHub 🎉 It helps enormously by giving visibility, reaching more developers, and finding more people willing to contribute.
The PSF is hiring a Security Developer-in-Residence
The Python Software Foundation is happy to announce the launch of a year-long security enhancement initiative that will include a security audit and the creation of a new Security Developer-in-Residence role.
Django security releases issued: 4.1.6, 4.0.9, and 3.2.17
These releases addresses a potential denial-of-service via Accept-Language headers. We encourage all users of Django to upgrade as soon as possible.
SPONSORED LINK
Deploy, host, and scale your Python apps with Kinsta
Deploy your Python app from your GitHub account or bring your Docker container. Launch in minutes at any of our 26 global data centers. Your app is hosted on Google Cloud and secured by Cloudflare. Plus, turn on the free CDN that has 275+ POPs. Add one or multiple databases and take advantage of internal connections. 24/7 expert live chat support is always there to help you. Deploy Your Python App Now, the first $20 is on us!
Articles
10 Python Decorators To Take Your Code To The Next Level
Do more things with less code without compromising on quality
Pandas Illustrated: The Definitive Visual Guide to Pandas
Is it a copy or a view? Should I merge or join? And what the heck is MultiIndex?
Refactoring the God Class in Python
The class that knows too much. The one with the import list that never ends. Jack of all objects, master of none.
Dockerizing FastAPI with Postgres, Uvicorn, and Traefik
This tutorial details how to configure FastAPI to run on Docker along with Postgres, Uvicorn, Traefik, and Let's Encrypt.
Create your own scripting language in Python with Sly
If you need to create your own language in a Python project, do not look any further — Sly is there for the rescue!
6 GitHub Repositories You Can't Live Without
From code snippets to debugging tools, these repositories will help you work smarter, not harder.
Notes on ruff
ruff is a tool to check and lint Python code. It’s written in Rust and it really is blazing fast.
SPONSORED AD
Sponsor Python Cheatsheet 🧡
Python Cheatsheet is an open-source MIT licensed project that has been made possible due to the contributions of many Python developers. If you are interested in supporting this project, please consider becoming a sponsor on GitHub, or contributing by adding, fixing or improving content.
Resources
Official Django REST Framework Tutorial
A beginner-friendly guide to the official Django REST Framework.
The Python Official Tutorial
Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming.
Projects
Ruff: An extremely fast Python linter, written in Rust.
Ruff aims to be orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface.
DeepFaceLive: Real-time face swap for PC streaming or video calls
You can swap your face from a webcam or the face in the video using trained face models.
Pynecone: Web apps in pure Python
Pynecone is a full-stack Python framework that makes it easy to build and deploy web apps in minutes.
ChatGPT: Reverse engineered ChatGPT API
Reverse Engineered ChatGPT API by OpenAI. Extensible for chatbots etc.
FastQL: Inference Server
Spin up a super fast Rust powered GraphQL API to prototype your ML model in one line of Python code.