| Python’s |
tuple Data Type: A Deep Dive With Examples
In Python, a tuple is a built-in data type that allows you to create immutable sequences of values. The values or items in a tuple can be of any type. This makes tuples pretty useful in those situations where you need to store heterogeneous data, like that in a database record, for example.
Things I’ve Learned About Building CLI Tools in Python
In this blog post, Simon covers many of the things he has learned over the years when writing command-line tools in Python. He talks about the different kinds of command line arguments and tools that will help you process them.
See How Sourcery Can Be Your Pair Programmer - Anytime, Anywhere
Sourcery is your AI-powered pair programmer - helping you with everything from understanding a new project you’ve just started working on, to creating automated code reviews, to writing tests and docstrings and more. Start your free trial today →
Python 3.12: What Didn’t Make the Headlines
There has been plenty of coverage about the changes in Python 3.12, this article tries to show what fell through the cracks. It talks about performance,
pathlib improvements, and a few other changes.
PSF Hiring a Part Time Django Developer
PYTHON SOFTWARE FOUNDATION
Python 3.11.6 Released
CPYTHON DEV BLOG
Flask 3.0.0 Released
Django Security Releases Issued: 4.2.6, 4.1.12, and 3.2.22
DJANGO SOFTWARE FOUNDATION
Tips for Solopreneur?
Senior Full Stack Developer
MAAX.AI 📍 VANCOUVER, BC, CANADA
More Python Jobs >>>
Articles & Tutorials
Type Hints: Passing
Any for Unused Test Parameters
When you create a function to match an interface, it often needs to accept parameters that it doesn’t use. Once you introduce type hints, testing such functions can become a little irksome as Mypy requires all arguments to have the correct types. This article covers a technique to avoid that work.
Python Basics: Reading and Writing Files
In this video course, you’ll learn how to move data back and forth between your Python programs and external software by reading and writing files. You’ll practice reading and writing data stored in the CSV file format, one of the most widely supported file formats for transferring tabular data.
REAL PYTHON course
Python Type Hints:
pyastgrep Case Study
Previously, Luke wrote an article about what was involved in adding Type Hints to
parsy. This follow-on article tackles the effort on a project with different challenges:
Python 3.12.0 From a Supply Chain Security Perspective
Seth is the Security Developer-in-Residence at the Python Software Foundation and this article is part of his on-going effort to document and improve the release process and tools. Associated HN discussion.
Hallucination Detection for Abstractive Summaries
Abstractive summary is an AI task that rephrases and condenses text content into a summary. This article is a deep dive into how to ensure correctness and the math involved in ensuring fluency, coherence, relevance, and consistency.
Data-Driven News Discourse Analysis With Python
This tutorial shows you how to do discourse analysis on news using Python through The Guardian’s API. You’ll see how to access content across years and perform topic analysis with sentence embedding.
5 Ways to Measure Execution Time in Python
There are several ways to measure the passing of time in Python, especially when determining the performance of your code. Read on to learn five functions from the
time module and how to use them.
Python-Specific Design Patterns
This is a third article in a series on design patterns in Python, with this one talking about a variation on singletons, a pattern that uses dynamic function binding, and sentinels.
Mastering Integration Testing With FastAPI
This article shows you how to use MongoMock and MockS3 to power your integration tests on a FastAPI based project.
Using GeoDjango and PostGIS in Django
This article shows how to use GeoDjango and PostGIS to work with geospatial data in Postgres.
ADEYINKA ADEGBENRO • Shared by Manuel Weiss
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 →
perspective: Visualization Component for Large Datasets
shshsh: A Bridge Between Python and Shell
CardStock: Cross-Platform GUI Building Tool
GITHUB.COM/BENJIE-GIT • Shared by Mike McLeod
reverse_argparse: Tell the User What They Ran
GITHUB.COM/SANDIALABS • Shared by Jason M. Gates
leaptable: Manage LLM-powered Agents on Tabular Data