{"id":21243871,"url":"https://github.com/VoIlAlex/rex","last_synced_at":"2025-10-15T01:31:57.175Z","repository":{"id":37264445,"uuid":"440304834","full_name":"VoIlAlex/rex","owner":"VoIlAlex","description":"Manage requirements.txt automatically with pip.","archived":false,"fork":false,"pushed_at":"2025-05-03T12:08:23.000Z","size":179,"stargazers_count":28,"open_issues_count":12,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T11:19:36.789Z","etag":null,"topics":["pip","pypi","python","requirements-txt-pip","utility","virtualenv"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VoIlAlex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-20T20:57:44.000Z","updated_at":"2025-07-16T10:11:30.000Z","dependencies_parsed_at":"2024-02-20T17:48:21.385Z","dependency_job_id":"f656ff4e-4411-41b3-ac7c-e8520d1a73eb","html_url":"https://github.com/VoIlAlex/rex","commit_stats":{"total_commits":46,"total_committers":3,"mean_commits":"15.333333333333334","dds":0.4130434782608695,"last_synced_commit":"300f69fd4a1c11c8892c5b54f767cbcb59eb45c6"},"previous_names":["voilalex/rex","voilalex/requirements-txt"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/VoIlAlex/rex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoIlAlex%2Frex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoIlAlex%2Frex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoIlAlex%2Frex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoIlAlex%2Frex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VoIlAlex","download_url":"https://codeload.github.com/VoIlAlex/rex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoIlAlex%2Frex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279033001,"owners_count":26089390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pip","pypi","python","requirements-txt-pip","utility","virtualenv"],"created_at":"2024-11-21T01:14:19.190Z","updated_at":"2025-10-15T01:31:57.165Z","avatar_url":"https://github.com/VoIlAlex.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REX | Automatically Update requirements.txt\n\n[![PyPI Release](https://img.shields.io/pypi/v/rex)](https://pypi.org/project/rex/)\n[![Build Status](https://github.com/VoIlAlex/rex/actions/workflows/publish-to-pypi.yml/badge.svg)](https://github.com/VoIlAlex/rex/actions/workflows/publish-to-pypi.yml)\n[![Maintainability](https://img.shields.io/maintenance/yes/2025)](https://img.shields.io/maintenance/yes/2025)\n[![License](https://img.shields.io/github/license/VoIlAlex/rex)](https://github.com/VoIlAlex/rex/blob/master/LICENSE.md)\n\n**REX** 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 rex\n```\n\nTo enable all available functionality, add the following lines to your `.bashrc`, `.zshrc`, or other `.*rc` file:\n\n```shell\nrex alias\n```\n\nor just paste this lines to your `.bashrc`, `.zshrc`, or other `.*rc` file:\n```shell\nalias rt=\". rt\"\nalias requirements-txt=\". requirements-txt\"\nalias rex=\". rex\"\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### Setup Project\n\nTo set up a VirtualEnv-based project, simply type:\n\n```shell\nrex init\n```\n\nOr, achieve the same effect more easily with aliases:\n\n```shell\nrex i\n```\n\n*Note: The changes made to **pip** scripts will not affect the ordinary *pip* workflow after uninstalling **to-requirements.txt*.**\n\n## Aliases\n\nThere are a few aliases available to use instead of `rex` command:\n- `requirements-txt` - legacy command.\n- `rt` - legacy command shortened.\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVoIlAlex%2Frex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FVoIlAlex%2Frex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVoIlAlex%2Frex/lists"}