Skip to main content

Command-line tool for querying PyPI and Python packages installed on your system.

Project description

Installation

$ pip install --upgrade yolk1977

Summary

Yolk is a Python tool for obtaining information about installed Python packages and querying packages available on PyPI (Python Package Index). yolk3k is a fork of the original yolk. yolk3k adds Python 3 support (while maintaining Python 2 support). It also adds additional features. yolk1977 is a fork of the yolk3k fork that fixes that annoying bug wherein a single glitchy URL-fetch status would interrupt the entirety of the yolk -U process.

You can see which packages are active, non-active or in development mode and show you which have newer versions available by querying PyPI.

Usage Examples:

$ yolk --upgrade
    Upgrade all packages

$ yolk --upgrade --user
    Upgrade user packages

$ yolk -l
    List all installed Python packages

$ yolk -a
    List only the activated packages installed (Activated packages are
    normal packages on sys.path you can import)

$ yolk -n
    List only the non-activated (--multi-version) packages installed

$ yolk -l -f License,Author nose==1.0
    Show the license and author for version 1.0 of the package `nose`

$ yolk --entry-map nose
    Show entry map for the nose package

$ yolk --entry-points nose.plugins
    Show all setuptools entry points for nose.plugins

These options query PyPI:

$ yolk -U pkg_name
    Shows if an update for pkg_name is available by querying PyPI

$ yolk -U
     Checks PyPI to see if any installed Python packages have updates
     available.

$ yolk -F Paste
    Download source tarball for latest version of Paste to your current
    directory

$ yolk -F Paste -T svn
    Do a subversion checkout for Paste to a directory named Paste_svn in
    your current directory.

$ yolk -L 2
    Show list of CheeseShop releases in the last two hours

$ yolk -C 2
    Show detailed list of changes in the CheeseShop in the last two hours

$ yolk -M Paste==1.0
    Show all the metadata for Paste version 1.0

$ yolk -M Paste
    Show all the metadata for the latest version of Paste listed on PyPI

$ yolk -D cheesecake
    Show all (source, egg, svn) URL's for the latest version of cheesecake
    packages

$ yolk -T source -D cheesecake
    Show only source code releases for cheesecake

$ yolk -H twisted
    Launches your web browser at Twisted's home page

Useful tips

Check invalid reStructuredText in descriptions on PyPI (using rstcheck):

$ yolk --query-metadata=pip --fields=description | rstcheck -

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

yolk1977-0.9.5.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

yolk1977-0.9.5-py2.py3-none-any.whl (31.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file yolk1977-0.9.5.tar.gz.

File metadata

  • Download URL: yolk1977-0.9.5.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for yolk1977-0.9.5.tar.gz
Algorithm Hash digest
SHA256 514962aebe9bd4b0c0c8eafa3c96937e22eb01f0adbf6a78954b51e0b91dcea1
MD5 eb0fddb97b2abc0e66432853bf053dfc
BLAKE2b-256 e3e225444c19cbbc3bd377bd9b9ea7a95ea1809c3c6778754adae7ce39ffea30

See more details on using hashes here.

File details

Details for the file yolk1977-0.9.5-py2.py3-none-any.whl.

File metadata

  • Download URL: yolk1977-0.9.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for yolk1977-0.9.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d62a1dd012267088b18797bb73cbee2d2a1d047583bcf7dcd9b4dd7b1a6e58e3
MD5 5119d953afa4c1d5a6dbe97e61173b81
BLAKE2b-256 142048f84846c06be57d04f506c3b1f5d16697b3db80fe43e813e021a5d373df

See more details on using hashes here.

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