News
Hi there! I just published the Roadmap for future additions and improvements to the project. You should read it carefully, so you know where we are going and how you can help!
Read Python Cheatsheet latest changes here.
If you find this 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 3.11.3, Python 3.10.11 and 3.12.0 alpha 7 are available
The final alpha release of Python 3.12! The next release will be beta 1, which is also the feature freeze. Last chance to get your new features and API changes into 3.12!
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. 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, Start With a Free Trial!
Articles
Dictionary Dispatch Pattern in Python
With dictionary dispatch we can replace any block of conditionals with a simple lookup into Python's dict
Python strptime: Converting Strings to DateTime
Learn how to convert a Python string to date using the datetime module's strptime function. Also learn how to do this to a Pandas dataframe
Top 5 Python Tricks and Coding Hacks That Beginners Should Know
I will tell you the top five Python tricks and coding hacks that you should know as a beginner
5 Books and Courses to Learn Object Oriented Programming in Depth
Unleash Your OOP Skills: Top Picks for Books and Courses to Master Object Oriented Programming Principles, Design Patterns, and Best Practices
Asynchronous Tasks with FastAPI and Celery
We'll walk you through the process of setting up and configuring Celery and Redis for handling long-running processes in a FastAPI app
Pandas and Python Tips and Tricks for Data Science and Data Analysis
Take your efficiency to the next level with these Pandas and Python Tricks!
How to Use Taipy and Taipy GUI in Python Applications
A low-code and open-source package to create complete Python applications
Web Scraping with Python: A Complete Step-by-Step Guide + Code
Interested in learning web scraping with Python? We have made an extensive research - everything in our complete guide with code snippets!
Python Monorepo: an Example. Part 1: Structure and Tooling
How to build your Python monorepo from scratch: structure and tooling
A Gentle Introduction to the Python Match Statement
In this article, Iโll introduce a few foundational concepts about the feature, then describe it in more detail, and provide some practical examples of how to use it.
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
Pdm: A modern Python package and dependency manager
PDM is meant to be a next generation Python package management tool. It was originally built for personal use. If you feel you are going well with Pipenv or Poetry and don't want to introduce another package manager, just stick to it. But if you are missing something that is not present in those tools, you can probably find some goodness in pdm.
Gpt4all: gpt4all: an ecosystem of open-source chatbots trained on a massive collections of clean assistant data
Demo, data, and code to train an assistant-style large language model with ~800k GPT-3.5-Turbo Generations based on LLaMa
Girok: A powerful and beautiful CLI scheduler
A powerful terminal-based task manager which provides a multitude of scheduling operations that can be done in less than 10 seconds.
E2b: An IDE powered by AI agents
e2b or etob (english2bits) is a new kind of development environment powered by AI. The main idea is that developers have access to AI agents that can use tools. The developer writes a short documentation or a technical spec in plain English and then lets the AI agent do the actual work.
Pair: REPL environment for GPT pair programming
PAIR is an AI-powered coding assistance REPL that pairs GPT-4 with you the developer to augment the best of both human and AI intelligence.
AND FINALLY...
Make sure you read the license ๐ณ
If you have any questions or suggestions, you can contact us at carlos@pythoncheatsheet.org.