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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yippee-0.0.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for yippee-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c85d8b1402f8d892680a8aea32f17a971889ad4aaa0824d3f7be0bb4cb31fed2 |
|
MD5 | e809745dfc458ac0d565424b6b3a3016 |
|
BLAKE2b-256 | c47582cdf293545798e5e15d356c79257085fcdb6ba57276dc92cb6bac367e38 |