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.txtcom 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
- Faça um fork do repositório.
- Crie uma branch para sua feature (
git checkout -b minha-feature). - Faça commit das suas alterações (
git commit -m 'Adiciona nova feature'). - Faça push para a branch (
git push origin minha-feature). - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcaff767e2246b7b3072bff5a46f1a99a2bfc7f0ea06374aa3b66abda622e6ea
|
|
| MD5 |
3246ce67dea42072b20e0bea76fff00b
|
|
| BLAKE2b-256 |
d2f396917abe5f18403ab6bc0c790553ada7ef67d0f9ded59aff4925682cf62f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d864b09fab1532ce0f28122a3a07c71e4dd4f32df1ad609ab35af8f8061cc90
|
|
| MD5 |
a3ad8647134371a9b330e889776a537b
|
|
| BLAKE2b-256 |
11b54a14f7d11ae54ac88caac6bf618a7702097d39f6662f804a510857de5df1
|