Python environment clean up.
Project description
greenpeace
Python environment clean up.
The package allows you to generate your package dependencies requirements directly from your source code. Python scripts .py and notebooks .ipynb are supported. You can also pin the package versions extracted with your current environment.
import greenpeace as gp
gp.cleanup_requirements(".", output_path="requirements.txt")
The package is also able to extract from a python script or a notbook the modules dependencies in your project. This feature is useful if you want to isolate a script or notebook from you project into a dedicated folder.
import greenpeace as gp
gp.isolate("[YOUR_PATH]/notebook.ipynb", "./isolated")
The isolated folder will contains all you project dependencies and a requirements.txt file for all package dependencies in use.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file greenpeace-0.2.tar.gz.
File metadata
- Download URL: greenpeace-0.2.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0260fb0e7c1044f3976e4b6e8c35794247ca47201d770e5ce288ae351a438680
|
|
| MD5 |
739e83e2d6fc64937b58f785e291290c
|
|
| BLAKE2b-256 |
e5cd5d21fb97c51b0452d6dcaf9b433c83cd2b96af26b9218c15ca10b7c17a83
|
File details
Details for the file greenpeace-0.2-py3-none-any.whl.
File metadata
- Download URL: greenpeace-0.2-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8c2a80e7f6a575ae3fa31f5ad6be70e54b3ae773291666c1cbc9d34aa0b24f1
|
|
| MD5 |
f80bd9d27b76db117d7e16ca63e1d929
|
|
| BLAKE2b-256 |
f19b850c5b207c02a0a807b2156fd041673bfc091ab40e147d0d7ed8c3446e4a
|