Skip to main content

BANQUE SDK - bankingsdk

Un SDK Python simple pour interagir avec l’API REST de données d'un portefeuille client demandeur de ligne de crédit bancaire. Il est conçu pour les Data Analysts et Data Scientists, avec une prise en charge native de Pydantic, dictionnaires et DataFrames Pandas.

PyPI version License: MIT


Installation

pip install bankingsdk

Configuration

from bankingsdk import DemandeClient, BankConfig

# Configuration avec l’URL de votre API (Render ou locale)
config = BankConfig(movie_base_url="https://api-risk-credit.onrender.com")
client = DemandeClient(config=config)

Tester le SDK

1. Health check

client.health_check()
# Retourne : {"status": "ok"}

2. Récupérer une demande

demande = client.get_demande(1)
print(demande.agence)

3. Liste des demandes au format DataFrame

df = client.list_demandes(limit=5, output_format="pandas")
print(df.head())

Modes de sortie disponibles

Toutes les méthodes de liste (list_demandes, list_agences, etc.) peuvent retourner :

  • des objets Pydantic (défaut)
  • des dictionnaires
  • des DataFrames Pandas

Exemple :

client.list_demandes(limit=10, output_format="dict")
client.list_agences(limit=10, output_format="pandas")

Tester en local

Vous pouvez aussi utiliser une API locale :

config = BankConfig(bank_base_url="http://localhost:8000")
client = DemandeClient(config=config)

Public cible

  • Data Analysts
  • Data Scientists
  • Étudiants et curieux en Data
  • Développeurs Python

Licence

MIT License


Liens utiles

Metadata

Release files for bankingsdk 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bankingsdk 0.3.0
File Size Uploaded Provenance
bankingsdk-0.3.0.tar.gz 6.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bankingsdk 0.3.0
File Interpreter ABI Platform
bankingsdk-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / bankingsdk-0.3.0.tar.gz

Download URL bankingsdk-0.3.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
273a01e04fc7b5988e03988ae08316b7c824f3cf69af8c1bd2448c6e5b864572
BLAKE2b-256 checksum
How to use checksums
4a70c88bd8c63507becaf8b86a7ca965f88f7209cf669b68aff3c0c30fb327b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Release files / bankingsdk-0.3.0-py3-none-any.whl

Download URL bankingsdk-0.3.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca7ee477c211e4b8d5928a5eabc71ef8b0037aa85ec9872756153c6b33201a5e
BLAKE2b-256 checksum
How to use checksums
74347c391a48512246276f9c6d32f4087a64b3f05552f218b1eaf1badbacc1f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Security for bankingsdk 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page