News
Start Building With FastAPI – Real Python
1+ hour, 32+ min ago (161+ words) FastAPI is a web framework for building APIs with Python. It leverages standard Python type hints to provide automatic validation, serialization, and interactive documentation. When you're deciding between Python web frameworks, FastAPI stands out for its speed, developer experience, and…...
Write Python Docstrings Effectively – Real Python
1+ week, 24+ min ago (120+ words) Writing clear, consistent docstrings in Python helps others understand your code's purpose, parameters, and outputs. In this video course, you'll learn about best practices, standard formats, and common pitfalls to avoid, ensuring your documentation is accessible to users and tools…...
TinyDB: A Lightweight JSON Database for Small Projects – Real Python
1+ week, 1+ day ago (1866+ words) TinyDB uses the familiar Python dictionary for its document structure and stores its documents in a JSON file. TinyDB is written in Python, making it easily extensible and customizable, with no external dependencies or server setup needed. Despite its small…...
What Exactly Is the Zen of Python? – Real Python
1+ week, 6+ day ago (1807+ words) The Zen of Python is a collection of 19 aphorisms that capture the guiding principles behind Python's design. You can display them anytime by running import this in a Python REPL. Tim Peters wrote them in 1999 as a joke, but they…...
Improving Your Tests With the Python Mock Object Library – Real Python
2+ week, 4+ hour ago (82+ words) By the end of this course, you'll be able to: You'll begin by learning what mocking is and how it will improve your tests! Christopher has a passion for the Python language and writes, records, and podcasts for Real Python....
pandas 3.0 Lands Breaking Changes and Other Python News for February 2026 – Real Python
2+ week, 1+ day ago (1278+ words) Time to dive into the biggest Python news from the past month! Last month brought two Python 3.15 alpha releases in quick succession, with notable JIT compiler improvements showing promising performance gains. Several PEPs also emerged, including one proposing a cleaner…...
Why You Should Attend a Python Conference – Real Python
2+ week, 6+ day ago (1713+ words) The idea of attending a Python conference can feel intimidating. You might wonder if you know enough, if you'll fit in, or if it's worth your time and money. In this guide, you'll learn about the different types of Python…...
Getting Started With Google Gemini CLI – Real Python
2+ week, 6+ day ago (202+ words) This video course will teach you how to use Gemini CLI to bring Google's AI-powered coding assistance directly into your terminal. After you authenticate with your Google account, this tool will be ready to help you analyze code, identify bugs,…...
The Terminal: First Steps and Useful Commands for Python Developers – Real Python
3+ week, 1+ day ago (1798+ words) 35m " 20 lessons The terminal provides Python developers with direct control over their operating system through text commands. Instead of clicking through menus, you type commands to navigate folders, run scripts, install packages, and manage version control. This command-line approach is faster…...
Create Callable Instances With Python's .__call__() – Real Python
4+ week, 1+ hour ago (121+ words) Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data…...