Khipu Tools
Proyecto en Desarrollo
Este proyecto está en desarrollo activo. Las funcionalidades y API pueden cambiar sin previo aviso.
Descripción
Khipu Tools es una librería en Python pensada para que integrar los servicios de Khipu en tus proyectos sea sencillo y directo. Ideal para gestionar transacciones y pagos desde tu código.
Características
- Conexión directa con la API de Khipu: Compatible con la versión 3 en adelante de la API.
- Pagos instantáneos: Basado en fixmycode/pykhipu.
- Pagos automáticos: Simplifica transacciones recurrentes.
- Diseño amigable: Fácil de usar y ligero.
- Manejo de errores: Robusto y preparado para entornos reales.
Instalación
Puedes instalar Khipu Tools desde PyPI:
pip install khipu-tools
Requisitos Previos
- Python 3.9 o superior.
- Credenciales de Khipu: Necesitarás tu
API Keyproporcionada por Khipu.
Uso Básico
Ejemplo de cómo crear un pago utilizando Khipu Tools:
import khipu_tools
# Configura tu API Key de Khipu
khipu_tools.api_key = "tu-api-key"
# Crear un pago
pago = khipu_tools.Payments.create(
amount=5000,
currency="CLP",
subject="Pago de Prueba"
)
print(pago)
Salida esperada:
{
"payment_id": "gqzdy6chjne9",
"payment_url": "https://khipu.com/payment/info/gqzdy6chjne9",
"simplified_transfer_url": "https://app.khipu.com/payment/simplified/gqzdy6chjne9",
"transfer_url": "https://khipu.com/payment/manual/gqzdy6chjne9",
"app_url": "khipu:///pos/gqzdy6chjne9",
"ready_for_terminal": false
}
Documentación Completa
Próximamente se incluirá una documentación más extensa sobre todas las funcionalidades disponibles.
Contribuciones
¡Las contribuciones son bienvenidas! Por favor, sigue estos pasos:
- Haz un fork del repositorio.
- Crea una rama con un nombre descriptivo para tu cambio.
- Envía un Pull Request describiendo los cambios.
Licencia
Este proyecto está licenciado bajo la MIT License.
Este proyecto no está patrocinado ni asociado con Khipu.
Metadata
Release files for khipu-tools 2025.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| khipu_tools-2025.1.0.tar.gz | 25.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| khipu_tools-2025.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.5 kB
Release files / khipu_tools-2025.1.0.tar.gz
| Download URL | khipu_tools-2025.1.0.tar.gz |
|---|---|
| Size | 25.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc394863adce3e7495c371e8b6f1d7d25c18a606fadf3d9d94afafa9dbdf45af
|
|
BLAKE2b-256 checksum How to use checksums |
b01763154e0e2727ffbe447616fe92f235ccf87e18f4e8dba9e5240717c450ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 2, 2025.
Transparency logRelease files / khipu_tools-2025.1.0-py3-none-any.whl
| Download URL | khipu_tools-2025.1.0-py3-none-any.whl |
|---|---|
| Size | 32.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e01569b91bad623dead0e63c838081c66a57c01694c7195bb3f690fab50fb87
|
|
BLAKE2b-256 checksum How to use checksums |
0a11eb8ddea2b0a5770e88cee4152d7bc8c56e503b4d81a9e762bb36cac67452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 2, 2025.
Transparency log