Skip to main content

Um wrapper simples para o pip que instala e já escreve o nome e a versão do pacote no requirements.txt

Project description

pipg - Wrapper para Pip

pipg é um wrapper para pip que facilita a instalação e remoção de pacotes Python, mantendo automaticamente um arquivo requirements.txt atualizado.

🚀 Funcionalidades

  • Instala pacotes com pipg install <pacote>.
  • Remove pacotes com pipg uninstall <pacote>.
  • Atualiza automaticamente o requirements.txt com a versão correta dos pacotes instalados.
  • Mensagens coloridas para melhor visualização dos status.

📦 Instalação

Para instalar o pipg como um pacote local:

pip install .

🛠 Uso

✅ Instalar um pacote

pipg install fastapi

Isso instalará o pacote fastapi e registrará a versão no requirements.txt.

❌ Desinstalar um pacote

pipg uninstall fastapi

Isso removerá o fastapi e o excluirá do requirements.txt.

🏗 Estrutura do Projeto

pipg/
│── pipg/
│   │── __init__.py
│   │── cli.py
│── setup.py
│── README.md
│── LICENSE
│── setup.cfg
│── pyproject.toml

🤝 Contribuição

  1. Faça um fork do repositório.
  2. Crie uma branch para sua feature (git checkout -b minha-feature).
  3. Faça commit das suas alterações (git commit -m 'Adiciona nova feature').
  4. Faça push para a branch (git push origin minha-feature).
  5. Abra um Pull Request.

📜 Licença

Este projeto está sob a licença MIT. Sinta-se à vontade para utilizá-lo e modificá-lo conforme necessário.

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

pipg-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipg-0.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file pipg-0.2.0.tar.gz.

File metadata

  • Download URL: pipg-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.8

File hashes

Hashes for pipg-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fcaff767e2246b7b3072bff5a46f1a99a2bfc7f0ea06374aa3b66abda622e6ea
MD5 3246ce67dea42072b20e0bea76fff00b
BLAKE2b-256 d2f396917abe5f18403ab6bc0c790553ada7ef67d0f9ded59aff4925682cf62f

See more details on using hashes here.

File details

Details for the file pipg-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pipg-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.8

File hashes

Hashes for pipg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d864b09fab1532ce0f28122a3a07c71e4dd4f32df1ad609ab35af8f8061cc90
MD5 a3ad8647134371a9b330e889776a537b
BLAKE2b-256 11b54a14f7d11ae54ac88caac6bf618a7702097d39f6662f804a510857de5df1

See more details on using hashes here.

Supported by

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