Skip to main content

Operator CLI and library for building, uploading, and submitting dbxcarta Databricks jobs

Project description

dbxcarta-submit

Operator tooling for building, uploading, and submitting dbxcarta Databricks jobs. It wraps databricks-job-runner and knows how to stage a neocarta connector wheel onto a Unity Catalog Volume and submit its ingest job.

The distribution installs:

  • the dbxcarta console command (the operator CLI), and
  • the dbxcarta.submit import path, including the submit_neocarta_ingest library function.

Install

pip install dbxcarta-submit

The wheel is self-contained: its only external dependency is databricks-job-runner. The dbxcarta.core modules it uses are bundled into the wheel, so no separate install is required.

Library use

from pathlib import Path

from dbxcarta.submit import submit_neocarta_ingest

# Stage a prebuilt neocarta connector wheel and submit the ingest job.
# The catalog, Volume, profile, and Neo4j secrets come from the selected
# dbxcarta overlay (DBXCARTA_ENV_FILE or --env-file), exactly as the CLI
# resolves them.
submit_neocarta_ingest(Path("dist/neocarta-1.0.0-py3-none-any.whl"))

The ingest job uses the Neo4j Spark Connector, a JVM cluster library, so it must run on classic (non-serverless) compute. submit_neocarta_ingest defaults to compute_mode="cluster".

CLI use

dbxcarta --help

See the dbxcarta repository for the operator workflow.

Project details


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 Distribution

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

dbxcarta_submit-1.1.0-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file dbxcarta_submit-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: dbxcarta_submit-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dbxcarta_submit-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac1f7f96ddaabbc4b112c36990c5851b279c9e7f3a9c4ef51b7e9a78c05faa48
MD5 238bd2d55a3a862c6dfd4c0f861aec09
BLAKE2b-256 0d3ea5a470eab5f017ddd0026d737ce4060383b14e9c1d3723e434e95b65c9bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page