Skip to main content

This is a short description

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repypi-1.1.6.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

repypi-1.1.6-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page