Skip to main content

dbx_utils

dbx_utils is a Python package for managing folders and permissions in Databricks workspaces.

Installation

pip install dbx_utils

Usage

Creating a Folder

from dbx_utils import create_databricks_folder

url = 'https://your-databricks-url'
token = 'your-databricks-token'
folder_path = '/example-folder'

folder_id = create_databricks_folder(url, token, folder_path)
print(f"Created folder ID: {folder_id}")

Setting Folder Permissions

from dbx_utils import set_folder_permissions

url = 'https://your-databricks-url'
token = 'your-databricks-token'
folder_id = 'your-folder-id'

set_folder_permissions(url, token, folder_id)

Getting a Folder ID

from dbx_utils import get_databricks_folder_id

url = 'https://your-databricks-url'
token = 'your-databricks-token'
folder_path = '/example-folder'

folder_id = get_databricks_folder_id(url, token, folder_path)
print(f"Folder ID: {folder_id}")

List of dependencies.

  • requests
  • databricks-api

Metadata

Release files for dbx-utils 0.3.2

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

Source distribution (sdist)

Source distribution for dbx-utils 0.3.2
File Size Uploaded Provenance Actions
dbx_utils-0.3.2.tar.gz 3.0 kB Without provenance Details for dbx_utils-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbx-utils 0.3.2
File Interpreter ABI Platform Actions
dbx_utils-0.3.2-py3-none-any.whl Python 3 none any Details for dbx_utils-0.3.2-py3-none-any.whl

Total release size: 6.0 kB

Release files / dbx_utils-0.3.2.tar.gz

Download URL dbx_utils-0.3.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aafb91f0bf1ad3757cd934503f6813760731f286926b28988d6373b7018a8a1d
BLAKE2b-256 checksum
How to use checksums
58bef18b1b694f97e4b77736de84664c7d37be43e391fd170f28bc8e69349359
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / dbx_utils-0.3.2-py3-none-any.whl

Download URL dbx_utils-0.3.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1bd193b79cb7cddfd828c65b57015c6f4107536a92509f69fa1924fb435651f
BLAKE2b-256 checksum
How to use checksums
05716e627da354acf4ffc4c9d466fed04621c3dc20214e8de94f937aa119c42d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for dbx-utils 0.3.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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