Skip to main content

Tether Databricks Apps carrier

novirhiza-tether-databricks is an optional composition package. It resolves the configured Apps identity into a current Tether actor, validates declared resource bindings through an embedder supplied acquisition function, and routes one ASGI host to the public API and UI factories. It does not create a database pool, select a role, apply migrations, or read process environment.

settings = DatabricksAppSettings.from_values(
    trusted_ingress="databricks-apps",
    host="0.0.0.0",
    port=8000,
    path_prefix="",
    shutdown_timeout_seconds=10.0,
    database_profile=profile_ref,
    resource_bindings=(database_resource,),
)
identity = DatabricksIdentityResolver(trusted_ingress=settings.trusted_ingress)
resources = DatabricksResources.from_bindings(
    settings.resource_bindings,
    acquire=application_resource_acquirer,
)
app = create_carrier_app(
    settings=settings,
    client_provider=client_provider,
    authenticator=identity,
    resource_provider=resources,
    api_factory=create_api,
    api_settings=api_settings,
    ui_factory=create_static_app,
    ui_settings=ui_settings,
    lifecycle=application_lifecycle,
)

For PostgreSQL, import ConnectionSource, PostgresResources, and the explicit migrate helper from tether.client.postgres. Apply and verify migrations as an owner operation before opening resources. PostgresResources owns its Tether database root and borrows the supplied connection source and pool. Use recover_owner(actor) with a freshly authenticated actor before serving that owner after process restart; it never runs global maintenance recovery.

In explicitly selected Apps mode, the identity resolver requires one each of X-Forwarded-User, X-Forwarded-Email, and X-Forwarded-Access-Token. The validated email is the logical actor and database owner; the forwarded user id is retained as the actor principal. Local mode requires a separately selected authenticator and ignores forwarded identity. The bearer credential is bound to that request's actor and is not written to settings, browser storage, logs, or session facts.

This package provides reusable composition seams. It does not claim that an Apps ingress, a Lakebase endpoint, database OAuth renewal, role isolation, or shutdown profile has passed live qualification.

Metadata

Release files for novirhiza-tether-databricks 0.3.1

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

Source distribution (sdist)

Source distribution for novirhiza-tether-databricks 0.3.1
File Size Uploaded Provenance Actions
novirhiza_tether_databricks-0.3.1.tar.gz 15.1 kB With provenance Details for novirhiza_tether_databricks-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for novirhiza-tether-databricks 0.3.1
File Interpreter ABI Platform Actions
novirhiza_tether_databricks-0.3.1-py3-none-any.whl Python 3 none any Details for novirhiza_tether_databricks-0.3.1-py3-none-any.whl

Total release size: 34.4 kB

Release files / novirhiza_tether_databricks-0.3.1.tar.gz

Download URL novirhiza_tether_databricks-0.3.1.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c497ce4df13e66a2d8abb25bea1f128ee4fecbbb4837e99f1aaf573826ae813f
BLAKE2b-256 checksum
How to use checksums
b636e31386a011bcd6f721f5bd220f86d97baa18d8cc663f89ad03afd197e44c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / novirhiza_tether_databricks-0.3.1-py3-none-any.whl

Download URL novirhiza_tether_databricks-0.3.1-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f23c207e0481d97c97e1f12c8e8c357865d42db42865e693bea9f32a68403ceb
BLAKE2b-256 checksum
How to use checksums
e8f7a035bbc8315dc6597fb075b84c313cfcb5bc939c6b4aaabcaf0fc4d94d35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for novirhiza-tether-databricks 0.3.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for novirhiza_tether_databricks-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

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.

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