Skip to main content

Determine what 3rd-party packages a project imports.

Project description

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

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

packagelister-2.2.0.tar.gz (31.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

packagelister-2.2.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file packagelister-2.2.0.tar.gz.

File metadata

  • Download URL: packagelister-2.2.0.tar.gz
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for packagelister-2.2.0.tar.gz
Algorithm Hash digest
SHA256 63c87fe714fa893fa2ef171a0022bfbcaf23abe6bbd4a430de871eb01cb9a84c
MD5 2dfce2800787302ab31d0586c8152423
BLAKE2b-256 59aa18eb9a95fca541a5225272f028ed565636398285685701102344c8d6e57e

See more details on using hashes here.

File details

Details for the file packagelister-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: packagelister-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for packagelister-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ceb3bfeca8cbb4f5538d018a48316805c447dbdd540f212955c15c50b9cad59f
MD5 eff1874932bb3494b4d1765023eb6ba4
BLAKE2b-256 115327993920ef139580795a851bc163042b847631d016351c16b8d78aeb7e4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page