Command-line tool for listing packages installed by setuptools, their metadata and dependencies and PyPI querying.
Project description
Installation
You can install yolk with easy_install yolk or install from the subversion repository with easy_install yolk==dev.
As of 0.0.7 yolk is in Gentoo’s Portage tree.
Summary
Yolk is a Python tool for obtaining information about packages installed by distutils, setuptools and easy_install and packages on PyPI (Python Package Index a.k.a. The Cheese Shop).
Yolk can list all the packages installed by setuptools on your system, show which packages are active, non-active or in development mode and show you which have newer versions available according to PyPI.
Usage Examples:
$ 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 Show the license and author for 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 Finds all packages installed via setuptools then checks PyPI for newer releases. $ yolk -M Paste==1.0 Show all the metadata for Paste version 1.0 $ yolk -M Paste Show all the metadata for each version of Paste listed on PyPi $ yolk -D cheesecake Show all URL's for cheesecake packages you can download $ yolk -T source -D cheesecake Show only source code releases for cheesecake $ yolk -H twisted Launches your web browser at Twisted's home page
Changes
0.2.0: Added ‘svn’ type for -T
A kablillion bug fixes
0.1.0: You can now use -f with -M
More accurate URL’s with -D using setuptools
Ability to check for a single package with -U
Uses std Python logging module
Fixed bug so we have correct exit codes
0.0.7: New options: –entry-map and -entry-points
Improved results with –download-links
New plugin system. First plugin available: yolk-portage for Gentoo Linux.
-v option is now –version
-v is now a new option: –verbose
Many bug fixes.
- 0.0.6: Fix Windows problem which showed all pkgs in develop mode
on some systems.
Fix bad interpreter shebang in rss_feed.py example
Start using nose unit tests from setup.py
Use restructuredtext in docstrings
0.0.5: Show packages installed in ‘development’ mode.
Improved output of -l, -n and -a. You can get the previous (<=0.0.4) output by adding ‘-f Summary’
More sanity checking for various options.
Don’t throw exception if there is no package metadata
- 0.0.4: Added -U option to query PyPI for new versions of packages you have
installed
Requirements
setuptools
elementtree (For RSS feed option extra_requires [RSS])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file yolk-0.2.0.tar.gz
.
File metadata
- Download URL: yolk-0.2.0.tar.gz
- Upload date:
- Size: 75.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ed5865c24f02984a4b21de23a05324894b865330b452d1d65a690100a915496 |
|
MD5 | 16ec80911dd165a4887b0842ccdb31da |
|
BLAKE2b-256 | 4b715af434a11c7a10a4324467b7c46a4d80edacb006fb2d46b027f0dad58377 |