{"id":21672,"library":"outdated","title":"outdated","description":"A Python library to check if a version of a PyPI package is outdated. Current version: 0.2.2. Release cadence: infrequent, last updated in 2020.","status":"active","version":"0.2.2","language":"python","source_language":"en","source_url":"http://github.com/alexmojaki/outdated","tags":["version-check","pypi","outdated"],"install":[{"cmd":"pip install outdated","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Main function to check if a package version is outdated.","symbol":"check_outdated","correct":"from outdated import check_outdated"}],"quickstart":{"code":"from outdated import check_outdated\n\npackage = 'outdated'\ncurrent_version = '0.2.2'\nis_outdated, latest_version = check_outdated(package, current_version)\nif is_outdated:\n    print(f\"Package {package} is outdated. Latest version: {latest_version}\")\nelse:\n    print(f\"Package {package} is up to date.\")","lang":"python","description":"Check if a specific version of a package is outdated."},"warnings":[{"fix":"Handle exceptions gracefully, e.g., using try/except.","message":"The function check_outdated makes a network request to PyPI. Ensure internet connectivity; otherwise, it may raise a ConnectionError.","severity":"gotcha","affected_versions":"all"},{"fix":"Use a valid PEP 440 version string.","message":"The check is based on the local version string you provide. If you provide a malformed version (e.g., '0.2.2a'), it may not parse correctly.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.2.2':18 '2020':25 'cadenc':20 'check':6,28 'current':16 'infrequ':21 'last':22 'librari':4 'outdat':1,15,30 'packag':13 'pypi':12,29 'python':3 'releas':19 'updat':23 'version':9,17,27 'version-check':26","created_at":"2026-04-27T17:01:08.260574+00:00","updated_at":"2026-04-27T17:01:08.260574+00:00","problems":[{"fix":"Run 'pip install outdated'.","cause":"The package is not installed.","error":"ModuleNotFoundError: No module named 'outdated'"},{"fix":"Ensure you have version 0.2.0 or later and use 'from outdated import check_outdated'.","cause":"Incorrect import or outdated library version.","error":"AttributeError: module 'outdated' has no attribute 'check_outdated'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.2.2","cli_name":"outdated","cli_version":"sh: 1: outdated: not found","type":"library","homepage":null,"github":"http://github.com/alexmojaki/outdated","docs":null,"changelog":null,"pypi":"https://pypi.org/project/outdated/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-28","install_tag":null}}