| | Building HTTP APIs With Django REST Framework This course will get you ready to build HTTP APIs with Django REST Framework. The Django REST framework (DRF) is a toolkit built on top of the Django web framework that reduces the amount of code you need to write to create REST interfaces. REAL PYTHON video
Python: Create Temporary Files and Directories in Unittest Sometimes, tests need temporary files or directories. You can do this in Python’s unittest with the standard library tempfile module. This post looks at some recipes to do so within individual tests and setUp() . ADAM JOHNSON
Finally — Pandas Practice That Isn’t Boring You won’t get fluent with Pandas doing boring, irrelevant, toy exercises. Bamboo Weekly poses questions about current events, using real-world data sets—and offers clear, comprehensive solutions in downloadable Jupyter notebooks. Challenge yourself, and level up your Pandas skills every Wednesday → BAMBOO WEEKLYsponsor
The Inner Workings of Python Dataclasses Explained Discover how Python dataclasses work internally! Learn how to use __annotations__ and exec() to make our own dataclass decorator! JACOB PADILLA
DjangoCon US 2025 (Chicago, Sept 8-12) Announced DEFNA.ORG
Articles & Tutorials Database Optimization Isn’t Always Obvious “One of the issues of working with abstractions is that what you think may be logically true, isn’t.” Ken came across an article recently with advice specific to a Django ORM call, but the ORM is itself an abstraction over SQL, an abstraction. Global statements on performance are tricky. KEN WHITESELL
Learn From 2024’s Most Popular Python Tutorials and Courses Revisit your favorite Real Python tutorials and courses from 2024. You can explore various topics, from mastering Python basics to creating innovative projects and optimizing your workflow. It’s been an exciting year of learning, and there’s something for everyone to build upon in 2025. REAL PYTHON
DuckDB and Python: Ducks and Snakes Living Together Talk Python to Me interviews Alex Monahan who works on documentation, tutorials, and training at DuckDB Labs. They discuss the surge in popularity of DuckDB amongst Python programmers and details of how the database works. KENNEDY & MONAHAN podcast
Cowboy Debugging Python Memory Leaks The objgraph library allows you to capture a birds-eye view of your memory usage. In production it can be combined with a signal to report out. This article teaches you how to use it to help find leaks. RAPHAEL GASCHIGNARD
Concurrency: Threads, Processes, and asyncio Explained A practical guide to Python concurrency using a Fibonacci server to demonstrate the strengths and limitations of threads, processes, and asyncio. Learn when to use each approach through hands-on examples NEWVICK LEE • Shared by Newvick Lee
Effective Python Developer Tooling in December 2024 This post talks about how tooling doesn’t solve all your problems when you code, especially with a team. It outlines some principles to implement, and bad practices to avoid when writing Python. TIM HOPPER
Getting Started Contributing to Django The contributor guide for Django is a hefty beast, but if you think you might want to write help fix bugs or submit a feature, this post has some pointers on how to get started. TIM SCHILLING
Better Python Developer Productivity With RDD REPL Driven Development is an interactive development experience with fast feedback loops. David writes up how his use of IPython has made a difference when he codes. DAVID VUJIC • Shared by David Vujic
Mistakes Engineers Make in Large Established Codebases This is a “lessons learned” article from someone who has spent a lot of time in multi-million lines-of-code environments. SEAN GOEDECKE
Python PEPs Graph An interactive representation of all Python Enhancement Proposals and which other PEPs each references. PYTHON-PEPS-GRAPH.GLITCH.ME
State of the Art Python in 2024 This opinion piece shows which Python tools Anders thinks should be used when developing in Python. ANDERS SUNDMAN
Project Quarantine In the ongoing battle to protect us from malicious packages, the folks at PyPI have added a new feature with the ability to quarantine a package. This post from PyPI’s security engineer talks about how this works. MIKE FIEDLER
Projects & Code Brought to you by Real Python for Teamssponsor Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed → fastcrud: Async CRUD Operations for FastAPI GITHUB.COM/IGORBENAV
FindMy.py: Query Apple’s FindMy Network! GITHUB.COM/MALMELOO
fastapi-injectable: FastAPI Depends() Outside Routes GITHUB.COM/JASPERSUI • Shared by Jasper Sui
klp: Lightweight CLI Viewer for Log Files GITHUB.COM/DLOSS
BlackSheep: Fast ASGI Web Framework for Python GITHUB.COM/NEOTEROI
| | | | | |
|