Skip to main content

fountain_life_service_clients

Auto-generated fully-typed Python API clients for the Fountain Life ecosystem.

Installation

pip install fountain-life-service-clients

Development (this monorepo)

yarn update-clients at the repository root runs poetry run poe generate here. That requires a Poetry environment with dev dependencies (including poethepoet, which provides the poe CLI). After cloning, install them once from the repo root:

yarn workspace py-clients install

If poetry run poe generate fails with a missing OpenAPI file under packages/schemas/src/openapi-schema-files/, run yarn turbo run generate --force --filter=schemas first so OpenAPI artifacts exist for every schema-files/*.json snapshot.

Usage

fountain_life_service_clients supports calling a service's API directly via the service Lambda function.

import json
from fountain_life_service_clients.file_service import FileServiceClient

# A well-typed service client that already knows which Lambda and
# path to call. Custom Alpha options can optionally be supplied as well.
file_service = FileServiceClient(
    headers={
        "LifeOmic-Account": "fountainlife",
        "LifeOmic-Policy": json.dumps(
            {"rules": {"readData": True}}
        ),
    }
)
res = await file_service.list_files({})
print(res.status_code)
# `res.body` is well-typed.
items = res.body["items"]

Test data

fountain_life_service_clients.testing holds dev-only test data. Don't import it at runtime. zori_chat_address_examples.json has worked examples of a Zori Chat's forum-service thread key and streaming-service topic, copied from care-ui. See Zori Chat address examples for what an address is and where the examples come from.

import json
from importlib.resources import files

examples = json.loads(
    files("fountain_life_service_clients.testing")
    .joinpath("zori_chat_address_examples.json")
    .read_text()
)

Migration Guide

Metadata

Release files for fountain-life-service-clients 7.65.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fountain-life-service-clients 7.65.0
File Size Uploaded Provenance Actions
fountain_life_service_clients-7.65.0.tar.gz 57.2 kB Without provenance Details for fountain_life_service_clients-7.65.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fountain-life-service-clients 7.65.0
File Interpreter ABI Platform Actions
fountain_life_service_clients-7.65.0-py3-none-any.whl Python 3 none any Details for fountain_life_service_clients-7.65.0-py3-none-any.whl

Total release size: 141.4 kB

Release files / fountain_life_service_clients-7.65.0.tar.gz

Download URL fountain_life_service_clients-7.65.0.tar.gz
Size 57.2 kB
Tags Source
SHA-256 checksum
How to use checksums
09e65e8ee5877125424965cd2bce128be0e80dc3d5a2e578042230ee60c24418
BLAKE2b-256 checksum
How to use checksums
e346d230d503ea53dea3ff9d4f8b72974238a4545ec322a09ed6efe72d116b41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.0 CPython/3.13.18 Linux/7.0.0-1019-azure

Release files / fountain_life_service_clients-7.65.0-py3-none-any.whl

Download URL fountain_life_service_clients-7.65.0-py3-none-any.whl
Size 84.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6ab8b5f41dc7c43e05d01b2b6440c3205b3f2c2aeeca492da7b9a6bdfdc5335
BLAKE2b-256 checksum
How to use checksums
f7dd04975f3a4817c310030031e962ae292e59609b11247fd934cfbd0edee413
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.0 CPython/3.13.18 Linux/7.0.0-1019-azure

Security for fountain-life-service-clients 7.65.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

7.65.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page