--- id: outdated version: "0.2.2" license: MIT license_treatment: permissive maintenance: abandoned --- # outdated — Check if a version of a PyPI package is outdated License: permissive · Maintenance: abandoned · Downloads: 160.7K/mo ## What it is and what it does Outdated is a lightweight library that checks whether a given version of a PyPI package is the latest available. It queries PyPI's JSON API, caches results on disk for 24 hours to avoid repeated requests, and can optionally run the check in a background thread to avoid blocking. The main entry point is `warn_if_outdated()`, which emits a warning if the version is outdated; a lower-level `check_outdated()` function returns a boolean and the latest version string for programmatic use. The library depends on setuptools, littleutils, and requests. The package is designed for library authors to embed version-check warnings in their own packages. It retries failed HTTP calls up to 3 times and allows configuration via environment variables to suppress warnings or raise exceptions instead. Because the package is abandoned (last release October 2022, last commit July 2023), it will not receive updates for PyPI API changes or Python compatibility issues. Use it for: - Embed a version check in a library's startup to warn users when they are running an outdated release. - Build a CI/CD step that programmatically detects whether the current package version is behind the latest PyPI release. - Monitor installed packages in a long-running application without blocking execution by using background thread mode. - Query a private or alternative PyPI repository by passing a custom repository_url format string. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Checks whether a given version of a PyPI package is outdated by querying PyPI, with results cached for 24 hours and optional background execution. Yes, if you need a simple, low-friction way to check package versions and can tolerate the abandoned status. The library is stable and has no known vulnerabilities, but you should not expect updates if PyPI's API changes or if you encounter bugs. Best suited for embedding in library startup code or one-off version checks; for production monitoring of many packages, consider an actively maintained alternative. ## Install pip install outdated uv add outdated poetry add outdated ## Installing outdated Before you install: Low install friction with three lightweight runtime dependencies. However, the package is abandoned—last release was 2022-10-29 and last commit 2023-07-10—so it will not receive updates or bug fixes. License in practice: MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects. Quickstart: pip install outdated from outdated import warn_if_outdated warn_if_outdated('my-package-name', '1.2.3') The package name argument must exactly match the PyPI package name (e.g., 'my-package-name' not 'my_package_name'); library authors must ensure the version passed matches the version in setup.py. Verify before relying: - Whether the PyPI JSON API endpoint used by the package remains stable and accessible. - Compatibility with modern Python versions beyond 3.9, given the package is abandoned. - Whether the 24-hour disk cache location is configurable or suitable for all deployment environments. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 160.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags check pypi package version, is package outdated, pypi version checker, warn if package needs update, package version comparison, latest version on pypi, outdated package detection, version-checking, pypi-integration [View on SkillFed](https://skillfed.io/packages/outdated) · [View on PyPI](https://pypi.org/project/outdated/)