No project description provided
Project description
nr.python.environment
Utilities to work with Python environments.
API
function nr.python.environment.distributions.get_distributions(): Dict[str, Distribution]
Returns all distributions that can be found in the current Python environment. This can be useful to build a dependency graph or to collect the license of all packages used.
CLI
python -m nr.python.environment.distributions
Produce a CSV or JSON list of all distributions in the current Python environment. It can be used for example to get an overview of the different types of licenses for the Python packages installed in an environment:
$ python -m nr.python.environment.distributions | jq .license_name -r | sort | uniq
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
Built Distribution
Close
Hashes for nr.python.environment-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb4e3834aafab0c5e2e9e4760f52f23576d658c3568f148d175cbe395df18801 |
|
MD5 | 49ce393e9c70abfbb4b3060286284d44 |
|
BLAKE2b-256 | 6000cf8f5617a7e617dc77ea4aea5535c8810b53ab956b603b8448dd481fbd47 |
Close
Hashes for nr.python.environment-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd0035b89902540e19230a1b4719ac844cc0e24210029d75ec5f07f63313742 |
|
MD5 | 7c20771bbd48cbeafd112e5164694c95 |
|
BLAKE2b-256 | 93775c8d1baad53d991c69fdf7fc42d66cd00b92d4adbe8bbb9ed280fcb30e6d |