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
  • AuthClient – validate tokens, get user info
  • CartClient – manage cart 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 GitHub Packages:

pip install "zwishh==0.1.0" --extra-index-url https://pypi.pkg.github.com/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.9.tar.gz (10.3 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.9-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zwishh-0.1.9.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for zwishh-0.1.9.tar.gz
Algorithm Hash digest
SHA256 b3e6100ebc39e6bf01b3374e09fb27646f48864ad0a71c4875e5551501f9f112
MD5 e18c299437bee3ccc3e1dbc3ce00d067
BLAKE2b-256 9ee47581c3135612a9fb3c5c0592a610f1aa7f66bd13a96e2d1dfcb25c489fb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zwishh-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for zwishh-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 513dbe0677c427dd3bf9cc657f746a278bc6c7a8d001b1ab27bfee17da31f58e
MD5 e90efde8a203077e13214d006654fcba
BLAKE2b-256 14fe9665c5671ae39e860589ed72bb80bfa53f57f6b57f75d9c3d68fa959dedc

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