Skip to main content

packagelister

Determine what packages and versions a project imports.

Install with:

pip install packagelister

Usage


Can be used either programmatically or with the included cli.

Programmatic

programmatic example

CLI

There are three cli tools included in this package: packagelister, whouses, and localimps.

packagelister

For the current directory, can be used to print the packages used by the current directory, generate a requirements.txt file, and view which files import a package.

packagelister help

packagelister example

whouses

Given a package name, scan the current directory for which sub-directories use that package.
Useful for knowing which projects you'll need to update when upgrading an installed package.

whouses help

whouses example

localimps

For displaying information about local modules and import structure.

localimps help

localimps example

Metadata

Release files for packagelister 2.2.0

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

Source distribution (sdist)

Source distribution for packagelister 2.2.0
File Size Uploaded Provenance Actions
packagelister-2.2.0.tar.gz 31.5 kB Without provenance Details for packagelister-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for packagelister 2.2.0
File Interpreter ABI Platform Actions
packagelister-2.2.0-py3-none-any.whl Python 3 none any Details for packagelister-2.2.0-py3-none-any.whl

Total release size: 42.6 kB

Release files / packagelister-2.2.0.tar.gz

Download URL packagelister-2.2.0.tar.gz
Size 31.5 kB
Tags Source
SHA-256 checksum
How to use checksums
63c87fe714fa893fa2ef171a0022bfbcaf23abe6bbd4a430de871eb01cb9a84c
BLAKE2b-256 checksum
How to use checksums
59aa18eb9a95fca541a5225272f028ed565636398285685701102344c8d6e57e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release files / packagelister-2.2.0-py3-none-any.whl

Download URL packagelister-2.2.0-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ceb3bfeca8cbb4f5538d018a48316805c447dbdd540f212955c15c50b9cad59f
BLAKE2b-256 checksum
How to use checksums
115327993920ef139580795a851bc163042b847631d016351c16b8d78aeb7e4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Security for packagelister 2.2.0

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.

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