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.
Python Release Python 3.11.2
Python 3.11.2 is the newest major release of the Python programming language, and it contains many new features and optimizations.
Django security releases issued: 4.1.7, 4.0.10, and 3.2.18
Passing certain inputs to multipart forms could result in too many open files or memory exhaustion, and provided a potential vector for a denial-of-service attack.
Python in Visual Studio Code - February 2023 Release
This release includes automatic environment selection, improvements to the Create Environment command, improved Intellisense support for pytest in preview, and improvements to the Jupyter kernel picker.
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
5 Signs You’ve Become an Advanced Pythonista Without Even Realizing It
You've been programming in Python for a while now, whipping up scripts and solving problems left and right. You think you're pretty good, don't you? Well, hold on to your hats, folks, because you might just be an advanced Pythonista without even realizing it!
Web Authentication Methods Compared
In this article, we'll look at the most commonly used methods for handling web authentication from the perspective of a Python web developer.
How to read and parse JSON data with Python
JSON is lightweight, easy to read, and simple to use, making it an ideal choice for developers looking to transmit data quickly and efficiently.
Dictionary Dispatch Pattern in Python
With dictionary dispatch we can replace any block of conditionals with a simple lookup into Python's dict- here's how it works.
Fixing Circular Imports in Python with Protocol
Sometimes, classes need to talk to each other in both directions.
A Comprehensive Guide to Logging in Python
Logging is an invaluable tool for developing reliable software applications. It provides a way to record and track events in the software, leaving an audit trail that captures the sequence of operations occurring within the system.
What is try-except-else-finally in Python
Sometimes you have code that is allowed to throw an error. In this case, try-except is what you want to use. However, if you make a try-except you can add 2 extra clauses, ‘else’ and ‘finally’ to really fine-tune the behavior.
Standout features in Django 4.2
This post is about the new Django 4.2 release. It's got some neat things in it and Mariusz Felisiak shares his favorite highlights.
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.
Projects
DocArray: The data structure for unstructured multimodal data
DocArray is a library for nested, unstructured, multimodal data in transit, including text, image, audio, video, 3D mesh, etc. It allows deep-learning engineers to efficiently process, embed, search, recommend, store, and transfer multimodal data with a Pythonic API.
DictDataBase: A python NoSQL database that uses dicts, and provided thread and process safety
DictDataBase is a fast document-based database that uses json files or compressed json files for storage.
Mage-AI: The modern replacement for Airflow
Build, run, and manage data pipelines for integrating and transforming data.
Open-Assistant: A chat-based assistant that understands tasks
It can interact with third-party systems, and retrieve information dynamically to do so.