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
dbxcartaconsole command (the operator CLI), and - the
dbxcarta.submitimport path, including thesubmit_neocarta_ingestlibrary 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3442283c483f693f8efd38418f8783003dec6cbef707f396b63a1650d29311ac
|
|
| MD5 |
fc84d89dc09691425162b306a4909aa8
|
|
| BLAKE2b-256 |
46ecea071be5611fdf7691132beaebcb6003770f24fc65658f2770fc1ce95d8f
|
Provenance
The following attestation bundles were made for dbxcarta_submit-1.4.0-py3-none-any.whl:
Publisher:
publish.yaml on neo4j-partners/dbxcarta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbxcarta_submit-1.4.0-py3-none-any.whl -
Subject digest:
3442283c483f693f8efd38418f8783003dec6cbef707f396b63a1650d29311ac - Sigstore transparency entry: 1820146993
- Sigstore integration time:
-
Permalink:
neo4j-partners/dbxcarta@8441993e29a106a068e574db224a3d95fba27796 -
Branch / Tag:
refs/tags/1.4.0 - Owner: https://github.com/neo4j-partners
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@8441993e29a106a068e574db224a3d95fba27796 -
Trigger Event:
push
-
Statement type: