Skip to main content

Python environment clean up.

Project description

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.

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

greenpeace-0.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

greenpeace-0.2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

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

Hashes for greenpeace-0.2.tar.gz
Algorithm Hash digest
SHA256 0260fb0e7c1044f3976e4b6e8c35794247ca47201d770e5ce288ae351a438680
MD5 739e83e2d6fc64937b58f785e291290c
BLAKE2b-256 e5cd5d21fb97c51b0452d6dcaf9b433c83cd2b96af26b9218c15ca10b7c17a83

See more details on using hashes here.

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

Hashes for greenpeace-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e8c2a80e7f6a575ae3fa31f5ad6be70e54b3ae773291666c1cbc9d34aa0b24f1
MD5 f80bd9d27b76db117d7e16ca63e1d929
BLAKE2b-256 f19b850c5b207c02a0a807b2156fd041673bfc091ab40e147d0d7ed8c3446e4a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page