Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

mpip-0.1.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page