skillfed

yarg

A semi hard Cornish cheese, also queries PyPI (PyPI client)

yarg v0.1.10 1.2M downloads/30d#4,167 on PyPI
Permissive license MIT DORMANT released

What it is and what it does

Yarg wraps PyPI's JSON API to let you programmatically fetch and inspect package metadata from Python. It abstracts HTTP requests and JSON parsing into a simple object model where you can query package names, authors, release history, and distribution formats (wheels, eggs, source distributions). The package depends only on requests, making it lightweight to integrate into tools that need to inspect PyPI without building HTTP calls from scratch.

The library is in Beta status and has been dormant for over two years, with minimal active maintenance. Its last update added Python 3.12 support, but the core functionality has remained stable since its initial release in 2014. It works with modern Python versions (3.8 through 3.12) and PyPy, though you should verify that PyPI's API hasn't changed in ways that would break yarg's parsing.

Use it for:

  • Build a tool that monitors when specific packages receive new releases on PyPI
  • Query package metadata programmatically to gather information for dependency analysis or auditing
  • Fetch the latest package version and release history without making raw HTTP calls to PyPI
  • Inspect package distribution formats (wheel, egg, source) to determine compatibility
  • Discover newly published packages or recently updated packages via PyPI's RSS feeds

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Yarg is a PyPI client library that queries package metadata from PyPI, returning structured information about packages including their releases, authors, and distribution formats.

Yes, if you need lightweight PyPI metadata queries and don't require active maintenance. The low install friction (one dependency) and permissive license make it a reasonable choice for simple use cases. However, verify that PyPI's API remains compatible with yarg's parsing logic, since the package is dormant and you may need to maintain a fork or switch to an actively maintained alternative if PyPI changes its response format.

Install

yarg on PyPI

pip

pip install yarg

uv

uv add yarg

poetry

poetry add yarg

Installing yarg

Before you install

Low install friction with a single dependency on requests. The package is dormant (last release 735 days ago) but received a Python 3.12 support update in its most recent version, suggesting minimal ongoing maintenance.

License in practice

MIT license is permissive and imposes no significant restrictions on use, modification, or distribution in your own projects.

Quickstart

pip install yarg

import yarg
package = yarg.get("requests")
print(package.name, package.author)

Verify before relying

  • Whether PyPI's JSON API remains stable and compatible with yarg's parsing logic after 735 days of dormancy
  • Current state of the GitHub repository (archived status, open issues, or breaking API changes in PyPI itself)

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — requests
Maintenance dormant — 735 days since the last release
First released
Downloads 1,245,469/month — #4,167 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: yarg-0.1.10-py2.py3-none-any.whl

Keywords: pypi, client, packages

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Archiving :: Packaging

Tags

pypi client libraryquery pypi package metadatafetch package informationpypi api wrapperpackage metadata lookuppypi package detailsinspect pypi releases
pypi-integrationmetadata-inspection

More Python Modules packages