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.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 novirhiza-tether-databricks 0.3.0
File Size Uploaded Provenance Actions
novirhiza_tether_databricks-0.3.0.tar.gz 15.1 kB With provenance Details for novirhiza_tether_databricks-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 34.4 kB

Release files / novirhiza_tether_databricks-0.3.0.tar.gz

Download URL novirhiza_tether_databricks-0.3.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
54e9a413c9ba8e412964bb65a792cf5c63f6221c7ee40fd74960b17911d8fdf3
BLAKE2b-256 checksum
How to use checksums
4818a39ce6e2290b435ceeb73f57320d0ed8892f95f89421696f7f2fcdecf58a
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 7, 2026.

Transparency log

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

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

Transparency log

Security for novirhiza-tether-databricks 0.3.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.

Full provenance

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

Select from 2 files

Attestation for novirhiza_tether_databricks-0.3.0.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 7, 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