Skip to main content

Package-Sieve

No BS, but modules ✨. 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 🌀 😵.

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 --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 error ModuleNotFoundError: No module named 'pkg_resources' Just run pip3 install setuptools

Metadata

Release files for package-sieve 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for package-sieve 0.3.0
File Size Uploaded Provenance Actions
package-sieve-0.3.0.tar.gz 7.9 kB Without provenance Details for package-sieve-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for package-sieve 0.3.0
File Interpreter ABI Platform Actions
package_sieve-0.3.0-py3-none-any.whl Python 3 none any Details for package_sieve-0.3.0-py3-none-any.whl

Total release size: 16.3 kB

Release files / package-sieve-0.3.0.tar.gz

Download URL package-sieve-0.3.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a7929582bbab19c12129fccd83336f65c7c6b227fa264b29d6298ce1764d05bd
BLAKE2b-256 checksum
How to use checksums
9148f3d46057fa7ba9f3aefadabf157fb814d7aadf99827c9ed03886b6a6b424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / package_sieve-0.3.0-py3-none-any.whl

Download URL package_sieve-0.3.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0698a2bd12333da00a830da5e856b18f87264103fa21e94fdebdeb5827a63549
BLAKE2b-256 checksum
How to use checksums
e6e7a0e75997f0a1f61291c2a3069482af9c46ca44b77c2d6af92fccdf1353e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for package-sieve 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page