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
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 errorModuleNotFoundError: No module named 'pkg_resources'
Just runpip3 install setuptools
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
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b0dedc5a4932badc6f2b3c866a5a2aab1d580931b7b4a944074d731e55f85a9 |
|
MD5 | 9743375213f39ca0b4916fc6d74a2433 |
|
BLAKE2b-256 | 8ff9885e8b63867bd8d31632e18f794080ce37143b6af7c5f9c8832e0848fb9e |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73ace75b5446d25e1188ce9b84f2c0b0e1c3e033694635f2675759b6efdcb72a |
|
MD5 | 23b89699146517a3c8cb92b49628e021 |
|
BLAKE2b-256 | 7e8399fb6f4f073c8bb22ee5493ed8efa7c4ab541aff84c648e187b598a12a18 |