Skip to main content

Collector of absolute 3rd party packages from existing projects

Project description

Wall-E aka package-sieve

Collector of absolute 3rd party packages from existing projects

package-sieve

Background

This project aims to generate requirements.txt file for existing repositories where you have an old file which is filled with dependencies of dependencies.

Function

Wall-E uses ast module of python to parse nodes of any python script. Once the modules are retrieved, pkg_resources helps to find the right project name and version of the application installed.

Install

pip3 install package-sieve 

Usage

package-sieve --project_folder /absolute/path/to/folder --exclude venv,__pycache__,__init__.py

NOTE:
If you get this error ModuleNotFoundError: No module named 'pkg_resources' Just run pip3 install setuptools

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

package-sieve-0.1.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

package_sieve-0.1-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

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