Issue #670

pyproject.toml, DuckDB, Flet, and More

Feb. 25, 2025

pyproject.toml, DuckDB, Flet, and More
#670 – FEBRUARY 25, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Manage Python Projects With pyproject.toml
Learn how to manage Python projects with the pyproject.toml configuration file. In this tutorial, you’ll explore key use cases of the pyproject.toml file, including configuring your build, installing your package locally, managing dependencies, and publishing your package to PyPI.
REAL PYTHON

Mastering DuckDB When You’re Used to pandas or Polars
Why use DuckDB / SQL at all if you’re used to dataframes? This article makes the case for some reasons why, and shows how to perform some operations which in dataframe are basic but in SQL aren’t necessarily obvious
MARCO GORELLI • Shared by Marco Gorelli

Lighter, Faster Object Segmentation with Intel AI, Powered by OpenVINO
Meet EfficientSAM—a high-performance version of SAM, designed for greater efficiency. Optimized to run locally and open source, it’s built so you can see a needle in a haystack. Get the code on GitHub.
INTEL CORPORATIONsponsor

Update on Flet: Python + Flutter UIs
Talk Python interviews Feodor Fitsner and they talk about Flet, a Python UI framework that is distributed and executed on the Flutter framework.
KENNEDY & FITSNER podcast

Django 5.2 Beta 1 Released
DJANGO SOFTWARE FOUNDATION

Quiz: Python Keywords: An Introduction
REAL PYTHON


Discussions


Fiction/Non-Fiction Books on the Topic of CS?
HACKER NEWS

Can I Really Create a Company Around Open-Source Software?
HACKER NEWS


Articles & Tutorials


Telling Effective Stories With Your Python Visualizations
How do you make compelling visualizations that best convey the story of your data? What methods can you employ within popular Python tools to improve your plots and graphs? This week on the show, Matt Harrison returns to discuss his new book “Effective Visualization: Exploiting Matplotlib & Pandas.”
REAL PYTHON podcast

Concatenating Strings in Python Efficiently
In this video course, you’ll learn how to concatenate strings in Python. You’ll use different tools and techniques for string concatenation, including the concatenation operators and the .join() method. You’ll also explore other tools that can also be handy for string concatenation in Python.
REAL PYTHON course

Postman AI Agent Builder Is Here: The Quickest Way to Build AI Agents. Start Building
Postman AI Agent Builder is a suite of solutions that accelerates agent development. With centralized access to the latest LLMs and APIs from over 18,000 companies, plus no-code workflows, you can quickly connect critical tools and build multi-step agents — all without writing a single line of code →
POSTMANsponsor

Building a Python Command-Line To-Do App With Typer
In this step-by-step video course, you’ll create a to-do application for your command line using Python and Typer. While you build this app, you’ll learn the basics of Typer, a modern and versatile library for building command-line interfaces (CLI).
REAL PYTHON course

Adding OpenTelemetry to Django
“OpenTelemetry is an open source, vendor-neutral way to add monitoring features to your application.” This post shows you how to set it up and track lots of things in your Django project.
JESSICA GARSON

Implicit Casting in Dataframe Concatenation
This quick TIL article covers how to do non-strict, vertical concatenation of DataFrames in Polars with the parameter how='vertical'.
RODRIGO GIRÃO SERRÃO

Ugly Code and Dumb Things
An opinion piece by Armin Ronacher that posits: why ugly and dumb code sometimes blinds engineers from the ingenuity behind it.
ARMIN RONACHER

Smoke Testing vs. Sanity Testing
Learn the key differences between smoke testing vs sanity testing, their purposes, processes, and when to use them.
ANTONELLO ZANINI

FastAPI Deconstructed: Anatomy of an ASGI Framework
This article, based on a PyCon APAC talk, covers just what FastAPI does under the hood.
RAFIQUL HASAN

Benchmarking Utility for Python
Eli attempts to mimic Go’s built-in bench marking capabilities in Python.
ELI BENDERSKY


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 →

taichi: Portable, Performant GPU Programming in Python
GITHUB.COM/TAICHI-DEV

preswald: Full-Stack Platform for Interactive Data Apps
GITHUB.COM/STRUCTUREDLABS

python-semantic-release: Automating Releases Versions
GITHUB.COM/PYTHON-SEMANTIC-RELEASE

when: Convert Timezones by City, IANA, or TZ Alias
GITHUB.COM/DAKRAUTH • Shared by David Krauth

kreuzberg: Text Extraction for PDFs, Images, Office and More
GITHUB.COM/GOLDZIHER

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
February 26, 2025

Python Weekend Abuja
February 27, 2025

SPb Python Drinkup
February 27, 2025

PyCon APAC 2025
March 1 to March 3, 2025

Python Weekend Abuja
March 1, 2025
Happy Pythoning!
Copyright © 2025 PyCoder’s Weekly, All rights reserved.