Issue #599 (Oct. 17, 2023)

#599 – OCTOBER 17, 2023

How to Sort Unicode Strings Alphabetically in Python

In this tutorial, you’ll learn how to correctly sort Unicode strings in Python while avoiding common pitfalls. You’ll explore powerful third-party libraries implementing the complete Unicode Collation Algorithm (UCA), as well as standard library modules and a few handmade solutions.
REAL PYTHON

6 Cool Things You Can Do With the functools Module

The functools module in the standard library has all sorts of useful bits and pieces. This article talks about six of them: caching, writing fewer dunder methods, freeze functions, generic functions, better decorators, and reduce().
BOB BELDERBOS

Automate LLM Backend Deployments Using Infrastructure as Code

New GitHub project to provision, update, and destroy the cloud infrastructure for a LLM backend using infrastructure as code (Python). Deployment options include deploying Hugging Face models to Docker (local), Runpod, and Azure →
PULUMI sponsor

Accepting Payments With Stripe, Vue.js, and Flask

If you’re building a site to make money, at some point you have to collect money. This tutorial shows you how to build a Flask application that integrates with Stripe for payment processing through the Vue.js framework.
MICHAEL HERMAN

Python Wins the NEC C&C Foundation Award

NEC.COM

Discussions

Best Practices for Performance in Django?

DJANGO SOFTWARE FOUNDATION

Python Jobs

Senior Full Stack Developer (Vancouver, BC, Canada)

Maax.ai

More Python Jobs >>>

Articles & Tutorials

Using Python’s min() and max()

In this video course, you’ll learn how to use Python’s built-in min() and max() functions to find the smallest and largest values. You’ll also learn how to modify their standard behavior by providing a suitable key function. Finally, you’ll code a few practical examples of using min() and max().
REAL PYTHON course

Django Things You Want With HTMX

HTMX is allowing more dynamic pages to be built with less JavaScript than before. This blog post talks about three techniques you can use to improve your HTMX pages when working with Django: HTTP 303 redirections, the django-htmx library, and using the hx-trigger header.
BITE CODE

When I Met Guido Van Rossum

This personal blog post by Adarsh recounts his conversations with Guido at PyCasades back in the spring. They talked about the how to get better at Python and what it takes to become a core developer.
ADARSH DIVAKARAN

The Future of Data Science Told by 79,306 People

Data science is thought of as a growing field, but can you prove it? By using the results of both the 2021 and 2022 Python Developers survey, this article shows how the field is growing and changing.
MAHA TAQI

Building a RisingWave Connector for Django ORM

This articles shows the internals of the Django ORM. We build a prototype for a connector to the RisingWave event streaming database and enable dashboarding capabilities in Django
BAS • Shared by Bas

Configure Your MicroPython Project With JSON Files

Learn how to get your microcontroller to remember your settings, so you can quickly get it back in working state even if it loses power or reboots!
BHAVESH KAKWANI

Python Variables: Namespaces and Variable Scope

This post is a comprehensive guide on namespaces and variable scope. Learn about the four different name spaces and how to access each.
MUHAMMAD RAZA

Autodiff Puzzles

“This notebook contains a series of self-contained puzzles for learning about derivatives in tensor libraries.”
SASHA RUSH

PyTimeTK Basics

An introduction to the pytimetk library and how you can use it to handle time series analysis.
BUSINESS-SCIENCE.GITHUB.IO

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.
INTEL CORPORATION sponsor

Python’s yield and Generators Explained

Learn about yield and how generators can make your code more performant.
ERIK O’SHAUGHNESSY • Shared by Bob

Python Score

A quick little web site to evaluate your Python basic syntax knowledge
JPGLOMOT.COM • Shared by Jean-Philippe Glomot

Projects & Code

build123d: A Python CAD Programming Library

GITHUB.COM/GUMYR

humanhash: Human-Readable Digests

GITHUB.COM/ZACHARYVOASE

logmerger: TUI for Log Files With Merged Timeline

GITHUB.COM/PTMCG

pipeless-ai: Open-Source Computer Vision Framework

GITHUB.COM/PIPELESS-AI • Shared by Miguel Angel Cabrera

magentic: Seamlessly Integrate LLMs as Python Functions

GITHUB.COM/JACKMPCOLLINS

Events

Weekly Real Python Office Hours Q&A (Virtual)

October 18, 2023
REALPYTHON.COM

PyData Bristol Meetup

October 19, 2023
MEETUP.COM

PyLadies Dublin

October 19, 2023
PYLADIES.COM

Chattanooga Python User Group

October 20 to October 21, 2023
MEETUP.COM

EduPy 2023

October 21 to October 22, 2023
SLEC.NET

PyDay Cali 2023

October 21 to October 22, 2023
PYDAY.CO

PackagingCon 2023

October 26 to October 29, 2023
PACKAGING-CON.ORG

PyCon APAC 2023

October 27 to October 29, 2023
PYCON.JP

Happy Pythoning!
This was PyCoder’s Weekly Issue #599.
View in Browser »

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Source:: PyCoder’s