TIL: Dependency groups and uv run
Using PEP 735 dependency groups with uv run to simplify Python project setup and testing, plus automating redirects for a TIL site.
Using PEP 735 dependency groups with uv run to simplify Python project setup and testing, plus automating redirects for a TIL site.
Release notes for sqlite-utils 3.39, featuring bug fixes for plugin installation with uv and new functionality for custom SQL functions.
Announcing sqlite-utils 4.0a1, a Python library and CLI for SQLite, detailing minor backwards incompatible changes before the stable release.
How to set default code block languages in Mkdocs for automatic Python syntax highlighting in documentation.
New release of the llm-gemini plugin adds support for nested Pydantic schemas, YouTube URL attachments, and the latest Gemini 3 Pro model.
A guide to parakeet-mlx, a project porting NVIDIA's Parakeet ASR model to Apple's MLX framework for fast, local audio transcription.
Security advisory for Datasette open redirect vulnerability fixed in versions 0.65.2 and 1.0a21, including additional features.
A guide to replacing tox/nox with uv and Just for testing Python projects against multiple Python versions, simplifying configuration.
Learn to build personal data dashboards using Python Shiny, demonstrated through a classical guitar practice tracking example.
A guide on using the pyinstrument profiler to identify and analyze performance bottlenecks in Air applications built with FastAPI.
Learn how to use 'uv run --env-file' to load environment variables from .env files, replacing the need for python-dotenv.
Discover an undocumented trick to get xkcd comics at double resolution using a simple URL modification and a Python script to check availability.
A guide on using the pytest-env package to set environment variables for pytest tests in pyproject.toml, avoiding direct os.environ modification.
A cleaner method for managing Python package version numbers using uv and importlib.metadata, avoiding manual updates.
A guide on using Python, AI, and LLMs like LangGraph to detect code vulnerabilities, including workflow design and cost considerations.
A developer builds a personal AI workflow using LangGraph, focusing on integrating human-in-the-loop processes.
Explains how to use Python's typing.Unpack and TypedDict for stricter type annotations of **kwargs.
Explains how to correctly type *args and **kwargs in Python to pass type checkers, avoiding common mistakes.
How to use uv to manage a single source for your Python package version, eliminating the need to update it in multiple files.
A developer's journey using LangGraph to add memory and state management to a chatbot, enabling it to remember user details like names and birthdays.