Python Requirement Updater

•
439
•

Automates Python dependency updates in requirements.in files while intelligently preserving version specifier patterns and wildcards.

This skill streamlines Python project maintenance by automatically updating requirements.in files with the latest package versions from PyPI. Unlike standard update tools that may overwrite custom pinning logic, this skill detects and respects existing version patterns (such as '==1.2.*' or '==4.*'), querying the PyPI API to find the newest compatible releases. It efficiently handles complex requirement files by skipping git dependencies and comments, provides a visual diff for user confirmation, and integrates seamlessly with modern tools like uv for lockfile recompilation, ensuring your environment stays secure and up-to-date without breaking versioning constraints.

Key Features

01Intelligent pattern detection for wildcard versions (e.g., 1.2.*)
02439 GitHub stars
03Interactive diff preview showing current vs. latest versions
04Supports uv and pip-compile workflow integration
05Automated filtering of git dependencies and inline comments
06Live PyPI API integration for real-time version verification

Use Cases

01Automating security patch updates while keeping specific version patterns
02Maintaining legacy Python projects with strict minor-version constraints
03Batch updating microservice dependencies across multiple repositories