Skip to main content

to-requirements.txt | Automatically update requirements.txt

PyPI release Build status Documentation

Maintainability made-with-python License

to-requirements.txt allows to automatically manage dependencies in requirements.txt using pip as a package manager.

Demo

Benefits

Easy to setup. The installation process include only two steps: install the package using pip and setup up it using script provided by the package. That's it.

Setup in one command. You can set up VirtualEnv-based project in one command. It will create virtual environment. And install to-requirements.txt automatically.

Customizable. Customize it the way you like: use it only in git repositories, allow or disallow automated requirements.txt file creation, enable or disable the package itself.

Easy to use. After installing the package, running setup command and (optionally) customizing it the package is ready. There is no additional conditions to use. Just install, uninstall or upgrade packages using pip as you usually do.

Always in sync. With to-requirements.txt the project's requirements.txt will always stay in sync with packages that you install using pip.

Installation

To install the package run the following command:

pip install to-requirements.txt

And after that run the command below to initialize the package:

requirements-txt install

It will update your current pip scripts to execute the functionality of this package.

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

Setup project

To set up VirtualEnv based project just type:

requirements-txt init

The same effect could be achieved much easier with aliases:

rt i

Documentation

The detailed documentation is available on requirements-txt.readthedocs.io.

Contributing

Visit the file CONTRIBUTING.md.

License

Visit the file MIT.

Metadata

Release files for to-requirements.txt 1.2.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 to-requirements.txt 1.2.0
File Size Uploaded Provenance Actions
to-requirements.txt-1.2.0.tar.gz 10.9 kB Without provenance Details for to-requirements.txt-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for to-requirements.txt 1.2.0
File Interpreter ABI Platform Actions
to_requirements.txt-1.2.0-py3-none-any.whl Python 3 none any Details for to_requirements.txt-1.2.0-py3-none-any.whl

Total release size: 24.0 kB

Release files / to-requirements.txt-1.2.0.tar.gz

Download URL to-requirements.txt-1.2.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
02ebb7a7be17e80cb20d61aa1bef9320e0cb75b885315ba558599953857c838f
BLAKE2b-256 checksum
How to use checksums
0288ea00fd6786eae1bf322a05dc5887e03670db877598f6e22b632996c4d2fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / to_requirements.txt-1.2.0-py3-none-any.whl

Download URL to_requirements.txt-1.2.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89d11c3a33e9be5b32a03b67fd5a3c5fb5749d195157d7ba883091a9a4787734
BLAKE2b-256 checksum
How to use checksums
b3a75365d4bd662816bc86c3b9a9388a44c1d6b965a498b32baa1e0a39b591f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for to-requirements.txt 1.2.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.

Release history Release notifications | RSS feed

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