Skip to main content

Identify modules used in a Python application by running it.

Project description

Identify modules used in a Python application.

To run:

kartoffel module:func [args for application]

For example, for IPython:

kartoffel IPython:start_ipython

Your application will run. If any modules are dynamically loaded (e.g. plugins), activate the features to ensure that they are loaded. Then quit your application.

After your application exits, Kartoffel will capture a list of all the Python modules loaded (sys.modules). Then it will classify these into groups:

  • Modules from identified distributions (i.e. PyPI packages)

  • Modules from the standard library (using stdlib_list)

  • Modules not from files (builtins and dynamically created modules)

  • Unidentified

The results are saved as kartoffel-result.json in the working directory. A summary is printed on stdout.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kartoffel-0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

kartoffel-0.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file kartoffel-0.1.tar.gz.

File metadata

  • Download URL: kartoffel-0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kartoffel-0.1.tar.gz
Algorithm Hash digest
SHA256 94641df722356c151d25cd7c86ef3389c4c95fe0115042d70da42e65d339b807
MD5 2cb1e2d26b67e0571c97944067cc29aa
BLAKE2b-256 3b0b50cd4e2f313a159900880dd8454e41ccde3af619d7d6b9fcc5f87fd914e5

See more details on using hashes here.

File details

Details for the file kartoffel-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kartoffel-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 784abbede837113ff25ddfa80066bd18baa48ebcdc1567dbc70b5d6c54aa0895
MD5 b02c11fecaef68dc8f34e49095bc5913
BLAKE2b-256 1741fb32eefbd7444e58845cc88436cf305ce952d74c4037393f8e12b57ab088

See more details on using hashes here.

Supported by

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