Coder Social home page Coder Social logo

jjpaulo2 / pipconf Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 1.0 386 KB

⚙ A simple and easy to use Python's PIP configuration manager, similar to the Arch Linux's Java manager.

Home Page: https://pypi.org/project/pipconf/

License: BSD 2-Clause "Simplified" License

Python 100.00%
pip pure-python pypi python

pipconf's Issues

New command to create a new configuration from a template

We can add a new command to the tool, to create a configuration file from a template, to reduce the time necessary to create a new configuration.

e.g.: pipconf new <config-name>

The template must contain every parameters listten in the oficial pip documentation.

https://pip.pypa.io/en/stable/topics/configuration/#configuration-files


It must be interesting to follow the same that pylint did. The command pylint --generate-toml-config sends to stdout a content of .toml file with all configuration parameters possible in pylint configuration.

[tool.pylint.main]
# Analyse import fallback blocks. This can be used to support both Python 2 and 3
# compatible code, which means that the block might have code that exists only in
# one or another interpreter, leading to false positives when analysed.
# analyse-fallback-blocks =

# Clear in-memory caches upon conclusion of linting. Useful if running pylint in
# a server-like mode.
# clear-cache-post-run =
...

Configuration templates

#4 can bring us a new possibility of store multiple configuration templates, for any purposes, like:

  • one configuration to use just a private pypi server
  • one configuration to use a specific SSL certificate
  • any configuration we see as necessary

Criar arquivo pip.conf automaticamente na primeira execução

Hoje, é necessário primeiro configurar manualmente a pasta $HOME/.pip e povoar ela com ao menos um arquivo para tornar possível iniciar a utilizar a ferramenta.

Seria ideal que caso a pasta $HOME/.pip não exista ou não haja nenhuma arquivo de configuração nela, isso seja gerado automaticamente na primeira vez em que a ferramenta é executada.

installation location

Why is installed in /Users/me/Library/Python/3.7/lib/python/site-packages instead of /Library/Python/3.7/site-packages?

On MacOS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.