🔄 Worth Revisiting
Build Professional Python Packages with UV –package
Problem
Python packages turn your code into reusable modules you can share across projects.
But building them requires complex setup with setuptools, managing build systems, and understanding distribution mechanics.
Solution
UV, a fast Python package installer and resolver, reduces the entire process to 2 simple commands:
- uv init –package sets up your package structure instantly
- uv build and uv publish to create and distribute to PyPI
Generate Time-Sortable IDs with Python 3.14’s UUID v7
Problem
UUID4 generates purely random identifiers that lack chronological ordering.
Without embedded timestamps, you need separate timestamp fields and custom sorting logic to organize records by creation time.
Solution
Python 3.14 introduces UUID version 7 with built-in timestamp ordering.
Key features:
- Determine creation order by comparing two UUIDs directly
- Retrieve exact creation time by extracting the embedded timestamp
☕️ Weekly Finds
smolagents [LLM] – A barebones library for agents that think in code
rembg [ML] – A tool to remove images background
Scrapegraph-ai [LLM] – Python scraper based on AI
Looking for a specific tool? Explore 70+ Python tools →
📚 Latest Deep Dives
Visualize Machine Learning Results with Yellowbrick – Learn to visualize ML model performance with Yellowbrick. Create confusion matrices, ROC curves, and feature importance plots in scikit-learn pipelines.
Stay Current with CodeCut
Actionable Python tips, curated for busy data pros. Skim in under 2 minutes, three times a week.


