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.63.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.63.0
File Size Uploaded Provenance Actions
fountain_life_service_clients-7.63.0.tar.gz 57.1 kB Without provenance Details for fountain_life_service_clients-7.63.0.tar.gz

Built distribution (wheel)

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

Total release size: 141.3 kB

Release files / fountain_life_service_clients-7.63.0.tar.gz

Download URL fountain_life_service_clients-7.63.0.tar.gz
Size 57.1 kB
Tags Source
SHA-256 checksum
How to use checksums
883cb05cab1540ca286198ee7b2ad5617a5116bd07eb17411a701392113d763d
BLAKE2b-256 checksum
How to use checksums
422203ad366fa7a7de2068fcf9d774c5567dfb12f3ab0f52e819f82b4ea815cf
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-1020-azure

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

Download URL fountain_life_service_clients-7.63.0-py3-none-any.whl
Size 84.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83f4fc3ee19afdb9b9555b8ad8187a6d5049525619068e9d86c6c7ef51186edc
BLAKE2b-256 checksum
How to use checksums
69506d8ce5807a8fb4133f19073de05401dbac5f142d0429305b81ab46c4ee59
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-1020-azure

Security for fountain-life-service-clients 7.63.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.63.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