Internal utils and SDKs for Zwishh services
Project description
🧰 zwishh – Internal SDK and Utilities
This package provides shared utilities and client SDKs for Zwishh's internal microservices.
It is intended for internal use only and should be used by trusted services inside the Zwishh platform infrastructure.
📦 What's Included
🔑 Authentication & Security
verify_service_api_key_dep: FastAPI dependency for verifying internal service API keysget_current_user_id_dep: Extracts and validates the current authenticated user from headers
🧬 SDK Clients
Clients for accessing core Zwishh services:
OrdersClient– create & fetch ordersCartClient– manage cart stateDeliveryClient– manage delivery stateCouponClient– manage coupon stateInteractionClient– manage interaction stateUserServiceClient– manage user stateSellerServiceClient– manage seller state
Each client:
- Uses async
httpx - Injects service-to-service API key headers
- Handles standard error responses
- Retries the request with exponential backoff
🛠 Installation
You can install it directly from PyPI:
pip install zwishh
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 zwishh-0.1.16.tar.gz.
File metadata
- Download URL: zwishh-0.1.16.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7912f0726520c4f2d2d11c646595eccaddb6d9066a005c87fdcff3e5b53124ef
|
|
| MD5 |
b05172bcc4aca3e3ef08ed2cdd83456c
|
|
| BLAKE2b-256 |
4e18ac6dc540d7a39e933329b402455e3aa62551128556064bbaf580a7c58a3b
|
File details
Details for the file zwishh-0.1.16-py3-none-any.whl.
File metadata
- Download URL: zwishh-0.1.16-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8578459728ab6905037cbf46c348e70ee3a4e9e70d457059ba938dea7940af3
|
|
| MD5 |
005d03a37888c3a3ce61180abb31a436
|
|
| BLAKE2b-256 |
fa1c84a4beae05a85274f17032a525171f570a080d84d79e5b3bd1af9f02c6ed
|