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.

Metadata

Release files for dbx-tools-databricks-auth 0.6.182

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

Built distributions (wheels)

Table of built distributions (wheels) for dbx-tools-databricks-auth 0.6.182
File Actions
dbx_tools_databricks_auth-0.6.182-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for dbx_tools_databricks_auth-0.6.182-py3-none-win_amd64.whl
dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_39_aarch64.whl Python 3 none Linux glibc 2.39+ ARM64 Details for dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_39_aarch64.whl
dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_35_x86_64.whl Python 3 none Linux glibc 2.35+ x86-64 Details for dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_35_x86_64.whl
dbx_tools_databricks_auth-0.6.182-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for dbx_tools_databricks_auth-0.6.182-py3-none-macosx_13_0_x86_64.whl
dbx_tools_databricks_auth-0.6.182-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for dbx_tools_databricks_auth-0.6.182-py3-none-macosx_11_0_arm64.whl

Total release size: 15.2 MB

Release files / dbx_tools_databricks_auth-0.6.182-py3-none-win_amd64.whl

Download URL dbx_tools_databricks_auth-0.6.182-py3-none-win_amd64.whl
Size 3.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d54e27823bc7ec7cb1c8cb88831751c799a02ed1e72afe09f8146abb7e6b0f27
BLAKE2b-256 checksum
How to use checksums
0e5c1b4665553ffbd2a2b0c47ed1aa1018b4d74f6d821334fd9b79051926fd94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Release files / dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_39_aarch64.whl

Download URL dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_39_aarch64.whl
Size 3.0 MB
Tags Linux glibc 2.39+ ARM64 Python 3
SHA-256 checksum
How to use checksums
67f794839475b660dec0fb7968d763f85b1e6c2183ab99266c9478700ae30a99
BLAKE2b-256 checksum
How to use checksums
b05c9ce7a63c349f13d115bb4c1038db74ef3b8b2797860ea12ae600a4cc6998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Release files / dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_35_x86_64.whl

Download URL dbx_tools_databricks_auth-0.6.182-py3-none-manylinux_2_35_x86_64.whl
Size 3.1 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
3a7840e41a15ea3e0e72c155e458a3d60cddf9075dba0e6a7b41e61bb30b1b1f
BLAKE2b-256 checksum
How to use checksums
2ac30f6a1e8e8eba4d7d650833e93d162954092e46685a0465e7d32971a63967
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Release files / dbx_tools_databricks_auth-0.6.182-py3-none-macosx_13_0_x86_64.whl

Download URL dbx_tools_databricks_auth-0.6.182-py3-none-macosx_13_0_x86_64.whl
Size 3.1 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
75622b42df1135e88be96b0d4f5146642801d4e043bae581d9a217874384f8ed
BLAKE2b-256 checksum
How to use checksums
1c9122626b2228d4953d2438a509fef485fa9363c4442f2d7d7fb0b4e10d975e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Release files / dbx_tools_databricks_auth-0.6.182-py3-none-macosx_11_0_arm64.whl

Download URL dbx_tools_databricks_auth-0.6.182-py3-none-macosx_11_0_arm64.whl
Size 2.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
67e3dd4d74ea7776ee017df3d7194b190ce2f98961aeac69229796c1ab59c02f
BLAKE2b-256 checksum
How to use checksums
f78a74a906264247d2390e392015e6322496f9480285c0cbd9e136cdd76696bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Security for dbx-tools-databricks-auth 0.6.182

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

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for dbx_tools_databricks_auth-0.6.182-py3-none-win_amd64.whl

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 Sep 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