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.2.tar.gz
(3.7 kB
view details)
Built Distribution
mpip-0.1.2-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file mpip-0.1.2.tar.gz
.
File metadata
- Download URL: mpip-0.1.2.tar.gz
- Upload date:
- Size: 3.7 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 | d48511cff1cc61ab03a18ad75701716df312857cab09871f56e7440f6eff05ed |
|
MD5 | 6a9dc8ddf1ea3a0b3c1655037011f534 |
|
BLAKE2b-256 | 5f82a3983410195e1271c3c8b6f91a6a9b447f342392541b10fe775ff145d171 |
File details
Details for the file mpip-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: mpip-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.2 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 | cc004ba22957dea6615a19b902e5a9f6d42507a47375e5f4abec92ca5a2b94cd |
|
MD5 | aea0ed4f3195fdeb4219f00682016226 |
|
BLAKE2b-256 | d863b679fc2b750a7733237ed72057cf4a68ed81e6d96374bf29730b17b0cf02 |