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.2

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.2
File Size Uploaded Provenance Actions
novirhiza_tether_databricks-0.3.2.tar.gz 15.1 kB With provenance Details for novirhiza_tether_databricks-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 34.4 kB

Release files / novirhiza_tether_databricks-0.3.2.tar.gz

Download URL novirhiza_tether_databricks-0.3.2.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3677cb308a22be67b5858c4ea09bce0a69cfdbaa67c744ff5bca59fb694021c9
BLAKE2b-256 checksum
How to use checksums
9af46bbde387f522e4d0a2d9d4839d744923fab6d9aa5e7db89588aa649a9527
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 9, 2026.

Transparency log

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

Download URL novirhiza_tether_databricks-0.3.2-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3a1d3febc83537644d2ab222269c2db7c8ff6ca4df1db85712ec3aa9ee7d41e
BLAKE2b-256 checksum
How to use checksums
e7b4c26f56df0748256523dba5a521d8de128ba82aea2ce8074a85fc5677f00b
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 9, 2026.

Transparency log

Security for novirhiza-tether-databricks 0.3.2

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.2.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 9, 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