fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#pythonprogramming

10 posts9 participants1 post today

@hynek released another great video on uv, where he explained how he uses the just tool to store commands in a cross‑platform, portable way for everyday tasks like installing or refreshing virtual environments, running tests and code checks and even development tasks like sending requests.

youtube.com/watch?v=TiBIjouDGuI

Logs are crucial for understanding what's happening inside your application, especially in production. This article by the Dash0 team is a must-read for mastering logging in Python. It covers structured JSON logs, centralised logging config and enriching logs with contextvars and other modern observability practices.

dash0.com/guides/logging-in-py

www.dash0.comApplication Logging in Python: Recipes for Observability · Dash0Stop debugging with unstructured text Learn to build a robust Python logging system with structured JSON automatic context and full request lifecycle tracking

Many people write Python scripts to automate tasks, but without proper structure, these scripts can quickly become hard to maintain. If you're planning to write a script, check out this Real Python article by @rgoswami Your future self (and your teammates) will thank you.

realpython.com/python-script-s

realpython.comHow Can You Structure Your Python Script? – Real PythonStructure your Python script like a pro. This guide shows you how to organize your code, manage dependencies with PEP 723, and handle command-line arguments.