Skip to main content

dbx-tools-databricks-auth

Generated Python bindings for the Rust dbx-tools-databricks-auth package.

The Rust package owns U2M, M2M, and PAT authentication, profile resolution, and endpoint policy. Shared dbx_tools.auth owns OAuth, refresh, locking, and built-in credential storage.

Automatic storage uses memory inside a Databricks App and file storage elsewhere. Explicit file, memory, and custom storage selections are preserved.

from dbx_tools.databricks_auth import (
    DatabricksAuthOptions,
    create_persistent_auth,
)

auth = await create_persistent_auth(
    DatabricksAuthOptions(profile="DEFAULT", prefer_user_to_machine=True)
)
token = await auth.token()

M2M reads the client secret from the selected Databricks profile or DATABRICKS_CLIENT_SECRET.

PAT reads token from the selected profile or DATABRICKS_TOKEN. Automatic profile selection ignores PAT configuration inside a Databricks App; explicit PAT choices remain valid.

For lifecycle overrides, import AuthOptions from dbx_tools.auth and pass DatabricksAuthOptions(auth=AuthOptions(lock_timeout_seconds=10)). This is the same record accepted by generic OAuth providers. Omit auth for Rust defaults; move former flattened timeout and callback-image fields into this shared record.

Custom stores implement dbx_tools.auth.StorageAdapter. Pass create_storage_handle(adapter) to create_persistent_auth_with_storage to preserve callback ownership across the native library boundary.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dbx_tools_databricks_auth-0.6.181-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

dbx_tools_databricks_auth-0.6.181-py3-none-manylinux_2_39_aarch64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.39+ ARM64

dbx_tools_databricks_auth-0.6.181-py3-none-manylinux_2_35_x86_64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

dbx_tools_databricks_auth-0.6.181-py3-none-macosx_13_0_x86_64.whl (3.1 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

dbx_tools_databricks_auth-0.6.181-py3-none-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file dbx_tools_databricks_auth-0.6.181-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.181-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 763730b624cd5e9d003c0db97f872712531affc7b7af589f56d4a18125419d26
MD5 d1c2c18b5253c0b216165fc6503b243c
BLAKE2b-256 7c50b88f875f054b06bd89b7b77d4e11170556699930acab79ee6bb36bf3591c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.181-py3-none-win_amd64.whl:

Publisher: release.yml on reggie-db/dbx-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dbx_tools_databricks_auth-0.6.181-py3-none-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.181-py3-none-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 65bc648a13d7430902cf7f5b5d86001ca6f56ff5940b162c0c0f5c430a195028
MD5 fe30f35b78bcd4488b27e9c16973e333
BLAKE2b-256 ff272628d881f377d75447ad78d472c111d7494749e9ea6c8796a15b70eed716

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.181-py3-none-manylinux_2_39_aarch64.whl:

Publisher: release.yml on reggie-db/dbx-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dbx_tools_databricks_auth-0.6.181-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.181-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 38c7dcc4991185d59abc23258b2137afc3c116f88f1f226707fb932a147a029b
MD5 e65e9bab69068a23a35c31f2df188590
BLAKE2b-256 e346e26dc38d46777cd7ec7560027433b359e7e3d8dbb123889b91c6b5b3820c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.181-py3-none-manylinux_2_35_x86_64.whl:

Publisher: release.yml on reggie-db/dbx-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dbx_tools_databricks_auth-0.6.181-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.181-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 339d2913e1121f857284a66bdb1206538fd3f03bc56ef48f5aebc48ba2f8452d
MD5 697415224c9d7e37cbc6ce58df2199c9
BLAKE2b-256 0dcdbdc9a438c3ad88f72e5345a146bd9b48503cd78888b8df214bc04efd779e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.181-py3-none-macosx_13_0_x86_64.whl:

Publisher: release.yml on reggie-db/dbx-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dbx_tools_databricks_auth-0.6.181-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.181-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 449f05ed0683b4e20e5943f85df8566c174c46708215a72b0514b366870f023c
MD5 7d6bd7ae6cd123b821719f625a3cc4d5
BLAKE2b-256 74923095e841d76dc433cef3460d36c7b19b807abdac6b528582cdbc45292a28

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.181-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on reggie-db/dbx-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.6.182

5 files

This release

0.6.181 This release

5 files

0.6.180

5 files

0.6.179

5 files

0.6.177

5 files

0.6.176

5 files

0.6.175

5 files

0.6.174

5 files

0.6.173

5 files

0.6.172

5 files

0.6.168

5 files

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