dbx-tools-auth
Generated Python bindings for provider-neutral Rust authentication. Rust owns OAuth, persistent stores, locking, and token refresh.
Both provider option records compose the shared AuthOptions record as auth.
For example, import AuthOptions from dbx_tools.auth and pass
auth=AuthOptions(lock_timeout_seconds=10) to either ProviderOptions or
DatabricksAuthOptions. Omission uses Rust's lifecycle defaults. Former flattened
timeout and callback-image fields now belong inside auth; see the
shared options guide.
import os
from dbx_tools.auth import OAuthGrant, ProviderOptions, create_provider_auth
auth = await create_provider_auth(
ProviderOptions(
provider="example",
token_endpoint="https://identity.example.com/oauth/token",
client_id=os.environ["OAUTH_CLIENT_ID"],
client_secret=os.environ["OAUTH_CLIENT_SECRET"],
grant=OAuthGrant.CLIENT_CREDENTIALS,
scopes=["read"],
)
)
token = await auth.token(False)
Profiles are optional. Scope sets are trimmed, deduplicated, and sorted before
selecting a credential. FileLayout.SINGLE and FileLayout.PER_CREDENTIAL
select shared-file or per-identity storage. cache_dir overrides the generic
file location. StorageAdapter supports custom persistence;
create_storage_handle keeps its callbacks in this library when passing the
store to either provider's create_*_auth_with_storage factory. Generic
providers now accept the handle too, rather than a raw adapter.
Install a published native wheel with pip install dbx-tools-auth. Repository
installation is also available with
pip install "git+https://github.com/reggie-db/dbx-tools.git@main#subdirectory=packages/py/auth";
source checkouts need the platform library generated by bun run rs:bindings.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbx_tools_auth-0.6.175-py3-none-win_amd64.whl.
File metadata
- Download URL: dbx_tools_auth-0.6.175-py3-none-win_amd64.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c688fc336280da568413aa0078a28e5f5f29c1659bc583fd136ff000e4f7b891
|
|
| MD5 |
89f1daa4e3b884fbc3ea0c34b2a57a50
|
|
| BLAKE2b-256 |
248717fa6ab4630aab4f0e82247c1d59a3255e54bb215c156ace0a00f0d5da3a
|
Provenance
The following attestation bundles were made for dbx_tools_auth-0.6.175-py3-none-win_amd64.whl:
Publisher:
python-release.yml on reggie-db/dbx-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbx_tools_auth-0.6.175-py3-none-win_amd64.whl -
Subject digest:
c688fc336280da568413aa0078a28e5f5f29c1659bc583fd136ff000e4f7b891 - Sigstore transparency entry: 2728674862
- Sigstore integration time:
-
Permalink:
reggie-db/dbx-tools@8439ca1048dbdc8b660bd613d4612aace5030597 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reggie-db
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-release.yml@8439ca1048dbdc8b660bd613d4612aace5030597 -
Trigger Event:
repository_dispatch
-
Statement type:
File details
Details for the file dbx_tools_auth-0.6.175-py3-none-manylinux_2_39_aarch64.whl.
File metadata
- Download URL: dbx_tools_auth-0.6.175-py3-none-manylinux_2_39_aarch64.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3, manylinux: glibc 2.39+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
051de66b1a7d16bfb05bb6eab1608386aa6f7bec9600cd038ccf5c86519f27d2
|
|
| MD5 |
bdaf3c1da7195efe816c10347a2735a2
|
|
| BLAKE2b-256 |
b2f50eb6302d60a7d155e99bd4d2431a862764218f8dba02c47e9581c2408c72
|
Provenance
The following attestation bundles were made for dbx_tools_auth-0.6.175-py3-none-manylinux_2_39_aarch64.whl:
Publisher:
python-release.yml on reggie-db/dbx-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbx_tools_auth-0.6.175-py3-none-manylinux_2_39_aarch64.whl -
Subject digest:
051de66b1a7d16bfb05bb6eab1608386aa6f7bec9600cd038ccf5c86519f27d2 - Sigstore transparency entry: 2728675819
- Sigstore integration time:
-
Permalink:
reggie-db/dbx-tools@8439ca1048dbdc8b660bd613d4612aace5030597 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reggie-db
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-release.yml@8439ca1048dbdc8b660bd613d4612aace5030597 -
Trigger Event:
repository_dispatch
-
Statement type:
File details
Details for the file dbx_tools_auth-0.6.175-py3-none-manylinux_2_35_x86_64.whl.
File metadata
- Download URL: dbx_tools_auth-0.6.175-py3-none-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fda62ed54efa909d13e88ee7a59a91bbd6dd78f1fc91f554b23c0a284a22b622
|
|
| MD5 |
74f98c53adb425d0c8dd5512a2bf160b
|
|
| BLAKE2b-256 |
d5cacdfd789d53e9567d16c7eb38832af98b50089af6fbcaf25a94c4853751b9
|
Provenance
The following attestation bundles were made for dbx_tools_auth-0.6.175-py3-none-manylinux_2_35_x86_64.whl:
Publisher:
python-release.yml on reggie-db/dbx-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbx_tools_auth-0.6.175-py3-none-manylinux_2_35_x86_64.whl -
Subject digest:
fda62ed54efa909d13e88ee7a59a91bbd6dd78f1fc91f554b23c0a284a22b622 - Sigstore transparency entry: 2728676219
- Sigstore integration time:
-
Permalink:
reggie-db/dbx-tools@8439ca1048dbdc8b660bd613d4612aace5030597 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reggie-db
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-release.yml@8439ca1048dbdc8b660bd613d4612aace5030597 -
Trigger Event:
repository_dispatch
-
Statement type:
File details
Details for the file dbx_tools_auth-0.6.175-py3-none-macosx_13_0_x86_64.whl.
File metadata
- Download URL: dbx_tools_auth-0.6.175-py3-none-macosx_13_0_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcb10988662d397fd7943bac490166b64c243f7cd714239c921e0ef7bba1bbce
|
|
| MD5 |
18f303d16bc23fe1236f12573b0acfeb
|
|
| BLAKE2b-256 |
a54fe3d76904ffd835bff5fdb85fbc8a1479d1386980d3330a2a8aee811518d0
|
Provenance
The following attestation bundles were made for dbx_tools_auth-0.6.175-py3-none-macosx_13_0_x86_64.whl:
Publisher:
python-release.yml on reggie-db/dbx-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbx_tools_auth-0.6.175-py3-none-macosx_13_0_x86_64.whl -
Subject digest:
bcb10988662d397fd7943bac490166b64c243f7cd714239c921e0ef7bba1bbce - Sigstore transparency entry: 2728676924
- Sigstore integration time:
-
Permalink:
reggie-db/dbx-tools@8439ca1048dbdc8b660bd613d4612aace5030597 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reggie-db
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-release.yml@8439ca1048dbdc8b660bd613d4612aace5030597 -
Trigger Event:
repository_dispatch
-
Statement type:
File details
Details for the file dbx_tools_auth-0.6.175-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: dbx_tools_auth-0.6.175-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8f44aa949e1b3921ba297fcd081bd4ba128bf8a19d1409644e82b86bd04a952
|
|
| MD5 |
c2bfbe288c51ad4ff3162370adcc4474
|
|
| BLAKE2b-256 |
2c2e6f91f4190f0dc5876136c122d8aa016fcf91ad6d939d82810adec3faff82
|
Provenance
The following attestation bundles were made for dbx_tools_auth-0.6.175-py3-none-macosx_11_0_arm64.whl:
Publisher:
python-release.yml on reggie-db/dbx-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbx_tools_auth-0.6.175-py3-none-macosx_11_0_arm64.whl -
Subject digest:
c8f44aa949e1b3921ba297fcd081bd4ba128bf8a19d1409644e82b86bd04a952 - Sigstore transparency entry: 2728677400
- Sigstore integration time:
-
Permalink:
reggie-db/dbx-tools@8439ca1048dbdc8b660bd613d4612aace5030597 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reggie-db
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-release.yml@8439ca1048dbdc8b660bd613d4612aace5030597 -
Trigger Event:
repository_dispatch
-
Statement type: