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.1.0.tar.gz (31.3 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.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for packagelister-2.1.0.tar.gz
Algorithm Hash digest
SHA256 b0d7bc2508572b563e5482294e2efea825b0c9eaaa0695ae47dd14cf7efe6d82
MD5 b1d5f2910424bded0b202529ac8bd8b3
BLAKE2b-256 5e4a26ca0d76f640e8a3fb03465140a34c767acf472dcf05f47a86d62f93f8d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: packagelister-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b87d59c9402ef70e3eac2ba9745a070fb80d2714cebc5d5ed9f784eea3f96608
MD5 0c4813b2cd3b9f992216a23c6814b372
BLAKE2b-256 b555cfdf890da9853309a6eeeefd5be3c3f9175f208d61e63e7f99542bfc7e26

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