Skip to main content

pip-utils

Helper utilities for pip.

Installation

Download from PyPI:

pip install --user pip-utils

pip-utils is also available here as a ZIP application [0]. Once you’ve download it, you can install it to a directory on your PATH:

install pip-utils ~/.local/bin

Usage

usage: pip3-utils [-h] [--version]
                  {dependants,dependents,locate,outdated,parents} ...

Helper utilities for pip.

positional arguments:
  {dependants,dependents,locate,outdated,parents}
    dependants          list dependants of package
    dependents          list dependents of package
    locate              identify package that file belongs to
    outdated            list outdated packages that may be updated
    parents             list packages lacking dependants

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit

See `pip3-utils COMMAND --help` for help on a specific subcommand.

For Python 2, use pip2-utils. For Python 3, use pip3-utils. Or, use python -m pip_utils.

If you’ve installed the standalone executable on your PATH, your can call pip-utils. Or run it directly with the Python interpreter of your choice, e.g. python3.5 ~/.local/bin/pip-utils.

By default, pip-utils will interact with packages installed to the user site (assuming the user site is available). To disable this behavior, call pip-utils with Python’s -s option (i.e. python -sm pip_utils) or PYTHONNOUSERSITE environment variable (i.e. PYTHONNOUSERSITE=1 python -m pip_utils).

Commands

dependants

List dependants of a package:

$ pip3-utils dependants pexpect
ipython

dependents

List direct dependents of a package:

$ pip3-utils dependents ipython
backports.shutil-get-terminal-size
decorator
pexpect
pickleshare
setuptools
simplegeneric
traitlets

List direct dependents of a package with their version requirements:

$ pip3-utils dependents -i dataset
alembic>=0.6.2
normality>=0.2.2
PyYAML>=3.10
six
six>=1.7.3
sqlalchemy>=0.9.1

List all dependencies of a package recursively:

$ pip3-utils dependents -r dataset
alembic
Mako
MarkupSafe
normality
python-editor
PyYAML
six
SQLAlchemy

locate

Identify package(s) that file belongs to:

$ pip3-utils locate ~/.local/bin/symilar
pylint

outdated

List outdated packages that may be updated. This differ’s from pip’s --outdated flag in that it verifies that there are no conflicting dependencies that would otherwise make an update inadvisable.

pip3-utils outdated

List all outdated packages. Note, this is equivalent to pip’s --outdated flag.

pip3-utils outdated --all

List outdated packages unable to be updated due to dependency requirements:

pip3-utils outdated --pinned

Update all outdated packages that may be updated.

pip3-utils outdated --upgrade

parents

List packages lacking dependants:

pip3-utils parents

Development

To run tests (automatically pulling in dependencies):

python setup.py test

To run tests directly, with verbose output:

python3 -m pytest -vv

License

Copyright (c) 2016 Six (brbsix@gmail.com).

Licensed under the GPLv3 license.

Metadata

Release files for pip-utils 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pip-utils 0.0.6
File Size Uploaded Provenance Actions
pip-utils-0.0.6.tar.gz 9.8 kB Without provenance Details for pip-utils-0.0.6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pip-utils 0.0.6
File Interpreter ABI Platform Actions
pip_utils-0.0.6-py3-none-any.whl Python 3 none any Details for pip_utils-0.0.6-py3-none-any.whl
pip_utils-0.0.6-py2-none-any.whl Python 2 none any Details for pip_utils-0.0.6-py2-none-any.whl

Total release size: 38.0 kB

Release files / pip-utils-0.0.6.tar.gz

Download URL pip-utils-0.0.6.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6b9a467c58dfdeca1c45b61533ad47fdf5fb381cab56412dad519f348945698b
BLAKE2b-256 checksum
How to use checksums
7052efb0cf155c020f86654f93e5c00c8a43eb691a9d5d834f5e101836135239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pip_utils-0.0.6-py3-none-any.whl

Download URL pip_utils-0.0.6-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6981000a3a0db2a8b7aa26fa06ea69afd20ed225e22f8621cf1e21bd3bc014fc
BLAKE2b-256 checksum
How to use checksums
2f5f4343d3714acc993c5b4ffa035276c17ffa63a3e838448a34c252208a1266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pip_utils-0.0.6-py2-none-any.whl

Download URL pip_utils-0.0.6-py2-none-any.whl
Size 14.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
d89fcef82971d7a4d3e4ff6f59e1f9da4cdf152905af8537a3249683d1df0c6b
BLAKE2b-256 checksum
How to use checksums
0a00085ec71cbf5863d31075b5f7fba3036683c560213c966791a84fbd20d182
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pip-utils 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.6 This release

3 release files No provenance

0.0.4

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page