Collector of absolute 3rd party packages from existing projects
Project description
Package-Sieve
No BS, but modules :sparkles:. Collector of absolute 3rd party packages from existing projects with relevant versions.
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 :cyclone: :dizzy_face:.
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 :detective: and version of the application installed.
Install
pip3 install package-sieve
Usage
package-sieve --project_folder /absolute/path/to/folder --ignore venv,__pycache__,__init__.py
--project_folder - this is a mandatory parameter which mentions the root of the directory, defaults to the current working directory.
--ignore - Mention the folders you want to ignore to create the requirements, optional parameter. By default this holds all the folder patterns added in your .gitignore file, if exists.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file package-sieve-0.3.0.tar.gz.
File metadata
- Download URL: package-sieve-0.3.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7929582bbab19c12129fccd83336f65c7c6b227fa264b29d6298ce1764d05bd
|
|
| MD5 |
b862ad3c394d283a30a18b8cedc6864b
|
|
| BLAKE2b-256 |
9148f3d46057fa7ba9f3aefadabf157fb814d7aadf99827c9ed03886b6a6b424
|
File details
Details for the file package_sieve-0.3.0-py3-none-any.whl.
File metadata
- Download URL: package_sieve-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0698a2bd12333da00a830da5e856b18f87264103fa21e94fdebdeb5827a63549
|
|
| MD5 |
511e46ce6065919f88caff5d6e62ba9f
|
|
| BLAKE2b-256 |
e6e7a0e75997f0a1f61291c2a3069482af9c46ca44b77c2d6af92fccdf1353e9
|