Skip to main content

rqr

Python ReQuiRements.

Handle requirements for python. Based on pip, inspired by npm. And get rid of all those different requirements.txt files.

WARNING: This is alpha and a pure prototype at the moment.

Installation

$ pip install rqr

Usage

Install

Just like pip install with the possibility to --save your required package.

$ rqr install --save django ipython

{'django': '1.9.7', 'ipython: '4.2.1'}

Does also support --save-development and --save-production. Default is base which is shared across the other two.

List

WARNING: This does display all managed requirements, but it does NOT say anything about the installed ones.

Shows all managed requirements, just like pip list.

$ rqr list

base:
  - django@1.9.7
development:
  - ipython@4.2.1

Update

Checks for updates in your rqr.yaml file’s packages. Does write new versions to file by default, to do otherwise use --dry-run flag.

$ rqr update

django 1.3.0 -> 1.9.7

Migrate

WARNING: Does override your rqr.yaml configuration if you had one before without any further warning.

Tries to discover existing requirements files or folders and migrate them. Uses current working directory and does not traverse directories deeply.

$ rqr migrate

Discovered dev-requirements.txt (development)
Discovered requirements/base.txt (base)
  - django@1.9.3
  - djangorestframework@3.3.1
  - pillow@3.1.1
Discovered requirements/development.txt (development)
  - Invalid: -r base.txt
  - ipython@4.0.0
Discovered requirements/production.txt (production)
  - Invalid: -r base.txt
  - gunicorn@19.3.0
Discovered requirements-dev.txt (development)
Discovered requirements.txt (base)

Metadata

Release files for rqr 0.4.2

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

Source distribution (sdist)

Source distribution for rqr 0.4.2
File Size Uploaded
rqr-0.4.2.tar.gz 5.6 kB Details

Release files / rqr-0.4.2.tar.gz

Download URL rqr-0.4.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c47f3f361ccf3cdd693c3fdecfba0f95bfed5ccdc0f4d1fb5b1856b897d9137f
BLAKE2b-256 checksum
How to use checksums
6f15c152e4b3effc625be5314efcdfa98723ae563e2dea4e1c117d94b8da55ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.2 This release

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.0

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