Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bennylope/magwitch
[MIRROR] A little tool built on top of pip for understanding Python package dependencies.
https://github.com/bennylope/magwitch
Last synced: 29 days ago
JSON representation
[MIRROR] A little tool built on top of pip for understanding Python package dependencies.
- Host: GitHub
- URL: https://github.com/bennylope/magwitch
- Owner: bennylope
- License: bsd-2-clause
- Created: 2015-03-30T17:54:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-30T18:09:51.000Z (over 9 years ago)
- Last Synced: 2023-03-10T21:19:10.001Z (over 1 year ago)
- Language: Python
- Homepage: https://gitlab.com/bennylope/magwitch/
- Size: 195 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
========
Magwitch
========A little tool built on top of `pip` for understanding Python package
dependencies... image:: docs/pip-magwitch.jpg
While I have a great expectations for what this project will do, it is pretty
basic to start with - by design - and very much in flux.Project goals
=============- Show auxilliary information about a package, including not just the
packages it requires, but its entire dependency lineage
- Show the same lineage but for packages which require a given package
- Show version specifications in a lineage, including conflicts and how wide the
version window is (e.g. if package A requires package X between versions 1.0
and 2.0, and package B requires package X between versions 0.9 and 1.5, then
the specification window is 1.0 through 1.5)
- Generate a dependency graphs mapping version specification relationsips
- Generate Graphiz and image represenations of the dependency graphPython 3 gets first class support with backwards support for Python 2.7 if it
doesn't get in the way.Installation
============Download source and run::
python setup.py install
Usage
=====Magwitch uses the script name `abel`.
requires
--------See what other packages a given package depends on.::
$ abel requires sphinx
snowballstemmber
six
alabaster
docutils
jinja2
pygments
sphinx-rtd-theme
babelOptions
~~~~~~~`--full`
Produce a list recursively of packages required by the original
package.`--tree`
An output flat for generating a `full` list as a tree of requirements.required_by
-----------See what other packages require the given package.::
$ abel required_by sphinx
sphinx-rtd-themeOptions
~~~~~~~`--full`
Produce a list recursively of packages dependent on the original
package.`--tree`
An output flat for generating a `full` list as a tree of requirements.