{"id":24347,"library":"pylibyear","title":"Pylibyear","description":"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.","status":"active","version":"0.4.1","language":"python","source_language":"en","source_url":"https://github.com/sam-atkins/pylibyear","tags":["dependency freshness","CLI","PyPI"],"install":[{"cmd":"pip install pylibyear","lang":"bash","label":"pip"},{"cmd":"uv tool install pylibyear","lang":"bash","label":"uvx"}],"dependencies":[{"reason":"HTTP requests to PyPI JSON API","package":"requests","optional":false},{"reason":"parsing package versions","package":"packaging","optional":false}],"imports":[{"note":"pylibyear is primarily used via CLI; programmatic import is possible but not officially documented.","wrong":"","symbol":"pylibyear","correct":"import pylibyear"}],"quickstart":{"code":"import pylibyear\n# Note: pylibyear is primarily a CLI tool. Use shell command:\n# pylibyear path/to/requirements.txt","lang":"python","description":"Basic usage via Python import (CLI is recommended)."},"warnings":[{"fix":"Generate a requirements.txt via pip freeze or use pyproject.toml.","message":"pylibyear expects a requirements.txt or pyproject.toml file; it does not analyze Pipfile or poetry.lock.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Ensure network access; no offline cache is available.","message":"The CLI requires an active internet connection to query PyPI for each dependency.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Upgrade to 0.4.1: pip install --upgrade pylibyear","message":"The --output-file option may write to a non-existent path without warning (fixed in 0.4.1). Upgrade to avoid silent failures.","severity":"deprecated","affected_versions":"<0.4.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Provide the correct path to an existing requirements.txt or pyproject.toml.","cause":"File does not exist or is not a valid requirements file.","error":"pylibyear: error: argument path: invalid value"},{"fix":"Check internet connectivity and retry.","cause":"No internet connection or PyPI is unreachable.","error":"requests.exceptions.ConnectionError: HTTPSConnectionPool"},{"fix":"Run 'pip install pylibyear' in the desired environment.","cause":"Package not installed in the current Python environment.","error":"ModuleNotFoundError: No module named 'pylibyear'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}