Skip to main content

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 keys
  • get_current_user_id_dep: Extracts and validates the current authenticated user from headers

🧬 SDK Clients

Clients for accessing core Zwishh services:

  • OrdersClient – create & fetch orders
  • CartClient – manage cart state
  • DeliveryClient – manage delivery state
  • CouponClient – manage coupon state
  • InteractionClient – manage interaction state
  • UserServiceClient – manage user state
  • SellerServiceClient – 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zwishh-0.1.20.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zwishh-0.1.20-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file zwishh-0.1.20.tar.gz.

File metadata

  • Download URL: zwishh-0.1.20.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zwishh-0.1.20.tar.gz
Algorithm Hash digest
SHA256 9021fccd0ccfdcf3f76a4ba0247a4ab0404c0809f2694cb2cd6eca99f2860ebf
MD5 0f65e6c0636797ecaa1deddc56e4a6a8
BLAKE2b-256 8956d58603a0025035af2e7787a47400d1924f0e5a831fd1bfbc178e0cb32bed

See more details on using hashes here.

File details

Details for the file zwishh-0.1.20-py3-none-any.whl.

File metadata

  • Download URL: zwishh-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zwishh-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 8f31b8adacb81ddf159890780597bb4d8af87d118b61669ca1848a90cc7bb9fa
MD5 6f46e50c83f42e7495dfe68995e826a2
BLAKE2b-256 b51adae7eba9348de7526b4a3c68dac47e572bbd1075300d183b57fd2116dc31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page