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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file package-sieve-0.1.tar.gz.

File metadata

  • Download URL: package-sieve-0.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for package-sieve-0.1.tar.gz
Algorithm Hash digest
SHA256 2b0dedc5a4932badc6f2b3c866a5a2aab1d580931b7b4a944074d731e55f85a9
MD5 9743375213f39ca0b4916fc6d74a2433
BLAKE2b-256 8ff9885e8b63867bd8d31632e18f794080ce37143b6af7c5f9c8832e0848fb9e

See more details on using hashes here.

File details

Details for the file package_sieve-0.1-py3-none-any.whl.

File metadata

  • Download URL: package_sieve-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for package_sieve-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73ace75b5446d25e1188ce9b84f2c0b0e1c3e033694635f2675759b6efdcb72a
MD5 23b89699146517a3c8cb92b49628e021
BLAKE2b-256 7e8399fb6f4f073c8bb22ee5493ed8efa7c4ab541aff84c648e187b598a12a18

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