Skip to main content

Easily manage your requirements.txt files!

Project description

Yippee

Manage requirements.txt files

Using requirements.txt files makes it hard to distinguish between top-level dependencies and transient dependencies. In addition, separating out different dependencies for multiple environments is challenging. Yippee attempts to ease the pain by specifying a DSL by which requirements.txt files can be generated.

For example, with the following yippee.py file:

from yippee import group, pip

pip("django", ">=2.1.0")

with group("production"):
    pip("postgres", "2.2.2")

with group("development"):
    pip("black")

This would generate:

requirements.txt

Django==2.1.5
pytz==2018.7

requirements-production.txt

-r requirements.txt
postgres==2.2.2
psycopg2-binary==2.7.6.1

and

requirements-development.txt

-r requirements.txt
appdirs==1.4.3
attrs==18.2.0
black==18.9b0
Click==7.0
toml==0.10.0

Usage

Install yippee via pypi. Then you can run yippee to generate your requirements.txt files.

Project details


Release history Release notifications

This version

0.0.1

Download files

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

Files for yippee, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size yippee-0.0.1-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size yippee-0.0.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page