Skip to main content

Databricks Deployment Utils

Project description

Documentation

https://databricks-clay.readthedocs.io/en/latest/

Development Setup

Create virual environment and install dependencies for local development:

python3.7 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip install -r dev_requirements.txt

Exporting variables doesn't make for a great development experience so I recommend using the enviroment manager tools of your editor and for testing create a ./pytest.ini that looks like this:

[pytest]
env =
    VARIABLE=value
    VARIABLE2=value2

REMINDER: do NOT commit any files that contain security tokens

Git ignore already contains an exclusion for pytest.ini

Build

Build python wheel:

python setup.py sdist bdist_wheel

There is a CI build configured for this repo that builds on main origin on a private Azure DevOps service.

Test

Dependencies for testing:

pip install --editable .

Run tests:

pytest

Test Coverage:

pytest --cov=databricks-clay --cov-report=html

View the report in a browser:

./htmlcov/index.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

databricks-clay-0.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

databricks_clay-0.0.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file databricks-clay-0.0.1.tar.gz.

File metadata

  • Download URL: databricks-clay-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.7

File hashes

Hashes for databricks-clay-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a27626f631193eaa05f65ddce2e72a01cbc23dc15cc72772f8a9b9416887812c
MD5 f71ebc5dd254d3cb2e6c8ede600bf8fd
BLAKE2b-256 195c841de1a6a21680bae0805e80f6d16e44cad10d1b701e2c2d8105e16fd221

See more details on using hashes here.

File details

Details for the file databricks_clay-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: databricks_clay-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.7

File hashes

Hashes for databricks_clay-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e15e8fa3f118cc2103f2e2264d605d84e62ad79863a418ab1499d7e507b88b1
MD5 6f33dc3e0da4da05c602884dec47d3f0
BLAKE2b-256 77b8ada9f4291a21642c51a93b8dcb818bb617f1ed50055867ee8815dd4681d0

See more details on using hashes here.

Supported by

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