PyCoder - Tuples, CLI Tools, 3.12, and More

#598 – OCTOBER 10, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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.
REAL PYTHON

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.
SIMON WILLISON

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 β†’
SOURCERYsponsor

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.
BITE CODE

PSF Hiring a Part Time Django Developer
PYTHON SOFTWARE FOUNDATION

Python 3.11.6 Released
CPYTHON DEV BLOG

Flask 3.0.0 Released
PALLETSPROJECTS.COM

Django Security Releases Issued: 4.2.6, 4.1.12, and 3.2.22
DJANGO SOFTWARE FOUNDATION


Discussions


Tips for Solopreneur?
HACKER NEWS


Python Jobs


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.
ADAM JOHNSON

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: pyastgrep.
LUKE PLANT

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.
SETH LARSON

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.
EUGENE YAN

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.
KARLIS KANDERS

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.
JASON BROWNLEE

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.
DIMITRIJE STAMENIC

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.
ALEX JACOBS

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
GITHUB.COM/FINOS

shshsh: A Bridge Between Python and Shell
GITHUB.COM/ZQQQQZ2000

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
GITHUB.COM/PETERWNJENGA

πŸ“†πŸ Upcoming Python Events


PyHEP 2023
October 9 to October 13, 2023

Weekly Real Python Office Hours Q&A (Virtual)
October 11, 2023

Python Atlanta
October 12 to October 13, 2023

PyConnect Panama 2023
October 13 to October 15, 2023

Django Girls Aba
October 13 to October 14, 2023

DjangoCon US 2023
October 16 to October 21, 2023

PyCon MEA & Data Science 2023
October 16 to October 20, 2023

EduPy 2023
October 21 to October 22, 2023
Happy Pythoning!
Copyright Β© 2023 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. Β· #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Special Python 3.12 Release Edition!

Tuesday, October 3, 2023

Python 3.12: Cool New Features for You to Try #597 – OCTOBER 3, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.12: Cool New Features for You to Try In this tutorial, you'll learn about

SOLID OOP, Code Metrics, Speed Up Your Code, and More

Tuesday, September 26, 2023

Design and Guidance: Object-Oriented Programming in Python #596 – SEPTEMBER 26, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Design and Guidance: Object-Oriented Programming in Python In this

Inheritance, CPython Release Process, Folium, and More

Tuesday, September 19, 2023

Inheritance and Internals: Object-Oriented Coding in Python #595 – SEPTEMBER 19, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Inheritance and Internals: Object-Oriented Coding in Python In this

Genetic Algorithms, Beautiful QR Codes, Mr Null, and More

Tuesday, September 12, 2023

Playing With Genetic Algorithms in Python #594 – SEPTEMBER 12, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Playing With Genetic Algorithms in Python A Genetic Algorithm (GA) is an AI technique

Wordle Clone, Polar Histograms, Protocol Buffers, and More

Tuesday, September 5, 2023

Create a Python Wordle Clone With Rich #593 – SEPTEMBER 5, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Create a Python Wordle Clone With Rich In this step-by-step project, you'll build your

You Might Also Like

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The Race for AI Reasoning is Challenging our Imagination

Sunday, December 22, 2024

New reasoning models from Google and OpenAI ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

ScienceDaily/Minimalist lamp/Avocado tip

Sunday, December 22, 2024

Recomendo - issue #442 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel VS Code Extension, Laravel 11.36, Wirechat, and more! - №544

Sunday, December 22, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #438

Sunday, December 22, 2024

ISSUE #438 22nd of December 2024 Announcements klibs.io JetBrains has introduced the alpha version of klibs.io – a web service that speeds up and simplifies discovering KMP libraries that best meet

Weekend Reading — Happy "That's a January Problem" week

Saturday, December 21, 2024

Can Christmas season start a little earlier this year Tech Stuff Ramsey Nasser fuck it happened i am in a situation where i do actually need to reverse a linked list Atuin I just learned about Atuin

Daily Coding Problem: Problem #1644 [Easy]

Saturday, December 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by IBM. Given an integer, find the next permutation of it in absolute order. For example,