Skip to main content

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.

Release files for yippee 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yippee 0.0.1
File Size Uploaded
yippee-0.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yippee 0.0.1
File Interpreter ABI Platform
yippee-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 9.3 kB

Release files / yippee-0.0.1.tar.gz

Download URL yippee-0.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1e45fdf82ecaef11e6be2d48e36eb94db72f6e8534896829231c65380f03ed16
BLAKE2b-256 checksum
How to use checksums
f655eef05f5e4597e5d1a26fe498f260c1bfa0f368e4ecdacd16f351a6a2ca8d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / yippee-0.0.1-py2.py3-none-any.whl

Download URL yippee-0.0.1-py2.py3-none-any.whl
Size 4.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c85d8b1402f8d892680a8aea32f17a971889ad4aaa0824d3f7be0bb4cb31fed2
BLAKE2b-256 checksum
How to use checksums
c47582cdf293545798e5e15d356c79257085fcdb6ba57276dc92cb6bac367e38
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page