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
Built Distribution
File details
Details for the file yippee-0.0.1.tar.gz
.
File metadata
- Download URL: yippee-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e45fdf82ecaef11e6be2d48e36eb94db72f6e8534896829231c65380f03ed16 |
|
MD5 | 1d2af0214b61ca67e651c1ccf260d9a4 |
|
BLAKE2b-256 | f655eef05f5e4597e5d1a26fe498f260c1bfa0f368e4ecdacd16f351a6a2ca8d |
File details
Details for the file yippee-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: yippee-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c85d8b1402f8d892680a8aea32f17a971889ad4aaa0824d3f7be0bb4cb31fed2 |
|
MD5 | e809745dfc458ac0d565424b6b3a3016 |
|
BLAKE2b-256 | c47582cdf293545798e5e15d356c79257085fcdb6ba57276dc92cb6bac367e38 |