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.182-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

dbx_tools_databricks_auth-0.6.182-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.182-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.182-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.182-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.182-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.182-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d54e27823bc7ec7cb1c8cb88831751c799a02ed1e72afe09f8146abb7e6b0f27
MD5 dd86bc3d0145be5719282e21197d189f
BLAKE2b-256 0e5c1b4665553ffbd2a2b0c47ed1aa1018b4d74f6d821334fd9b79051926fd94

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.182-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.182-py3-none-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 67f794839475b660dec0fb7968d763f85b1e6c2183ab99266c9478700ae30a99
MD5 8d05eeaa0ca37585b662a4a2d370cddf
BLAKE2b-256 b05c9ce7a63c349f13d115bb4c1038db74ef3b8b2797860ea12ae600a4cc6998

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.182-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.182-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 3a7840e41a15ea3e0e72c155e458a3d60cddf9075dba0e6a7b41e61bb30b1b1f
MD5 14e32bc029eb5435720dd85b25872f6f
BLAKE2b-256 2ac30f6a1e8e8eba4d7d650833e93d162954092e46685a0465e7d32971a63967

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.182-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.182-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.182-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 75622b42df1135e88be96b0d4f5146642801d4e043bae581d9a217874384f8ed
MD5 c58ce4e17354f7d19436ed4de1d9590a
BLAKE2b-256 1c9122626b2228d4953d2438a509fef485fa9363c4442f2d7d7fb0b4e10d975e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.182-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.182-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dbx_tools_databricks_auth-0.6.182-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67e3dd4d74ea7776ee017df3d7194b190ce2f98961aeac69229796c1ab59c02f
MD5 3e3e669167ea10cf353658c3efe390fe
BLAKE2b-256 f78a74a906264247d2390e392015e6322496f9480285c0cbd9e136cdd76696bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbx_tools_databricks_auth-0.6.182-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

This release

0.6.182 This release

5 files

0.6.181

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