| Boost Your Coding Productivity With Ptpython |
Learn how to enhance your Python development workflow with auto-completion, syntax highlighting, history navigation, and more. In this tutorial, you’ll walk through the fundamentals of ptpython, covering installation, basic usage, and advanced features.
The Ruff Formatter: Python’s Fastest Formatter
You may have come across
ruff the linter which has been on the scene for about a year, well it recently added formatting to its features. This article shows you how, including the configuration option to allow single-quote-style.
The Morning Paper for Hacker News Readers
Want a byte-sized version of Hacker News that takes a few minutes to read? Try TLDR’s free daily newsletter. TLDR covers the most interesting tech, startup, and coding stories. No sports, politics, or weather. Read by 1,250,000 software engineers, founders, and tech workers. Subscribe for free →
What Are Lambda Expressions?
This post teaches you what lambda expressions are and how they get used in Python. It shows several examples and also covers when to avoid them.
PyCon US 2024 Call for Proposals
Django 5.0 Beta 1 Released
DJANGO SOFTWARE FOUNDATION
PEP 703 (Making the GIL Optional in CPython) Acceptance
Articles & Tutorials
Efficient String Concatenation in Python
In this tutorial, you’ll learn how to concatenate strings in Python. You’ll use different tools and techniques for string concatenation, including the concatenation operators and the
.join() method. You’ll also explore other tools that can also be handy for string concatenation in Python.
From Chaos to Cohesion: Architecting Your Own Monorepo
A monorepo approach means keeping the code from all your projects in one place. It requires changing your tooling approach, but means better dependency management. This article shows you how to build a simple python monorepo using GitHub Actions as a CI/CD tool.
ANGEL REY AND HANNA JODREY • Shared by JDC
Innovate Faster With Ready-Made Edge AI Reference Kits
Build AI solutions that run efficiently at the edge. Raise throughput, lower latency, and speed up AI inference with the OpenVINO toolkit and our Edge AI Reference Kits.
PEP 727: Documentation in Annotated Metadata
There is no standard for providing doc strings for parameters, return values, variables, or type aliases. Tools like Sphinx and numpydoc have their own mechanisms. This PEP proposes adding
typing.Doc as part of the
Annotated type syntax.
Higher Order Functions in Python
Higher-order functions in Python take functions as arguments, or return them as results, making code more readable and reusable. This brief article shows you the concept and highlights examples in the standard library.
Deploying Conda-Based Docker Images
Conda is a popular package manager for science, data science, and machine learning, however, using it to install packages can lead to large Docker images. Here are some steps to get it back down to a reasonable size.
DILLON NIEDERHUT • Shared by Dillon Niederhut
Build a Blog From Scratch With Django
In this Django beginner project, you’ll build a blog from scratch with the Django web framework. You’ll leverage the Django admin site and explore how to work with forms so your visitors can comment on your posts.
Why Python Is Better Than C++ for Algotrading
Even in high speed trading, time to market can be more important than the performance of the code. This blog post from a trading systems programmer outlines why he prefers Python to write his code.
Python Is a Compiled Language
Python is interpreted, but it interprets compiled code. This distinction can be confusing to students and this instructor does a deep dive on where the line between the concepts sit.
When Should You Upgrade to Python 3.12?
Python 3.12 has been released—when should you switch to using it?
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 →
riffusion: Stable Diffusion for Real-Time Music Generation
video-retalking: Lip Synch-ing for Talking Head Video Editing
pypipe: Python Pipe Command Line Tool
ExecuTorch: Run PyTorch Programs on Mobile