Determine what 3rd-party packages a project imports.
Project description
packageLister
Determine what 3rd-party packages and versions a project imports.
Install with:
pip install packageLister
Only has one function: packageLister.scan()
Usage:
>>> from pathlib import Path >>> import packageLister >>> packageLister.scan(Path.cwd()) [___________________________________________________]-100.00% Scanning packageLister.py {'pathCrawler==0.0.3': ['src/packageLister/packageLister.py'], 'printBuddies==0.2.2': ['src/packageLister/packageLister.py']}Can also be used as a cli tool:
>packageLister packageLister -sf [___________________________________________________]-100.00% Scanning packageLister_cli.py Packages used in packageLister: pathCrawler==0.0.3 src\packageLister\packageLister.py printBuddies==0.2.2 src\packageLister\packageLister.pyCli help:
>packageLister -h usage: packageLister [-h] [-sf] [-gr] projectPathpositional arguments: projectPath The project directory path to scan.
options: -h, --help show this help message and exit -sf, --showFiles Show which files imported each of the packages. -gr, --generateRequirements Generate a requirements.txt file in --projectPath.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
packagelister-0.1.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for packagelister-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34b21242e918ad193ffd2b3f0fc713fdd0f02527bdc251f59eefaffa82bec2f6 |
|
MD5 | 233c2f34964458a1edf9a7629e2537f7 |
|
BLAKE2b-256 | f156ffaf334f448b0d8a9ba8489b936960a5fc01ad79bc31ff86240737740f0f |