Issue #606

Advent of Code, Thread Pools, Jupyter AI, and More

Dec. 5, 2023

Advent of Code, Thread Pools, Jupyter AI, and More
#606 – DECEMBER 5, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Advent of Code: Solving Puzzles With Python
Advent of Code is an online advent calendar that shares new programming puzzles each day from December 1 to the 25. In this Code Conversation, you’ll learn why solving programming puzzles can be beneficial and how you can get started with Advent of Code using Python.
REAL PYTHON course

Two Kinds of Threads Pools, and Why You Need Both
This article talks about thread pools and how tuning them correctly can make a difference in the performance of your concurrent code.
ITAMAR TURNER-TRAURING

The Morning Paper for Hacker News Readers
Want a byte-sized version of Hacker News? Try TLDR’s free daily newsletter. TLDR covers the most interesting tech, startup, and coding stories in just 5 minutes. No sports, politics, or weather. Subscribe for free →
TLDRsponsor

Talking to Notebooks With Jupyter AI
Talk Python interviews David Qiu and they discuss LLM integration with Jupyter notebooks.
KENNEDY & QIU podcast

Welcoming the Supporting Developer in Residence
PYTHON.ORG

Django 5.0 Released
DJANGO SOFTWARE FOUNDATION


Discussions


Ideas: Support Multiple Divisors in divmod()
PYTHON.ORG

Long-Term Vision for a Parallel Programming Model?
PYTHON.ORG

The Realest Python 😂
TWITTER.COM/REALPYTHON


Python Jobs


Senior Python Architect and Tech Lead
SIX FEET UP 📍 ANYWHERE

Software Engineer - Intern (Summer 2024)
CAUSEWAY CAPITAL MANAGEMENT 📍 DALLAS, TX, USA

More Python Jobs >>>


Articles & Tutorials


The Python Rich Package: Unleash the Power of Console Text
Rich is a powerful library for constructing text-based user interfaces (TUIs) using Python. With it, you can make your code more readable by pretty-printing complex data structures, and you can make your app more attractive for your user with colored and formatted text, tables, animations, and more.
REAL PYTHON

Running Python Parallel Applications With Sub Interpreters
Python 3.13 is adding programmatic control over sub-interpreters in Python. They spawn faster than creating a new process, but slower than threads. Learn why and how you can use them in the next release of Python.
ANTHONY SHAW

Achieve Certified Python Excellence with Pybites! 🥇 🐍
Master Python 🐍 through our 12-week coaching program earning a Python developer certificate at the end. From foundational Python knowledge to sophisticated CI/CD pipelines, deploying your apps using IaC, all through personalized 1:1 coaching, real-world projects, and a supportive community … 🚀🔑 →
PYBITESsponsor

Understanding Linux cp and Implementing It in Python
Dive into the workings of the Linux cp command and learn how to replicate it in Python. This post breaks down the command’s process and shows you how the same could be accomplished using only Python.
MUHAMMAD RAZA

Say It Again: Values Not Expressions
Sometimes you can explain a simple thing for the thousandth time, and come away with a deeper understanding yourself. It happened to Ned the other day with Python mutable argument default values.
NED BATCHELDER

Divmod for Unit Conversions
Python’s built-in divmod() provides the quotient and remainder of two numbers. This kind of division occurs frequently when calculating unit conversions. This article shows some examples.
RODRIGO GIRÃO SERRÃO

Examples of Great URL Design
URLs are everywhere, but some sites spend more time thinking about what they mean and how visitors read them. This blog post covers some of Jim’s favorite examples of good URL designs.
JIM NIELSEN

Adding Full Text Search to Django With django-watson
Learn how to supercharge your Django app with full-text search using Django-Watson. Dive deep into Postgres magic and boost search functionality.
UDIT (MATTHEW) MITTAL)

Untyped Python: The Python That Was
This post by Armin is an opinion piece about the changes to Python over the years, particularly typing, and how that relates to other languages.
ARMIN RONACHER

CPython Internals: Understanding the Role of PyObject
Understand how objects are implemented in CPython and how CPython emulates Inheritance and Polymorphism in C using struct embedding.
ABHINAV UPADHYAY

Why You Should Not Overuse List Comprehensions in Python
List comprehensions in Python are super helpful one-liners. But if overused, they can make your code a pain to maintain. Here’s why.
BALA PRIYA C • Shared by Bala Priya C


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 →

Polars-business: Polars Business Date Arithmetic
GITHUB.COM/MARCOGORELLI • Shared by Marco Gorelli

movis: Video Editing as a Code
GITHUB.COM/REZOO

filequery: Query CSV, JSON & Parquet With SQL
GITHUB.COM/MARKYMAN4

tracemem: Memory Tracker for Python Session
GITHUB.COM/NYGGUS • Shared by Marcin

django-web-components: Reusable Template Components
GITHUB.COM/XZYA

📆🐍 Upcoming Python Events


PyData Global 2023
December 6 to December 9, 2023

Weekly Real Python Office Hours Q&A (Virtual)
December 6, 2023

Canberra Python Meetup
December 7, 2023

Sydney Python User Group (SyPy)
December 7, 2023

PyCon Thailand 2023
December 15 to December 17, 2023

FlaskCon 2023
December 16 to December 18, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.