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.1.0.tar.gz (3.3 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.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pipg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b4403d4d659f782d52acc6da5473f7cf2ee59f189bba08c106e1861328592ffd
MD5 04fc4ba4d06ad7746547bcbc7cec2582
BLAKE2b-256 4a85654b8cbb341f351915242262e0949b250ea65d46b67eef76a7d94138abf9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pipg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77a688c229d535678314a3d72e2422f75d31ad0e43a36c187e7e48fd8a2dad77
MD5 12fc766bedcaf4558b3cf11c32d039de
BLAKE2b-256 b757b841aa499e2276b0bb91e93eec4360f03b6bd6d87857cefdd8898f634dba

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