RePyPI
Imagine, you just got hired to fix a legacy Python project. But the previous project maintainer did not bother to add versions to requirements.txt. If you know when was that project made, you can use repypi to populate requirements.txt with what was newest at the time! repypi will not touch any requirement lines that it fails to parse or that already have a version spec.
Install
You may install using pip install repypi or pipx install repypi
Usage
Example requirements.txt
# This is a comment
numpy
tensorflow
pandas
RePyPI can modify requirements.txt to contain newest packages on 01/01/2018
repypi -r requirements.txt -d "01/01/2018"
With the resulting file being:
# This is a comment
numpy==1.14.0rc1
tensorflow==1.4.1
pandas==0.22.0
Other examples
# Get newest version of wget now
repypi -p wget
# wget==3.2
# Get newest version of wget at 1st of January 2015
repypi -p wget -d "01/01/2015"
# wget==2.2
Metadata
Release files for repypi 1.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| repypi-1.1.6.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| repypi-1.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / repypi-1.1.6.tar.gz
| Download URL | repypi-1.1.6.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
547b82cbc14e744d60cc272aa328e5d251d923ee732ab443da818ca0b569abbd
|
|
BLAKE2b-256 checksum How to use checksums |
e80c30413b2b03951c94416eb1e12a9d39fc3d6b658b39a078385bc62c55d5ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / repypi-1.1.6-py3-none-any.whl
| Download URL | repypi-1.1.6-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0760cfea5164b2a2897192bd6b77716d89480725c4ce50c5a751fc97f81de11
|
|
BLAKE2b-256 checksum How to use checksums |
5013ce5472c6547d798290647412535ca822e6e5547e8bd9c86da43e206b991c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|