--- id: pypi-json version: "0.5.0.post1" license: MIT license_treatment: permissive maintenance: active --- # pypi-json — PyPI JSON API client library License: permissive · Maintenance: active · Downloads: 180.2K/mo ## What it is and what it does pypi-json is a Python client library that wraps PyPI's JSON API, allowing you to programmatically fetch package metadata, version history, dependencies, and other warehouse information without parsing HTML or managing HTTP requests directly. It depends on requests for HTTP calls, packaging for version handling, and apeye for URL management. The library is typed, actively maintained, and supports Python 3.7 through 3.13 on both CPython and PyPy. It's useful when you need to integrate PyPI lookups into automation, build tools, or analysis scripts—anywhere you'd otherwise call the raw JSON API endpoints yourself. Use it for: - Fetch package metadata and release history for dependency analysis or auditing tools. - Build automation scripts that check PyPI for package updates or new versions. - Analyze package dependencies and their transitive closure programmatically. - Create package search or discovery tools that query PyPI without web scraping. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A client library for querying PyPI's JSON API to retrieve package metadata, dependencies, and release information programmatically. Yes. Low install friction, permissive MIT license, active maintenance, no known vulnerabilities, and typed code make this a straightforward choice if you need to query PyPI metadata from Python. The three-dependency footprint is minimal and all are well-established packages. ## Install pip install pypi-json uv add pypi-json poetry add pypi-json ## Installing pypi-json Before you install: Low install friction with a pure-Python wheel and only three runtime dependencies (apeye, packaging, requests). Actively maintained with a recent release in February 2026 and ongoing commits. License in practice: MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice. Quickstart: pip install pypi-json from pypi_json import PyPIJSON client = PyPIJSON() package_info = client.get_json('requests') Verify before relying: - Whether the library supports querying all PyPI JSON API endpoints or a subset of them. - Performance characteristics when querying large numbers of packages or handling rate limits. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 180.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pypi api client, query pypi package metadata, pypi json wrapper, fetch package info from pypi, pypi warehouse client, python package metadata lookup, api-client, pypi-integration [View on SkillFed](https://skillfed.io/packages/pypi-json) · [View on PyPI](https://pypi.org/project/pypi-json/)