Identify modules used in a Python application by running it.
Identify modules used in a Python application.
kartoffel module:func [args for application]
For example, for 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)
The results are saved as kartoffel-result.json in the working directory. A summary is printed on stdout.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, Size & Hash SHA256 Hash Help||File Type||Python Version||Upload Date|
(8.7 kB) Copy SHA256 Hash SHA256
|Wheel||py3||Nov 15, 2017|
(3.9 kB) Copy SHA256 Hash SHA256
|Source||None||Nov 15, 2017|