Skip to main content

A PyPI client.

Project description

yarg(1) – A semi hard Cornish cheese, also queries PyPI

https://img.shields.io/travis/kura/yarg.svg?style=flat https://img.shields.io/coveralls/kura/yarg.svg?style=flat https://pypip.in/version/yarg/badge.svg?style=flat https://pypip.in/download/yarg/badge.svg?style=flat https://pypip.in/py_versions/yarg/badge.svg?style=flat https://pypip.in/implementation/yarg/badge.svg?style=flat https://pypip.in/status/yarg/badge.svg?style=flat https://pypip.in/wheel/yarg/badge.svg?style=flat https://pypip.in/license/yarg/badge.svg?style=flat

Yarg is a PyPI client.

>>> import yarg
>>> package = yarg.get("yarg")
>>> package.name
u'yarg'
>>> package.author
Author(name=u'Kura', email=u'kura@kura.io')

Full documentation is at <https://yarg.readthedocs.org>.

Release History

0.1.4 (2014-08-09)

API changes

  • New yarg.newest_packages for querying new packages from the PyPI RSS feed.

  • New yarg.latest_updated_packages for querying the latest updated packages from the PyPI RSS feed.

Other

  • Additional test coverage

  • Additional documentation coverage

0.1.2 (2014-08-08)

Bug fixes

  • yarg.get will now raise an Exception for errors including 300 and above. Previously only raised for above 300.

  • Fix an issue on Python 3.X and PyPy3 where yarg.exceptions.HTTPError was using a method that was removed in Python 3.

  • Added dictionary key lookups for home_page, bugtrack_url and docs_url. Caused KeyError exceptions if they were not returned by PyPI.

Other

  • More test coverage.

0.1.1 (2014-08-08)

API changes

  • New yarg.package.Package property has_wheel.

  • New yarg.package.Package property has_egg.

  • New yarg.package.Package property has_source.

  • New yarg.package.Package property python_versions.

  • New yarg.package.Package property python_implementations.

  • Added yarg.exceptions.HTTPError to yarg.__init__ for easier access.

  • Added yarg.json2package to yarg.__init__ to expose it for use.

0.1.0 (2014-08-08)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yarg-0.1.4.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

yarg-0.1.4-py2.py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page