toreqs


Nametoreqs JSON
Version 2.0.11 PyPI version JSON
download
home_pagehttps://github.com/VoIlAlex/requirements-txt
SummaryAutomatically add and delete modules to requirements.txt installing them using pip.
upload_time2024-08-01 14:34:41
maintainerNone
docs_urlNone
authorIlya Vouk
requires_pythonNone
licenseMIT
keywords pip requirements.txt dependency dependencies requirements packages wrapper repository
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # to-requirements.txt | Automatically Update requirements.txt

[![PyPI Release](https://img.shields.io/pypi/v/to-requirements.txt)](https://pypi.org/project/to-requirements.txt/)
[![Build Status](https://github.com/VoIlAlex/requirements-txt/actions/workflows/publish-to-pypi.yml/badge.svg)](https://github.com/VoIlAlex/requirements-txt/actions/workflows/publish-to-pypi.yml)
[![Maintainability](https://img.shields.io/maintenance/yes/2024)](https://img.shields.io/maintenance/yes/2024)
[![License](https://img.shields.io/github/license/VoIlAlex/requirements-txt)](https://github.com/VoIlAlex/requirements-txt/blob/master/LICENSE.md)

**to-requirements.txt** allows for the automatic management of dependencies in `requirements.txt` using **pip** as a package manager.

[![Demo](https://media.giphy.com/media/y9dUiCm2SwaU8qR0eD/giphy.gif)](https://media.giphy.com/media/y9dUiCm2SwaU8qR0eD/giphy.gif)

## Benefits

- **Easy Setup**: The installation process involves just two steps: installing the package using pip and setting it up using the provided script. That's it.
  
- **One-Command Setup**: Set up a VirtualEnv-based project in a single command. It creates a virtual environment and installs *to-requirements.txt* automatically.

- **Customizable**: Customize it as you prefer: use it only in Git repositories, allow or disallow automated `requirements.txt` file creation, enable or disable the package itself.

- **User-Friendly**: After installation and setup, there are no additional conditions to use. Simply install, uninstall, or upgrade packages using *pip* as usual.

- **Always in Sync**: With *to-requirements.txt*, the project's `requirements.txt` will always stay in sync with packages installed via *pip*.

## Installation

To install the package, run the following command:

```shell
pip install to-requirements.txt
```

Then, initialize the package with:

```shell
requirements-txt install
```

To enable all available functionality, add the following lines to your `.bashrc`, `.zshrc`, or other `.*rc` file:

```shell
alias rt=". rt"
alias requirements-txt=". requirements-txt"
```

Or, use the CLI command:

```shell
rt alias
```

This enables sourced mode of the CLI execution and allows the CLI to activate or deactivate your virtual environment if required.

*Note: The changes made to **pip** scripts will not affect the ordinary *pip* workflow after uninstalling **to-requirements.txt*.**

### Setup Project

To set up a VirtualEnv-based project, simply type:

```shell
requirements-txt init
```

Or, achieve the same effect more easily with aliases:

```shell
rt i
```

## Documentation

For detailed documentation, visit [requirements-txt.readthedocs.io](https://requirements-txt.readthedocs.io/en/latest/index.html).

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.

## License

This project is licensed under the [MIT License](LICENSE.md).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/VoIlAlex/requirements-txt",
    "name": "toreqs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pip, requirements.txt, dependency, dependencies, requirements, packages, wrapper, repository",
    "author": "Ilya Vouk",
    "author_email": "ilya.vouk@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/9f/c7/0662a4e5d2b733272ff9cb448b833bb1c94d429d3fa71c43955c8724301c/toreqs-2.0.11.tar.gz",
    "platform": null,
    "description": "# to-requirements.txt | Automatically Update requirements.txt\n\n[![PyPI Release](https://img.shields.io/pypi/v/to-requirements.txt)](https://pypi.org/project/to-requirements.txt/)\n[![Build Status](https://github.com/VoIlAlex/requirements-txt/actions/workflows/publish-to-pypi.yml/badge.svg)](https://github.com/VoIlAlex/requirements-txt/actions/workflows/publish-to-pypi.yml)\n[![Maintainability](https://img.shields.io/maintenance/yes/2024)](https://img.shields.io/maintenance/yes/2024)\n[![License](https://img.shields.io/github/license/VoIlAlex/requirements-txt)](https://github.com/VoIlAlex/requirements-txt/blob/master/LICENSE.md)\n\n**to-requirements.txt** allows for the automatic management of dependencies in `requirements.txt` using **pip** as a package manager.\n\n[![Demo](https://media.giphy.com/media/y9dUiCm2SwaU8qR0eD/giphy.gif)](https://media.giphy.com/media/y9dUiCm2SwaU8qR0eD/giphy.gif)\n\n## Benefits\n\n- **Easy Setup**: The installation process involves just two steps: installing the package using pip and setting it up using the provided script. That's it.\n  \n- **One-Command Setup**: Set up a VirtualEnv-based project in a single command. It creates a virtual environment and installs *to-requirements.txt* automatically.\n\n- **Customizable**: Customize it as you prefer: use it only in Git repositories, allow or disallow automated `requirements.txt` file creation, enable or disable the package itself.\n\n- **User-Friendly**: After installation and setup, there are no additional conditions to use. Simply install, uninstall, or upgrade packages using *pip* as usual.\n\n- **Always in Sync**: With *to-requirements.txt*, the project's `requirements.txt` will always stay in sync with packages installed via *pip*.\n\n## Installation\n\nTo install the package, run the following command:\n\n```shell\npip install to-requirements.txt\n```\n\nThen, initialize the package with:\n\n```shell\nrequirements-txt install\n```\n\nTo enable all available functionality, add the following lines to your `.bashrc`, `.zshrc`, or other `.*rc` file:\n\n```shell\nalias rt=\". rt\"\nalias requirements-txt=\". requirements-txt\"\n```\n\nOr, use the CLI command:\n\n```shell\nrt alias\n```\n\nThis enables sourced mode of the CLI execution and allows the CLI to activate or deactivate your virtual environment if required.\n\n*Note: The changes made to **pip** scripts will not affect the ordinary *pip* workflow after uninstalling **to-requirements.txt*.**\n\n### Setup Project\n\nTo set up a VirtualEnv-based project, simply type:\n\n```shell\nrequirements-txt init\n```\n\nOr, achieve the same effect more easily with aliases:\n\n```shell\nrt i\n```\n\n## Documentation\n\nFor detailed documentation, visit [requirements-txt.readthedocs.io](https://requirements-txt.readthedocs.io/en/latest/index.html).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Automatically add and delete modules to requirements.txt installing them using pip.",
    "version": "2.0.11",
    "project_urls": {
        "Download": "https://github.com/VoIlAlex/requirements-txt/archive/refs/tags/v1.1.10.zip",
        "Homepage": "https://github.com/VoIlAlex/requirements-txt"
    },
    "split_keywords": [
        "pip",
        " requirements.txt",
        " dependency",
        " dependencies",
        " requirements",
        " packages",
        " wrapper",
        " repository"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af3183d6b9949ecf7644be7e2e31508921f9c34fa5e3ce2c5c556870a53e978e",
                "md5": "cac50deae078efc53079a78afc91edd0",
                "sha256": "c4d88dffe1d36017306072afa00d80deed278fcc71fe95ad6a853c6c606e2e1b"
            },
            "downloads": -1,
            "filename": "toreqs-2.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cac50deae078efc53079a78afc91edd0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 36236,
            "upload_time": "2024-08-01T14:34:37",
            "upload_time_iso_8601": "2024-08-01T14:34:37.594401Z",
            "url": "https://files.pythonhosted.org/packages/af/31/83d6b9949ecf7644be7e2e31508921f9c34fa5e3ce2c5c556870a53e978e/toreqs-2.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9fc70662a4e5d2b733272ff9cb448b833bb1c94d429d3fa71c43955c8724301c",
                "md5": "bea803a8e1c2c4a14c83e4a3d77d5a9f",
                "sha256": "ff76ab50cbe2066ec9294307044e5c0e2adbaffb683e54a462afcdc8a39845cc"
            },
            "downloads": -1,
            "filename": "toreqs-2.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "bea803a8e1c2c4a14c83e4a3d77d5a9f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 21886,
            "upload_time": "2024-08-01T14:34:41",
            "upload_time_iso_8601": "2024-08-01T14:34:41.981736Z",
            "url": "https://files.pythonhosted.org/packages/9f/c7/0662a4e5d2b733272ff9cb448b833bb1c94d429d3fa71c43955c8724301c/toreqs-2.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-01 14:34:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "VoIlAlex",
    "github_project": "requirements-txt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "toreqs"
}
        
Elapsed time: 0.29425s