Set de herramientas para operar con la APIv3 de Khipu
Project description
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.
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 khipu_tools-2025.1.0.tar.gz.
File metadata
- Download URL: khipu_tools-2025.1.0.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc394863adce3e7495c371e8b6f1d7d25c18a606fadf3d9d94afafa9dbdf45af
|
|
| MD5 |
eab153ad994e014179936d7b15e4908c
|
|
| BLAKE2b-256 |
b01763154e0e2727ffbe447616fe92f235ccf87e18f4e8dba9e5240717c450ce
|
Provenance
The following attestation bundles were made for khipu_tools-2025.1.0.tar.gz:
Publisher:
new_release.yml on mariofix/khipu-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
khipu_tools-2025.1.0.tar.gz -
Subject digest:
bc394863adce3e7495c371e8b6f1d7d25c18a606fadf3d9d94afafa9dbdf45af - Sigstore transparency entry: 158828519
- Sigstore integration time:
-
Permalink:
mariofix/khipu-tools@f9180203774f5d65e42962e2ef7d2029084e7adc -
Branch / Tag:
refs/tags/v2025.1.0 - Owner: https://github.com/mariofix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new_release.yml@f9180203774f5d65e42962e2ef7d2029084e7adc -
Trigger Event:
release
-
Statement type:
File details
Details for the file khipu_tools-2025.1.0-py3-none-any.whl.
File metadata
- Download URL: khipu_tools-2025.1.0-py3-none-any.whl
- Upload date:
- Size: 32.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e01569b91bad623dead0e63c838081c66a57c01694c7195bb3f690fab50fb87
|
|
| MD5 |
14e800a9dbb206573bae8cb9e4c0d4a5
|
|
| BLAKE2b-256 |
0a11eb8ddea2b0a5770e88cee4152d7bc8c56e503b4d81a9e762bb36cac67452
|
Provenance
The following attestation bundles were made for khipu_tools-2025.1.0-py3-none-any.whl:
Publisher:
new_release.yml on mariofix/khipu-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
khipu_tools-2025.1.0-py3-none-any.whl -
Subject digest:
9e01569b91bad623dead0e63c838081c66a57c01694c7195bb3f690fab50fb87 - Sigstore transparency entry: 158828520
- Sigstore integration time:
-
Permalink:
mariofix/khipu-tools@f9180203774f5d65e42962e2ef7d2029084e7adc -
Branch / Tag:
refs/tags/v2025.1.0 - Owner: https://github.com/mariofix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
new_release.yml@f9180203774f5d65e42962e2ef7d2029084e7adc -
Trigger Event:
release
-
Statement type: