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.2.tar.gz (32.3 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.2-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kamiwaza_extensions_lib-0.4.2.tar.gz
  • Upload date:
  • Size: 32.3 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.2.tar.gz
Algorithm Hash digest
SHA256 9ee2a3d34b59a78b631080e113ab7f95fff5169431abc2c6768be66505b5884a
MD5 a639cf50c5f22c59dc4629149e4ac4fe
BLAKE2b-256 cb02fee169e64cd0f2f1d82f3d5910d811172600a80ea62c42b3347f69016b8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kamiwaza_extensions_lib-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 37.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 116a702ec92018f9dcdcda62c382c34037e2fd98bc47bd3f212d799a9ac97434
MD5 e889e261f1a250f5f7ca15c790256f0d
BLAKE2b-256 dba8357d427eda10496c7721a5692688bcd1bd0dfc7d10582fd7e8aedce573f8

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