Python SDK for Finanfut Billing External API
Project description
Finanfut Billing Python SDK
Client oficial sincrònic per consumir la Finanfut Billing External API (/external/v1) amb models compatibles amb Pydantic v2 i autenticació per API key.
Instal·lació
Per instal·lar:
- Pydantic 2.x:
pip install finanfut-billing-sdk>=2.0 - Pydantic 1.x:
pip install finanfut-billing-sdk<2.0 - Des del repositori local:
pip install -e backend/sdk
Dependències principals:
pydantic>=2.0,<3.0requests>=2.31
Configuració bàsica
from finanfut_billing_sdk import FinanfutBillingClient
client = FinanfutBillingClient(
base_url="https://billing.finanfut.com",
api_key="sk_live_xxx",
)
Documentació
La documentació completa del SDK s'ha dividit en seccions a backend/sdk/docs/ i es publica via MkDocs. Consulta el contingut per temes:
- Introducció i instal·lació
- Configuració i autenticació
- Ús dels endpoints (clients, serveis, factures, pagaments, tipus d'IVA)
- Gestió d'errors i bones pràctiques
Per generar la documentació localment:
cd backend/sdk
mkdocs serve --config-file mkdocs.yml
Publicació a PyPI
El paquet està preparat per publicar-se a PyPI quan es creen tags v* al repositori. El workflow publish-sdk.yml valida la versió (__version__) i fa l'upload amb Twine.
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 finanfut_billing_sdk-2.0.0.tar.gz.
File metadata
- Download URL: finanfut_billing_sdk-2.0.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5be77605771d3dca2174c7d11aa7759ad59b4f449add44b379bf9635c2c0c068
|
|
| MD5 |
d498da24e83706ea00363ce88d7e6556
|
|
| BLAKE2b-256 |
08ab2d291a4c629fc4fc37f413135d81b03bd93b0f010d8b1bba62d0c6d8a510
|
File details
Details for the file finanfut_billing_sdk-2.0.0-py3-none-any.whl.
File metadata
- Download URL: finanfut_billing_sdk-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79902316a622a6583b6bfe3ea472d1c54628f0ea018ab4f01d7a46600d8cdabe
|
|
| MD5 |
8a87a4fb873ce1c759401623157d91f2
|
|
| BLAKE2b-256 |
002fca1389ca3e5edffcb73814fb35ddec2713d7bae9169948e7129ee26fb61a
|