Skip to main content

A semi hard Cornish cheese, also queries PyPI (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

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>.

Yarg is released under the MIT license. The source code is on GitHub and issues are also tracked on GitHub.

Release History

0.1.10 (2024-08-09) - Python 3.12 support

0.1.9 (2014-08-11)

Splatting bugs

  • Added decode call on the response object for Python 3 in yarg.newest_packages and yarg.latest_updated_packages.

0.1.8 (2014-08-10)

Splatting bugs

  • Integration issue with Python 3, requests, yarg and JSON. Attempt to decode requests response if decode attribute exists.

0.1.6 & 0.1.7 (2014-08-10)

Splatting bugs

  • Bug in setup.py causing installs to fail for sdist (source) releases.

0.1.5 (2014-08-10)

API changes

  • Changed sort order of yarg.package.Package.release_ids to sort based on the upload time of the release ID.

Splatting bugs

  • yarg.package.Package.latest_release_id will now return the latest release ID from the PyPI info source, rather than the final list item in yarg.package.Package.release_ids.

    Addtionally yarg.package.Package.latest_release will do the same as it gets the latest release information from yarg.package.Package.latest_release_id.

0.1.4 (2014-08-09)

API changes

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

  • New method 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.10.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

yarg-0.1.10-py2.py3-none-any.whl (13.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file yarg-0.1.10.tar.gz.

File metadata

  • Download URL: yarg-0.1.10.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for yarg-0.1.10.tar.gz
Algorithm Hash digest
SHA256 1fbc94af89d5ebc2d2dfe46a5006a570de549c43e78f0913ce8390a1c5848b7e
MD5 aef49be6031f0cf5737c5896ab95f214
BLAKE2b-256 5ff486a394ac2c74268c0281d27b6ca9a37bb595d19601bf4de920584e581eb6

See more details on using hashes here.

Provenance

File details

Details for the file yarg-0.1.10-py2.py3-none-any.whl.

File metadata

  • Download URL: yarg-0.1.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for yarg-0.1.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4413145825e5d0e8b370754b3e829cf7c95ab0131dbc29fb5b52a8e27e1b7234
MD5 a4bb406e338b0a456b7941be70bedfcb
BLAKE2b-256 6c9863ca46066218f5438e47db7149a515b80b77bdeb30e3644da6221dac43dc

See more details on using hashes here.

Provenance

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