Librería para facilitar la instalación de paquetes de python en Cuba sin gastar megas
Project description
xcu - Instalador de paquetes Python para Cuba 🇨🇺
xcu es un wrapper de pip que facilita la instalación de paquetes de Python desde el repositorio PyPI de Cuba, eliminando la necesidad de escribir comandos largos con parámetros de configuración.
Características
- ✅ Compatible con Windows, macOS y Linux
- ✅ Interfaz simple y familiar (como pip)
- ✅ Configuración automática del repositorio cubano
- ✅ Soporte para todos los comandos de pip
- ✅ Instalación de paquetes sin gasto de megas
- ✅ Instalación sencilla
- ✅ Inicia proyecto con simples plantillas
Instalación
Opción 1: Desde el código fuente
git clone https://github.com/KeimaSenpai/xcu.git
cd xcu
pip install .
Opción 2: Instalación desde pypi
pip install xcu
Uso
Una vez instalado, puedes usar xcu como si fuera pip:
Iniciar un proyecto
xcu init Mi-proyecto
Para iniciarlo desde la carpeta inicial
xcu init .
Instalar un paquete
xcu install requests
Instalar múltiples paquetes
xcu install numpy pandas matplotlib
Instalar desde requirements.txt
xcu install -r requirements.txt
Otros comandos (funcionan igual que pip)
xcu list # Listar paquetes instalados
xcu show requests # Mostrar información de un paquete
xcu uninstall requests # Desinstalar un paquete
xcu --help # Mostrar ayuda
¿Qué hace por detrás?
Cuando ejecutas:
xcu install requests
En realidad se ejecuta:
python -m pip install requests --index-url http://nexus.prod.uci.cu/repository/pypi-proxy/simple/ --trusted-host nexus.prod.uci.cu
Estructura del proyecto
xcu/
├── xcu/
│ ├── __init__.py
│ └── main.py
├── README.md
└── LICENSE
Requisitos
- Python 3.6 o superior
- pip (incluido con Python)
Contribuir
- Fork el repositorio
- Crea una rama para tu feature (
git checkout -b feature/nueva-funcionalidad) - Commit tus cambios (
git commit -am 'Agregar nueva funcionalidad') - Push a la rama (
git push origin feature/nueva-funcionalidad) - Crea un Pull Request
Licencia
Este proyecto está licenciado bajo la Licencia MIT - ver el archivo LICENSE para más detalles.
Repositorio PyPI de Cuba
- URL: http://nexus.prod.uci.cu/repository/pypi-proxy/simple/
- Host de confianza: nexus.prod.uci.cu
Soporte
Si encuentras algún problema o tienes sugerencias, por favor crea un issue en el repositorio de GitHub.
Project details
Release history Release notifications | RSS feed
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 xcu-1.0.0.tar.gz.
File metadata
- Download URL: xcu-1.0.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b8c140a10e20d5b677408fbf4e1edc6ba959471352213fc0a2b1f5732b3d1e9
|
|
| MD5 |
6613e07dd24fad0e99b11fa300fb2b20
|
|
| BLAKE2b-256 |
e2cb486b5783977d9db6d62dc78f09d89b71bff6b9c32367a391cd79fffcf5d9
|
File details
Details for the file xcu-1.0.0-py3-none-any.whl.
File metadata
- Download URL: xcu-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d0abfdf4eff031f7a97e09f14054a22d22b340d8bdb44678afc68723df1e04f
|
|
| MD5 |
f17c736289f59ac53eac3b3fb15c04d2
|
|
| BLAKE2b-256 |
107246828eae167ebfe203e7a24a78b4ea7505b660a01ea2858b3c3e0a54a178
|