mpip is a thin wrapper around pip which helps you manage your project requirements.
Project description
mpip
("managed pip") is a thin wrapper around pip that helps you manage your requirements.txt
file.
Installation
pip install mpip
Basic Usage
mpip install django # adds "django" to your requirements file
mpip install django==3.1.5 # adds "django==3.1.5" to your requirements file
mpip uninstall django # removes any version of django from your requirements file
For more detailed usage information, see mpip --help
.
The CLI is built using python-fire
, so for more details about the specific mechanics of argument parsing, that would be the first place to look. Generally speaking, it will try to parse arguments as python objects, e.g.
--quiet True
Features
- Creates
requirements.txt
if one is not detected - Handles pip versioning semantics such as
<
,>
,>=
,==
- Deletes
requirements.txt
if all requirements have been uninstalled
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
mpip-0.1.3.tar.gz
(3.2 kB
view details)
Built Distribution
mpip-0.1.3-py3-none-any.whl
(3.6 kB
view details)
File details
Details for the file mpip-0.1.3.tar.gz
.
File metadata
- Download URL: mpip-0.1.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2d8e6547513c98476494f06e0c1d82132b7fb48c7f0fad6a3cbb7bc949bb132 |
|
MD5 | a9a7d0948e841c665171aec859e0325d |
|
BLAKE2b-256 | d35fd332f28dde998c33e942c056baa0056bfc6fdb909f037165919d8a23bbb9 |
File details
Details for the file mpip-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: mpip-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63bc1d64032acf7cc1fe1cb9b6dc85ab58a35eb435465e020299c4fe0208b260 |
|
MD5 | 24f9b08b426f222b4c433fc2468c591d |
|
BLAKE2b-256 | dcf64eef5a4f4ca6c1738830d3ff53193b0c1a664d9a0a8844ce3ed3b0310b84 |