Skip to main content

greenpeace

build codecov Code style: black

license pypi python supported

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.

Release files for greenpeace 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for greenpeace 0.2
File Size Uploaded
greenpeace-0.2.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for greenpeace 0.2
File Interpreter ABI Platform
greenpeace-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / greenpeace-0.2.tar.gz

Download URL greenpeace-0.2.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0260fb0e7c1044f3976e4b6e8c35794247ca47201d770e5ce288ae351a438680
BLAKE2b-256 checksum
How to use checksums
e5cd5d21fb97c51b0452d6dcaf9b433c83cd2b96af26b9218c15ca10b7c17a83
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / greenpeace-0.2-py3-none-any.whl

Download URL greenpeace-0.2-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8c2a80e7f6a575ae3fa31f5ad6be70e54b3ae773291666c1cbc9d34aa0b24f1
BLAKE2b-256 checksum
How to use checksums
f19b850c5b207c02a0a807b2156fd041673bfc091ab40e147d0d7ed8c3446e4a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page