Package: pipconf
PIPCONF - The PIP configuration managerIf you need to manage multiple configurations containing indexes and trusted hosts for PIP, this project was made for you.IntroductionThepipconfis based inpip.conffiles in$HOME/.pipfolder. But you won't create it with this name. So, you need to create your configuration files following the templateconfig-file-name.conf.For the first steps, create a$HOME/.pipfolder.# Create the folder, and enter it$mkdir$HOME/.pip
$cd$HOME/.pip# Create 2 files inside .pip folder$touchpersonal-config.confcompany-config.confInside the files, you can put the configurations likeindex-url,timeout,extra-index-url,trusted-host, etc. You can conferhereall the options.<!--personal-config.conf-->[global]index-url=https://pypi.org/simple/trusted-host=pypi.org<!--company-config.conf-->[global]index-url=http://mycompany.com/artifactory/api/pypi/pypi/simpleextra-index-url=http://mycompany.com/artifactory/api/pypi/pypi-local/simple/trusted-host=mycompany.comInstalationThis project uses only pure Python. So, you don't need to install any project dependencies. Just run thesetuptoolsinstaller.$pythonsetup.pyinstallComing soon, the package will be avaliable at PyPI.Usage$pipconf--helpThe expected output should be something like the following content.usage: pipconf [-h] [--current] [--list] [--set FILENAME] [--local]

______ ___________  _____ _____ _   _ ______
| ___ \_   _| ___ \/  __ \  _  | \ | ||  ___|
| |_/ / | | | |_/ /| /  \/ | | |  \| || |_
|  __/  | | |  __/ | |   | | | | . ` ||  _|
| |    _| |_| |    | \__/\ \_/ / |\  || |
\_|    \___/\_|     \____/\___/\_| \_/\_|  v0.1.0

Under BSD-2-Clause License, by @jjpaulo2
Contribute at https://github.com/jjpaulo2/pipconf

optional arguments:
-h, --help      show this help message and exit

display informations:
--current       show the current pip configuration file
--list          list all user configurations avaliable at $HOME/.pip

change configuration:
--set FILENAME  set the global configuration for pip from a file in $HOME/.pip
--local         set the pip configuration for the current directory fileQuerying the current configuration file$pipconf--currentThis command will show the current file used. If you are not using anyone, it will show it too.The current pip configuration file is /home/jjpaulo2/.pip/personal-config.confQuerying the avaliable configuration files in$HOME/.pip$pipconf--listThis command will show the avaliable configuration files in$HOME/.pipfolder. If someone of then is being used, you will see a*simbol at it left.* personal-config (/home/jjpaulo2/.pip/personal-config.conf)
  company-config (/home/jjpaulo2/.pip/company-config.conf)Setting a file from$HOME/.pipas current configuration file$pipconf--setcompany-configThis will update the current file used, and will output the following message.Current pip configuration successfully updated.
The active config file is /home/jjpaulo2/.pip/company-config.confSetting apip.conffile from the current working directory$ls
pip.conf...If the current directory you are in, have apip.conffile, then you can just active it.pipconf--localThe output should be something like the following content.Geting configuration file from current directory.
The active config file is /home/jjpaulo2/dev/myproject/pip.conf