Skip to main content

pip-update-requirements

Tests Coverage Dependencies

Update the packages in a requirements.txt file.

Purring Cat

Installation

pip install pur

Usage

Give pur your requirements.txt file and it updates all your packages to the latest versions.

For example, given a requirements.txt file:

flask==0.9
sqlalchemy==0.9.10
alembic==0.8.4

Running pur on that file updates the packages to current latest versions:

$ pur requirements.txt
Updated flask: 0.9 -> 0.10.1
Updated sqlalchemy: 0.9.10 -> 1.0.12
Updated alembic: 0.8.4 -> 0.8.6
All requirements up-to-date.

Pur never modifies your environment or installed packages, it only modifies your requirements.txt file.

Options

There is an optional --output argument to write the new requirements.txt file to a different location than the default. By default, pur overwrites your requirements.txt file.

Contributing

Before contributing a pull request, make sure tests pass:

virtualenv venv
. venv/bin/activate
pip install tox
tox

Many thanks to all contributors!

Metadata

Release files for pur 2.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pur 2.0.5
File Size Uploaded Provenance Actions
pur-2.0.5.tar.gz 5.0 kB Without provenance Details for pur-2.0.5.tar.gz

Release files / pur-2.0.5.tar.gz

Download URL pur-2.0.5.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ff1e8e94cd1824831141e08f8cc2ede4cdbb6564f2fbbc17f39a6b3d91ddf96f
BLAKE2b-256 checksum
How to use checksums
0f197fb6974af58d0c2b48e59c760d76fb2eff2a6647df1bc563fc945c402019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pur 2.0.5

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

This release

2.0.5 This release

1 release file No provenance

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