# mppm
## Introduce
Configure the pypi source repository, support for downloading specified modules or files and its dependent packages.
## My Use Case
The project project is offline and requires downloading the dependent package locally.
The project project can only be started after the installation of the dependent package is completed.
## Installation
pip install mppm
## Usage
usage: mppm <sub-commands> [<args>]
mppm Manage pip sources and dependent packages
positional arguments:
{download,uninstall,config}
download download modules
uninstall uninstall modules
config rewrite pip configuration
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
### SubCommand: config
usage: mppm <sub-commands> [<args>] config [-h] [-y]
options:
-h, --help show this help message and exit
-y, --yes force rewrite pip configuration
#### examples
mppm config
### SubCommand: download
usage: mppm <sub-commands> [<args>] download [-h] (-m MODULE | -r REQUIREMENT) [-y]
options:
-h, --help show this help message and exit
-m MODULE, --module MODULE
download specified modules and dependencies
-r REQUIREMENT, --requirement REQUIREMENT
download the modules and dependencies specified in the file. like requirements.txt
-y, --yes rewrite the pip configuration
#### examples
mppm download -m flask
mppm download -r /tmp/requiremen.txt
### SubCommand: uninstall
usage: mppm <sub-commands> [<args>] uninstall [-h] (-m MODULE | -r REQUIREMENT) [-y]
options:
-h, --help show this help message and exit
-m MODULE, --module MODULE
uninstall specified modules and dependencies
-r REQUIREMENT, --requirement REQUIREMENT
uninstall the modules and dependencies specified in the file. like requirements.txt
-y, --yes interactive
#### examples
mppm uninstall -m flask
mppm download -r /tmp/requiremen.txt -y
## Configuration
You can add package indexes to your `~/.pip/pip.conf` file. Example:
[global]
timeout = 120
index-url = https://pypi.org/simple/
trusted-host = pypi.org
Raw data
{
"_id": null,
"home_page": "https://gitee.com/TianCiwang/mppm.git",
"name": "mppm",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "pypi,mirror,package",
"author": "TianCiwang",
"author_email": "13623650548@163.com",
"download_url": "https://files.pythonhosted.org/packages/6c/59/76f65b929d38234196af8a326b90fb2cca2c1836103bc43f3a0fc97a801d/mppm-3.0.9.tar.gz",
"platform": null,
"description": "# mppm\n\n## Introduce\n\nConfigure the pypi source repository, support for downloading specified modules or files and its dependent packages.\n\n## My Use Case\n\nThe project project is offline and requires downloading the dependent package locally. \nThe project project can only be started after the installation of the dependent package is completed.\n\n## Installation\n\n pip install mppm\n\n## Usage\n\n usage: mppm <sub-commands> [<args>] \n\n mppm Manage pip sources and dependent packages\n \n positional arguments:\n {download,uninstall,config}\n download download modules\n uninstall uninstall modules\n config rewrite pip configuration\n \n options:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n\n### SubCommand: config\n usage: mppm <sub-commands> [<args>] config [-h] [-y]\n\n options:\n -h, --help show this help message and exit\n -y, --yes force rewrite pip configuration\n\n#### examples\n\n mppm config\n\n### SubCommand: download\n\n usage: mppm <sub-commands> [<args>] download [-h] (-m MODULE | -r REQUIREMENT) [-y]\n \n options:\n -h, --help show this help message and exit\n -m MODULE, --module MODULE\n download specified modules and dependencies\n -r REQUIREMENT, --requirement REQUIREMENT\n download the modules and dependencies specified in the file. like requirements.txt\n -y, --yes rewrite the pip configuration\n\n\n #### examples\n mppm download -m flask \n mppm download -r /tmp/requiremen.txt\n\n### SubCommand: uninstall\n\n usage: mppm <sub-commands> [<args>] uninstall [-h] (-m MODULE | -r REQUIREMENT) [-y]\n\n options:\n -h, --help show this help message and exit\n -m MODULE, --module MODULE\n uninstall specified modules and dependencies\n -r REQUIREMENT, --requirement REQUIREMENT\n uninstall the modules and dependencies specified in the file. like requirements.txt\n -y, --yes interactive\n\n #### examples\n mppm uninstall -m flask\n mppm download -r /tmp/requiremen.txt -y\n\n## Configuration\n\nYou can add package indexes to your `~/.pip/pip.conf` file. Example:\n\n [global]\n timeout = 120\n index-url = https://pypi.org/simple/\n trusted-host = pypi.org\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Manager Pypi Package & Mirror",
"version": "3.0.9",
"project_urls": {
"Homepage": "https://gitee.com/TianCiwang/mppm.git"
},
"split_keywords": [
"pypi",
"mirror",
"package"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4f10201a216126832cce7b367bae68997f9577d55969cf7dd9592b507b69b2ce",
"md5": "287d275cdd19eae20045141bbb54a9a7",
"sha256": "479dbcd2ff1a283d6da6b75f36d8db5c7fa7c3262f864158d934b3d8a0a65268"
},
"downloads": -1,
"filename": "mppm-3.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "287d275cdd19eae20045141bbb54a9a7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9592,
"upload_time": "2023-11-08T04:03:56",
"upload_time_iso_8601": "2023-11-08T04:03:56.721416Z",
"url": "https://files.pythonhosted.org/packages/4f/10/201a216126832cce7b367bae68997f9577d55969cf7dd9592b507b69b2ce/mppm-3.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6c5976f65b929d38234196af8a326b90fb2cca2c1836103bc43f3a0fc97a801d",
"md5": "1ca819df9bffd00573bb9ab6a68d0a1b",
"sha256": "25ff6d9d98089df71ed293b11c6b69fd7a875201b197b6f84aa13c9d54e34b26"
},
"downloads": -1,
"filename": "mppm-3.0.9.tar.gz",
"has_sig": false,
"md5_digest": "1ca819df9bffd00573bb9ab6a68d0a1b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6645,
"upload_time": "2023-11-08T04:03:58",
"upload_time_iso_8601": "2023-11-08T04:03:58.143067Z",
"url": "https://files.pythonhosted.org/packages/6c/59/76f65b929d38234196af8a326b90fb2cca2c1836103bc43f3a0fc97a801d/mppm-3.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-08 04:03:58",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "mppm"
}