shwary-python 2.0.2__tar.gz → 2.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {shwary_python-2.0.2 → shwary_python-2.0.4}/PKG-INFO +1 -3
- {shwary_python-2.0.2 → shwary_python-2.0.4}/README.md +0 -2
- {shwary_python-2.0.2 → shwary_python-2.0.4}/pyproject.toml +1 -1
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/schemas.py +0 -3
- {shwary_python-2.0.2 → shwary_python-2.0.4}/.gitignore +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/LICENSE +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/__init__.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/__version__.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/clients/__init__.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/clients/async_client.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/clients/base.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/clients/sync.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/core.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/exceptions.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/logging_config.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/py.typed +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/tests/__init__.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/tests/test_advanced.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/tests/test_client.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/tests/test_client_async.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/tests/test_schemas.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/tests/test_validators.py +0 -0
- {shwary_python-2.0.2 → shwary_python-2.0.4}/src/shwary/validators.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shwary-python
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4
|
|
4
4
|
Summary: SDK Python moderne (Async/Sync) pour l'API de paiement Shwary.
|
|
5
5
|
Author-email: Josué Luis Panzu <josuepanzu8@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -26,8 +26,6 @@ Description-Content-Type: text/markdown
|
|
|
26
26
|
|
|
27
27
|
**Shwary Python** est une bibliothèque cliente moderne, asynchrone et performante pour l'intégration de l'API [Shwary](https://shwary.com). Elle permet d'initier des paiements Mobile Money en **RDC**, au **Kenya** et en **Ouganda** avec une validation stricte des données avant l'envoi.
|
|
28
28
|
|
|
29
|
-
## Quoi de neuf dans la v2.0.2
|
|
30
|
-
|
|
31
29
|
- **Retry automatique** : Les erreurs réseau transitoires (timeout, connexion) sont automatiquement retentées avec backoff exponentiel
|
|
32
30
|
- **Types stricts** : TypedDict pour les réponses (`PaymentResponse`, `TransactionResponse`, `WebhookPayload`)
|
|
33
31
|
- **Logging structuré** : Les logs s'écrivent dans la racine du projet utilisateur (`logs/shwary.log`) avec rotation automatique
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
**Shwary Python** est une bibliothèque cliente moderne, asynchrone et performante pour l'intégration de l'API [Shwary](https://shwary.com). Elle permet d'initier des paiements Mobile Money en **RDC**, au **Kenya** et en **Ouganda** avec une validation stricte des données avant l'envoi.
|
|
8
8
|
|
|
9
|
-
## Quoi de neuf dans la v2.0.2
|
|
10
|
-
|
|
11
9
|
- **Retry automatique** : Les erreurs réseau transitoires (timeout, connexion) sont automatiquement retentées avec backoff exponentiel
|
|
12
10
|
- **Types stricts** : TypedDict pour les réponses (`PaymentResponse`, `TransactionResponse`, `WebhookPayload`)
|
|
13
11
|
- **Logging structuré** : Les logs s'écrivent dans la racine du projet utilisateur (`logs/shwary.log`) avec rotation automatique
|
|
@@ -122,9 +122,6 @@ class PaymentResponse(BaseModel):
|
|
|
122
122
|
|
|
123
123
|
id: str = Field(..., description="Identifiant unique de la transaction (UUID)")
|
|
124
124
|
status: str = Field(..., description="État de la transaction")
|
|
125
|
-
isSandbox: bool = Field(
|
|
126
|
-
..., description="Indique si la transaction est en mode sandbox"
|
|
127
|
-
)
|
|
128
125
|
|
|
129
126
|
model_config = {"extra": "allow"}
|
|
130
127
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|