kintisoft-sdk (Python)
SDK oficial de Python para la API pública de KintiSoft
El SDK oficial de KintiSoft para Python permite integrar de forma sencilla la API pública de KintiSoft en scripts, aplicaciones backend, servicios y automatizaciones.
Incluye:
- Cliente HTTP listo para producción
- Manejo de errores con excepciones tipadas
- Soporte para múltiples tenants
Instalación
pip install kintisoft-sdk
Configuración básica
from kintisoft_sdk import KintiSoftClient
client = KintiSoftClient(
tenant="acme",
api_key="pk_live_xxxxxx",
)
Manejo de errores
El SDK lanza KintiSoftError cuando:
- La API devuelve errores (
4xxo5xx) - Hay timeouts
- Ocurre un problema de red
Opciones avanzadas
client = KintiSoftClient(
tenant="acme",
api_key="pk_live_xxxxxx",
base_url_override="https://acme.staging.tudominio.com/api/v1",
timeout=15.0,
)
Estructura interna
kintisoft_sdk/
__init__.py
client.py
http_client.py
prospects.py
exceptions.py
Publicación en PyPI
python -m build
twine upload dist/*
Licencia
MIT License
Metadata
Release files for kintisoft-sdk 0.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 | |
|---|---|---|---|
| kintisoft_sdk-0.1.0.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kintisoft_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / kintisoft_sdk-0.1.0.tar.gz
| Download URL | kintisoft_sdk-0.1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77e87e7dc29da873009de3b05eb554169c0ac05c4bbafe40083bafac74fa2998
|
|
BLAKE2b-256 checksum How to use checksums |
debdeb3fee3f8a1a36a6cb42b651e544240fab0ebbe1f0b25bfc7d4288144967
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / kintisoft_sdk-0.1.0-py3-none-any.whl
| Download URL | kintisoft_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5b36c14f99739feeba7a99466628cc68cd943e69eb8fcecf47f4d14052df7c0
|
|
BLAKE2b-256 checksum How to use checksums |
73737e026091cc1ad3ef6f2f453c40ec273ef9ba2908ade8fe7443eaecf8fd74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|