package-sieve


Namepackage-sieve JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/FluffyDietEngine/wall-e
SummaryCollector of absolute 3rd party packages from existing projects
upload_time2024-01-30 18:54:15
maintainer
docs_urlNone
authorSanthosh Solomon
requires_python
licenseApache License 2.0
keywords package-sieve wall-e ci automation linter stale-package-remover developer-tools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## 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

```console
pip3 install package-sieve 
```

### Usage 
```console
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` 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/FluffyDietEngine/wall-e",
    "name": "package-sieve",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "package-sieve,wall-e,ci,automation,linter,stale-package-remover,developer-tools",
    "author": "Santhosh Solomon",
    "author_email": "solomon.santhosh@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/91/48/f3d46057fa7ba9f3aefadabf157fb814d7aadf99827c9ed03886b6a6b424/package-sieve-0.3.0.tar.gz",
    "platform": "any",
    "description": "## Package-Sieve \nNo BS, but modules :sparkles:. Collector of absolute 3rd party packages from existing projects with relevant versions. \n\n### Background\nThis 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:. \n\n### Function\nWall-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. \n\n### Install\n\n```console\npip3 install package-sieve \n```\n\n### Usage \n```console\npackage-sieve --project_folder /absolute/path/to/folder --ignore venv,__pycache__,__init__.py\n```\n`--project_folder` - this is a mandatory parameter which mentions the root of the directory,  defaults to the current working directory.\n\n`--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.\n\n> NOTE:  \nIf you get this error `ModuleNotFoundError: No module named 'pkg_resources'`\nJust run `pip3 install setuptools` \n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Collector of absolute 3rd party packages from existing projects",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/FluffyDietEngine/wall-e"
    },
    "split_keywords": [
        "package-sieve",
        "wall-e",
        "ci",
        "automation",
        "linter",
        "stale-package-remover",
        "developer-tools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6e7a0e75997f0a1f61291c2a3069482af9c46ca44b77c2d6af92fccdf1353e9",
                "md5": "511e46ce6065919f88caff5d6e62ba9f",
                "sha256": "0698a2bd12333da00a830da5e856b18f87264103fa21e94fdebdeb5827a63549"
            },
            "downloads": -1,
            "filename": "package_sieve-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "511e46ce6065919f88caff5d6e62ba9f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8382,
            "upload_time": "2024-01-30T18:54:13",
            "upload_time_iso_8601": "2024-01-30T18:54:13.300913Z",
            "url": "https://files.pythonhosted.org/packages/e6/e7/a0e75997f0a1f61291c2a3069482af9c46ca44b77c2d6af92fccdf1353e9/package_sieve-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9148f3d46057fa7ba9f3aefadabf157fb814d7aadf99827c9ed03886b6a6b424",
                "md5": "b862ad3c394d283a30a18b8cedc6864b",
                "sha256": "a7929582bbab19c12129fccd83336f65c7c6b227fa264b29d6298ce1764d05bd"
            },
            "downloads": -1,
            "filename": "package-sieve-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b862ad3c394d283a30a18b8cedc6864b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7944,
            "upload_time": "2024-01-30T18:54:15",
            "upload_time_iso_8601": "2024-01-30T18:54:15.846854Z",
            "url": "https://files.pythonhosted.org/packages/91/48/f3d46057fa7ba9f3aefadabf157fb814d7aadf99827c9ed03886b6a6b424/package-sieve-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-30 18:54:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "FluffyDietEngine",
    "github_project": "wall-e",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "package-sieve"
}
        
Elapsed time: 0.19703s