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.4.0-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbxcarta_submit-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for dbxcarta_submit-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3442283c483f693f8efd38418f8783003dec6cbef707f396b63a1650d29311ac
MD5 fc84d89dc09691425162b306a4909aa8
BLAKE2b-256 46ecea071be5611fdf7691132beaebcb6003770f24fc65658f2770fc1ce95d8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbxcarta_submit-1.4.0-py3-none-any.whl:

Publisher: publish.yaml on neo4j-partners/dbxcarta

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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