Skip to main content

Runtime library for Kamiwaza extensions: auth middleware, identity extraction, model client, session management

Project description

kamiwaza-extensions-lib

Runtime library for Kamiwaza extensions. Provides FastAPI auth middleware, identity extraction, a typed Kamiwaza model client, and session management for extension backends.

This package is intentionally separate from kamiwaza-sdk: extension backends need a lightweight async library, not the full SDK with its sync HTTP client and 20+ service modules.

Install

pip install 'kamiwaza-extensions-lib>=0.4,<0.5'

Usage

from kamiwaza_extensions_lib import (
    KamiwazaExtClient,
    require_auth,
    extract_identity,
)

See CHANGELOG.md in this directory for release notes.

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

kamiwaza_extensions_lib-0.4.0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

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

kamiwaza_extensions_lib-0.4.0-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file kamiwaza_extensions_lib-0.4.0.tar.gz.

File metadata

  • Download URL: kamiwaza_extensions_lib-0.4.0.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kamiwaza_extensions_lib-0.4.0.tar.gz
Algorithm Hash digest
SHA256 65832817b038f243aee28883ce303fd95ca6487ce4460ca4730202b7aa1e31be
MD5 6e402b8a7695df8e909ca862b6f4a644
BLAKE2b-256 fb1ff3dc3a55bf4eff7e3068e96fc6230d903eb23836e7acdfb70378dd9ccfe3

See more details on using hashes here.

File details

Details for the file kamiwaza_extensions_lib-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: kamiwaza_extensions_lib-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kamiwaza_extensions_lib-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de9f7dc6ca68be8aaf053026907e036aece19b592572dd2c3f9bf9f17454b55c
MD5 d012febef87f8e04e2128d6a4c504982
BLAKE2b-256 1b44876fa35ccac68ebe20fde8c4ca0220cc450c6f6bde52ca750c8c7f3d3858

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