{
    "info": {
        "author": "Jo\u00e3o Paulo Carvalho",
        "author_email": "jjpaulo2@protonmail.com",
        "bugtrack_url": null,
        "classifiers": [
            "Programming Language :: Python :: 3"
        ],
        "description": "# PIPCONF - The PIP configuration manager\n\n![](screenshot.png)\n\nIf you need to manage multiple configurations containing indexes and trusted hosts for PIP, this project was made for you.\n\n### Introduction\n\nThe `pipconf` is based in `pip.conf` files in `$HOME/.pip` folder. But you won't create it with this name. So, you need to create your configuration files following the template `config-file-name.conf`. \n\nFor the first steps, create a `$HOME/.pip` folder.\n```shell\n# Create the folder, and enter it\n$ mkdir $HOME/.pip\n$ cd $HOME/.pip\n\n# Create 2 files inside .pip folder\n$ touch personal-config.conf company-config.conf\n```\n\nInside the files, you can put the configurations like `index-url`, `timeout`, `extra-index-url`, `trusted-host`, etc. You can confer [here](https://pip.pypa.io/en/stable/user_guide/#configuration) all the options.\n\n```toml\n<!-- personal-config.conf -->\n\n[global]\nindex-url = https://pypi.org/simple/\ntrusted-host = pypi.org\n```\n\n```toml\n<!-- company-config.conf -->\n\n[global]\nindex-url = http://mycompany.com/artifactory/api/pypi/pypi/simple\nextra-index-url = http://mycompany.com/artifactory/api/pypi/pypi-local/simple/\ntrusted-host = mycompany.com\n```\n\n## Instalation\n\nThis project uses only pure Python. So, you don't need to install any project dependencies. Just run the `setuptools` installer.\n\n```shell\n$ python setup.py install\n```\n\nComing soon, the package will be avaliable at PyPI.\n\n## Usage\n\n```shell\n$ pipconf --help\n```\nThe expected output should be something like the following content.\n\n    usage: pipconf [-h] [--current] [--list] [--set FILENAME] [--local]\n\n    ______ ___________  _____ _____ _   _ ______\n    | ___ \\_   _| ___ \\/  __ \\  _  | \\ | ||  ___|\n    | |_/ / | | | |_/ /| /  \\/ | | |  \\| || |_\n    |  __/  | | |  __/ | |   | | | | . ` ||  _|\n    | |    _| |_| |    | \\__/\\ \\_/ / |\\  || |\n    \\_|    \\___/\\_|     \\____/\\___/\\_| \\_/\\_|  v0.1.0\n\n    Under BSD-2-Clause License, by @jjpaulo2\n    Contribute at https://github.com/jjpaulo2/pipconf\n\n    optional arguments:\n    -h, --help      show this help message and exit\n\n    display informations:\n    --current       show the current pip configuration file\n    --list          list all user configurations avaliable at $HOME/.pip\n\n    change configuration:\n    --set FILENAME  set the global configuration for pip from a file in $HOME/.pip\n    --local         set the pip configuration for the current directory file\n\n\n### Querying the current configuration file\n\n```shell\n$ pipconf --current\n```\n\nThis command will show the current file used. If you are not using anyone, it will show it too.\n\n    The current pip configuration file is /home/jjpaulo2/.pip/personal-config.conf\n\n### Querying the avaliable configuration files in `$HOME/.pip`\n\n```shell\n$ pipconf --list\n```\n\nThis command will show the avaliable configuration files in `$HOME/.pip` folder. If someone of then is being used, you will see a `*` simbol at it left.\n\n    * personal-config (/home/jjpaulo2/.pip/personal-config.conf)\n      company-config (/home/jjpaulo2/.pip/company-config.conf)\n\n### Setting a file from `$HOME/.pip` as current configuration file\n\n```shell\n$ pipconf --set company-config\n```\n\nThis will update the current file used, and will output the following message.\n\n    Current pip configuration successfully updated.\n    The active config file is /home/jjpaulo2/.pip/company-config.conf\n\n### Setting a `pip.conf` file from the current working directory\n\n```shell\n$ ls\npip.conf ...\n```\n\nIf the current directory you are in, have a `pip.conf` file, then you can just active it.\n\n```shell\npipconf --local\n```\n\nThe output should be something like the following content.\n\n    Geting configuration file from current directory.\n    The active config file is /home/jjpaulo2/dev/myproject/pip.conf\n\n",
        "description_content_type": "text/markdown",
        "docs_url": null,
        "download_url": "",
        "downloads": {
            "last_day": -1,
            "last_month": -1,
            "last_week": -1
        },
        "home_page": "https://github.com/jjpaulo2/pipconf",
        "keywords": "",
        "license": "BSD 2-Clause",
        "maintainer": "",
        "maintainer_email": "",
        "name": "pipconf",
        "package_url": "https://pypi.org/project/pipconf/",
        "platform": "",
        "project_url": "https://pypi.org/project/pipconf/",
        "project_urls": {
            "Bug Tracker": "https://github.com/jjpaulo2/pipconf/issues",
            "Homepage": "https://github.com/jjpaulo2/pipconf"
        },
        "release_url": "https://pypi.org/project/pipconf/1.0.0/",
        "requires_dist": null,
        "requires_python": ">=3.6",
        "summary": "Python's PIP configuration manager",
        "version": "1.0.0",
        "yanked": false,
        "yanked_reason": null
    },
    "last_serial": 10872123,
    "releases": {
        "1.0.0": [
            {
                "comment_text": "",
                "digests": {
                    "md5": "71d3ceb2335770e0f03bfa5c8663adbd",
                    "sha256": "172a011da62e1ddcb09965fa8a59fda5284190e2f345d18e68dc07be9a6824bb"
                },
                "downloads": -1,
                "filename": "pipconf-1.0.0-py3-none-any.whl",
                "has_sig": false,
                "md5_digest": "71d3ceb2335770e0f03bfa5c8663adbd",
                "packagetype": "bdist_wheel",
                "python_version": "py3",
                "requires_python": ">=3.6",
                "size": 12146,
                "upload_time": "2021-07-10T05:30:23",
                "upload_time_iso_8601": "2021-07-10T05:30:23.659648Z",
                "url": "https://files.pythonhosted.org/packages/a1/77/cd8c3b2733a0885368df4f0ca13d42b5696ee2fd0b67e1039008e014d506/pipconf-1.0.0-py3-none-any.whl",
                "yanked": false,
                "yanked_reason": null
            }
        ]
    },
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "71d3ceb2335770e0f03bfa5c8663adbd",
                "sha256": "172a011da62e1ddcb09965fa8a59fda5284190e2f345d18e68dc07be9a6824bb"
            },
            "downloads": -1,
            "filename": "pipconf-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "71d3ceb2335770e0f03bfa5c8663adbd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 12146,
            "upload_time": "2021-07-10T05:30:23",
            "upload_time_iso_8601": "2021-07-10T05:30:23.659648Z",
            "url": "https://files.pythonhosted.org/packages/a1/77/cd8c3b2733a0885368df4f0ca13d42b5696ee2fd0b67e1039008e014d506/pipconf-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "vulnerabilities": []
}