| | Rye: A [Python Developer Experience] Vision Continued Armin, who’s also the creator of Flask, discusses the continued development of Rye, a tool he created to improve the Python packaging and project management experience. Rye aims to be a “one-stop shop” for tasks like downloading Python versions, creating virtual environments, managing dependencies, linting and formatting. ARMIN RONACHER
Starting Points for Contributing to Open Source With Python What’s it like to sit down for your first developer sprint at a conference? How do you find an appropriate issue to work on as a new open-source contributor? This week on the show, author and software engineer Stefanie Molin is here to discuss starting to contribute to open-source projects. REAL PYTHON podcast
Data Science Workflows: Machine Learning Models with Python & Posit Connect Via an end-to-end example, learn how data science organizations use Posit Connect as a platform for hosting internal machine learning models. This will give you a robust pattern for hosting and sharing models on Connect before you deploy them to a customer-facing system → POSITsponsor
Boring Python: Dependency Management How to set up dependency management for Python projects in a “boring” way, meaning using standard, well-established tools to minimize surprises. It recommends using pip, virtualenv, and pip-tools to define dependencies, isolate environments, and track the full dependency tree. JAMES BENNETT
Django Admin and Service Layer If you need to perform operations on multiple Django objects, you might create service layer functions. The problem with this is the Django Admin is linked to the objects themselves. This post covers how to add custom calls to the Admin to invoke service layer functions. ROMAN IMANKULOV
Python’s Format Mini-Language for Tidy Strings In this tutorial, you’ll learn about Python’s format mini-language. See how to use it for creating working format specifiers and build nicely formatted strings and messages in your code. REAL PYTHON
Python as a Configuration Language “Conf is not a solved problem. While TOML, YAML, and JSON are popular choices…” the author often roles his own Python using Django-like modelling concepts. Read about how they do it. BITE CODE
Python News: What’s New From January 2024 In January 2024, Python 3.13.0a3 was released. A new JIT compiler was added to Python 3.13. The Python Software Foundation announced new developers in residence, and the Python ecosystem released new versions of projects, such as Django and pandas. REAL PYTHON
Discussions How to Deal With Constant Interruptions at Work? HACKER NEWS
What Python Automation Scripts Do You Reuse Frequently? HACKER NEWS
Articles & Tutorials Python Debugging Handbook “Programming is an art, and bugs are an inevitable part of the creative process. Every developer encounters errors in their code – there’s really no exception to it. Because of this, understanding how to effectively debug is a crucial skill that can save you time and frustration.” SAMYAK JAIN
Handling Unset Values in FastAPI With Pydantic When using the HTTP PATCH method only those fields that got changed are updated. Pydantic sets fields not given as arguments as None so there is no way to distinguish between an explicit None value and an unset field. This post explains how you process this scenario. ROMAN IMANKULOV
The Morning Paper for Hacker News Readers Want a byte-sized version of Hacker News? Try TLDR’s free daily newsletter. TLDR covers the most interesting tech, science, and coding news in just 5 minutes. No sports, politics, or weather. Subscribe for free! TLDRsponsor
Building Enumerations With Python’s enum Discover the art of creating and using enumerations of logically connected constants in Python. To accomplish this, you’ll explore the Enum class and other associated tools and types from the enum module in the Python standard library. REAL PYTHON course
What Are Python Raw Strings? In this tutorial, you’ll learn the nuances of using raw string literals in your Python source code. Raw strings offer convenient syntax for including backslash characters in string literals without the complexity of escape sequences. REAL PYTHON
Microdot: Yet Another Python Web Framework Miguel is the maintainer of Microdot, a web framework for Python. This post covers why he wrote another Python web framework and what distinguishes Microdot from the crowd. MIGUEL GRINBERG
Real Life Use of Decorators Part 3 in a series on how Python decorators are used. This part covers real-life use cases including call interception, function registration, and behavioral enrichment. BITE CODE
Add Vue to Your Django Templates With Vite You don’t have to build a separate app to use Vue with Django. This article talks about the Vite tool and how you can integrate Vue.js directly into your templates. ALICE
The Python Rust-Aissance Companies like Polars are showing how with Rust, Python developers now have a better, smoother path towards building high-performance libraries. SLATER STICH
Mutating the Immutable Tuple (Sort Of) “Tuples are immutable, but their contents can change. Eh?! Let me tell you the story of my neighbours moving house, and all will make sense.” STEPHEN GRUPETTA • Shared by Stephen Gruppetta
map() vs List Comprehensions This tutorial covers the difference between Python’s map() and using list comprehensions, with examples on how to use both. SOUMYA AGARWAL
Django, SQLite, and the Database Is Locked Error This post explains “database is locked” errors in Django when using SQLite, and how to solve them. ANZE
Using Python & Poetry Inside Docker ASHISH BHATIA
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 → apple-ocr: Apple Vision Wrapper for Text Extraction and Clustering PYPI.ORG
RustPython: OSS CPython Written in Rust RUSTPYTHON.GITHUB.IO
granian: Rust HTTP Server for Python Applications GITHUB.COM/EMMETT-FRAMEWORK
django-webhook: Outgoing Webhooks Triggered on Model Changes GITHUB.COM/DANIHODOVIC
Applio: Ultimate Voice Cloning Tool GITHUB.COM/IAHISPANO
wafer: Web Application Firewall Fuzzing Tool GITHUB.COM/SYSDIG
django-mock-queries: Mock Django Queryset Functions for Testing GITHUB.COM/STPHIVOS
typed_configparser: Fully Typed INI/Config File Parser GITHUB.COM/AJATKJ
tuttut: Converts a Midi File to ASCII Guitar Tabs GITHUB.COM/NATECDR
| | | | | |