pip-ascent


Namepip-ascent JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/thisisazeez/pip-ascent
SummaryA dynamic tool for upgrading pip requirements that seamlessly synchronizes the version changes within your requirements.txt file.
upload_time2023-09-19 07:13:13
maintainer
docs_urlNone
authorAbdulazeez Sherif
requires_python>=3.10
licenseThe MIT License (MIT)
keywords cli pip pypi requirements upgrade
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <a name="readme-top"></a>
## pip-ascent

A versatile tool for effortlessly updating pip requirements while keeping your requirements.txt file in sync with the latest package versions. No more tedious manual package-by-package upgrades; this tool handles it for you and updates your requirements.txt file accordingly.

## Purpose

This command-line tool allows you to interactively (or non-interactively) upgrade packages from your requirements file. It also enables you to update the pinned version in your requirements file(s). If no requirements are specified, the tool will attempt to detect the requirements file(s) in the current directory.

## Installation

```bash
pip install pip-ascent
```

**Note:** This package installs the following dependencies: `'docopt', 'packaging', 'requests', 'terminaltables', 'colorclass'`. To avoid installing these dependencies in your project, you can install `pip-ascent` in your system rather than your virtual environment. If you install it in your system and need to upgrade it, run `pip install -U pip-ascent`.

## Usage

```bash
pip-ascent [<requirements_file>] ... [--prerelease] [-pk=<package>...] [--dry-run] [--check-greater-equal] [--skip-virtualenv-check] [--skip-package-installation] [--use-default-index]
```

**Activate your virtual environment** (important because it will also install the new versions of upgraded packages in the current virtual environment).

**Change directory into your project.** Then:

```bash
$ pip-ascent
```

Arguments:

- `requirements_file`: Specifies the requirement file or uses a wildcard path to multiple files.
- `--prerelease`: Includes prerelease versions for upgrades when querying PyPI repositories.
- `-pk <package>`: Pre-selects packages for an upgrade, bypassing any prompts. You can also utilize regular expressions to filter packages for upgrading.
- `--dry-run`: Simulates the upgrade but does not perform the actual upgrade.
- `--check-greater-equal`: Also checks packages with minimum version pinning (package>=version).
- `--skip-package-installation`: Upgrades the version in requirement files only; it does not install the new package.
- `--skip-virtualenv-check`: Disables virtual environment check, permitting the installation of new packages outside the virtual environment.
- `--use-default-index`: Skips searching for a custom index URL in pip configuration file(s).

Examples:

- `pip-ascent`: Automatically discovers the requirements file.

- `pip-ascent requirements.txt`

- `pip-ascent requirements/dev.txt requirements/production.txt`

- `pip-ascent requirements.txt -pk django -pk celery`

- `pip-ascent requirements.txt -pk all`

- `pip-ascent requirements.txt --dry-run`:  Runs everything as a simulation (does not perform the actual upgrade)


## 💖 Like this project?

Leave a ⭐ if you find this project cool.

[Share with the world](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fthisisazeez%2Fpip-ascent&via=sifusherif&text=Check%20out%20this%20awesome%20pip-ascent%20tool%20for%20easily%20upgrading%20your%20pip%20requirements%20and%20keeping%20your%20requirements.txt%20file%20in%20sync%20with%20the%20latest%20package%20versions%21%20%F0%9F%9A%80) ✨

## 👨‍💻 Author

### Abdulazeez Sherif

[Twitter](https://twitter.com/sifusherif "Abdulazeez Sherif")
## 🍁 License

**MIT**

**Note:** This package is just starting out feel free to make contributions.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/thisisazeez/pip-ascent",
    "name": "pip-ascent",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "cli,pip,pypi,requirements,upgrade",
    "author": "Abdulazeez Sherif",
    "author_email": "Abdulazeez Sherif <abdoulazeezx@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/fa/81/badcc4e60b2c81ec6fbf8a5a7dc7619f08ad96aa64b554a1ec35d9c42b6b/pip_ascent-0.1.2.tar.gz",
    "platform": null,
    "description": "<a name=\"readme-top\"></a>\n## pip-ascent\n\nA versatile tool for effortlessly updating pip requirements while keeping your requirements.txt file in sync with the latest package versions. No more tedious manual package-by-package upgrades; this tool handles it for you and updates your requirements.txt file accordingly.\n\n## Purpose\n\nThis command-line tool allows you to interactively (or non-interactively) upgrade packages from your requirements file. It also enables you to update the pinned version in your requirements file(s). If no requirements are specified, the tool will attempt to detect the requirements file(s) in the current directory.\n\n## Installation\n\n```bash\npip install pip-ascent\n```\n\n**Note:** This package installs the following dependencies: `'docopt', 'packaging', 'requests', 'terminaltables', 'colorclass'`. To avoid installing these dependencies in your project, you can install `pip-ascent` in your system rather than your virtual environment. If you install it in your system and need to upgrade it, run `pip install -U pip-ascent`.\n\n## Usage\n\n```bash\npip-ascent [<requirements_file>] ... [--prerelease] [-pk=<package>...] [--dry-run] [--check-greater-equal] [--skip-virtualenv-check] [--skip-package-installation] [--use-default-index]\n```\n\n**Activate your virtual environment** (important because it will also install the new versions of upgraded packages in the current virtual environment).\n\n**Change directory into your project.** Then:\n\n```bash\n$ pip-ascent\n```\n\nArguments:\n\n- `requirements_file`: Specifies the requirement file or uses a wildcard path to multiple files.\n- `--prerelease`: Includes prerelease versions for upgrades when querying PyPI repositories.\n- `-pk <package>`: Pre-selects packages for an upgrade, bypassing any prompts. You can also utilize regular expressions to filter packages for upgrading.\n- `--dry-run`: Simulates the upgrade but does not perform the actual upgrade.\n- `--check-greater-equal`: Also checks packages with minimum version pinning (package>=version).\n- `--skip-package-installation`: Upgrades the version in requirement files only; it does not install the new package.\n- `--skip-virtualenv-check`: Disables virtual environment check, permitting the installation of new packages outside the virtual environment.\n- `--use-default-index`: Skips searching for a custom index URL in pip configuration file(s).\n\nExamples:\n\n- `pip-ascent`: Automatically discovers the requirements file.\n\n- `pip-ascent requirements.txt`\n\n- `pip-ascent requirements/dev.txt requirements/production.txt`\n\n- `pip-ascent requirements.txt -pk django -pk celery`\n\n- `pip-ascent requirements.txt -pk all`\n\n- `pip-ascent requirements.txt --dry-run`:  Runs everything as a simulation (does not perform the actual upgrade)\n\n\n## \ud83d\udc96 Like this project?\n\nLeave a \u2b50 if you find this project cool.\n\n[Share with the world](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fthisisazeez%2Fpip-ascent&via=sifusherif&text=Check%20out%20this%20awesome%20pip-ascent%20tool%20for%20easily%20upgrading%20your%20pip%20requirements%20and%20keeping%20your%20requirements.txt%20file%20in%20sync%20with%20the%20latest%20package%20versions%21%20%F0%9F%9A%80) \u2728\n\n## \ud83d\udc68\u200d\ud83d\udcbb Author\n\n### Abdulazeez Sherif\n\n[Twitter](https://twitter.com/sifusherif \"Abdulazeez Sherif\")\n## \ud83c\udf41 License\n\n**MIT**\n\n**Note:** This package is just starting out feel free to make contributions.\n\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\n",
    "bugtrack_url": null,
    "license": "The MIT License (MIT)",
    "summary": "A dynamic tool for upgrading pip requirements that seamlessly synchronizes the version changes within your requirements.txt file.",
    "version": "0.1.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/thisisazeez/pip-ascent/issues",
        "Homepage": "https://github.com/thisisazeez/pip-ascent"
    },
    "split_keywords": [
        "cli",
        "pip",
        "pypi",
        "requirements",
        "upgrade"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7b5bd6e5c5bfb2a6e7fa513d7834616ea9e5d87b0e5d1b0a0848f1766af6e2de",
                "md5": "08d73a1506e0a389ab674346320a6e8d",
                "sha256": "643df52c31ee6dc94015a1827cef02a65a5815da0fe8f250ce5c6233aaef9cff"
            },
            "downloads": -1,
            "filename": "pip_ascent-0.1.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "08d73a1506e0a389ab674346320a6e8d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.10",
            "size": 23017,
            "upload_time": "2023-09-19T07:13:11",
            "upload_time_iso_8601": "2023-09-19T07:13:11.053253Z",
            "url": "https://files.pythonhosted.org/packages/7b/5b/d6e5c5bfb2a6e7fa513d7834616ea9e5d87b0e5d1b0a0848f1766af6e2de/pip_ascent-0.1.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa81badcc4e60b2c81ec6fbf8a5a7dc7619f08ad96aa64b554a1ec35d9c42b6b",
                "md5": "d7e52758625a4cf13a95f699f3d142c8",
                "sha256": "b6b0397f161d1f21f9f6b8cd9c084850dc276cca6526ae00d9f23e2bd3813418"
            },
            "downloads": -1,
            "filename": "pip_ascent-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d7e52758625a4cf13a95f699f3d142c8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 16076,
            "upload_time": "2023-09-19T07:13:13",
            "upload_time_iso_8601": "2023-09-19T07:13:13.497650Z",
            "url": "https://files.pythonhosted.org/packages/fa/81/badcc4e60b2c81ec6fbf8a5a7dc7619f08ad96aa64b554a1ec35d9c42b6b/pip_ascent-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-19 07:13:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "thisisazeez",
    "github_project": "pip-ascent",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pip-ascent"
}
        
Elapsed time: 0.11124s