Skip to main content

Librería para facilitar la instalación de paquetes de python en Cuba sin gastar megas

Project description

xcu

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

  1. Fork el repositorio
  2. Crea una rama para tu feature (git checkout -b feature/nueva-funcionalidad)
  3. Commit tus cambios (git commit -am 'Agregar nueva funcionalidad')
  4. Push a la rama (git push origin feature/nueva-funcionalidad)
  5. 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

Soporte

Si encuentras algún problema o tienes sugerencias, por favor crea un issue en el repositorio de GitHub.

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

xcu-1.0.3b0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

xcu-1.0.3b0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file xcu-1.0.3b0.tar.gz.

File metadata

  • Download URL: xcu-1.0.3b0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for xcu-1.0.3b0.tar.gz
Algorithm Hash digest
SHA256 36f65e435b42e2ffc528083396b21e72ef4d790623d298b0ce0a1a1a01eefbc7
MD5 41b189b9a464ff623a163dbd8b19f9ac
BLAKE2b-256 4b6a5ec0e79e9ec1bbe5506041c4e2af9298f7d1d240ded1813d7f45ec831ecd

See more details on using hashes here.

File details

Details for the file xcu-1.0.3b0-py3-none-any.whl.

File metadata

  • Download URL: xcu-1.0.3b0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for xcu-1.0.3b0-py3-none-any.whl
Algorithm Hash digest
SHA256 64e5614d0cfd909c48a15f7213e9f1cff22b849c941a71cf5ef5510d8bf800de
MD5 d5aca4a260d1b6ec0b50656052f38ffd
BLAKE2b-256 aaf9abfeaeba02c0bc2bb0b4f57e259c8e1a7d601ee02678f90da11551aace0c

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