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

Scoop: Tiger Global-backed Innovaccer in talks to raise $250M

Wednesday, May 1, 2024

Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2

Wednesday, May 1, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon

Arc for Windows is better than Chrome

Wednesday, May 1, 2024

Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better

Is TikTok trying to get banned from the App Store early?

Wednesday, May 1, 2024

TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and

Get Compliant in 2024 - Download Ultimate PAM Policy Template Today

Wednesday, May 1, 2024

Privileged Access Management Policy Template What are your PAM policies for 2024? Get ready for the New Year Is your approach to Privileged Access Management as current and effective as it could be? In