Pylibyear
raw JSON → 0.4.1 verified Fri May 01 auth: no python
A simple CLI tool to measure software dependency freshness by calculating the time since each dependency's latest release. Version 0.4.1, requires Python >=3.11, maintained on GitHub.
pip install pylibyear Common errors
error pylibyear: error: argument path: invalid value ↓
cause File does not exist or is not a valid requirements file.
fix
Provide the correct path to an existing requirements.txt or pyproject.toml.
error requests.exceptions.ConnectionError: HTTPSConnectionPool ↓
cause No internet connection or PyPI is unreachable.
fix
Check internet connectivity and retry.
error ModuleNotFoundError: No module named 'pylibyear' ↓
cause Package not installed in the current Python environment.
fix
Run 'pip install pylibyear' in the desired environment.
Warnings
gotcha pylibyear expects a requirements.txt or pyproject.toml file; it does not analyze Pipfile or poetry.lock. ↓
fix Generate a requirements.txt via pip freeze or use pyproject.toml.
gotcha The CLI requires an active internet connection to query PyPI for each dependency. ↓
fix Ensure network access; no offline cache is available.
deprecated The --output-file option may write to a non-existent path without warning (fixed in 0.4.1). Upgrade to avoid silent failures. ↓
fix Upgrade to 0.4.1: pip install --upgrade pylibyear
Install
uv tool install pylibyear Imports
- pylibyear
import pylibyear
Quickstart
import pylibyear
# Note: pylibyear is primarily a CLI tool. Use shell command:
# pylibyear path/to/requirements.txt