Skip to main content

A Python Client for Bakplane

Project description

Bakplane Client for Python

Bakplane is the orchestration backbone for Dominus, FinFlo, and Fabrik.

This SDK can be used to control ingestion sessions, mastering executions, plugin installation, etc.

As an example, we use this package to with Airflow to control ingestion orchestration.

Installation

Installing the bakplane python client takes just a few seconds:

pip install bakplane-python-sdk

Bindings

If you're a contributor and would like to generate the bindings from proto then run:

scripts/proto.sh

Examples

If you want to explore the notebooks then install jupyter:

pip install jupyter
cd bakplane/examples
jupyter notebook

Packages

If you want to build a new bakplane binary then run:

git tag -a v1.1.1 -m "Bakplane SDK Release"
git push origin v1.1.1

Then you may find the packages available here: https://github.com/openaristos/bakplane-python-sdk/releases

Spark

Start spark in Docker:

docker run -it --rm -p 8888:8888 --name pyspark jupyter/pyspark-notebook

Copy the latest python package, and the notebooks, onto the cluster:

scripts/package.sh
docker cp dist/bakplane-python-sdk-1.1.1.tar.gz pyspark:/tmp/
docker cp bakplane/examples/notebooks/spark.ipynb pyspark:/home/jovyan/work/

Note: use host.docker.internal instead of localhost when testing.

Then start the jupyter notebook by clicking on the link provided by the Docker container.

Documentation

If you're interested in learning more then read the documentation: https://oa.docs.openaristos.io/

Bakplane

Copyright (C) 2020 Aristos Data, LLC

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 Distribution

bakplane-python-sdk-1.32.0.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

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

bakplane_python_sdk-1.32.0-py3-none-any.whl (65.0 kB view details)

Uploaded Python 3

File details

Details for the file bakplane-python-sdk-1.32.0.tar.gz.

File metadata

  • Download URL: bakplane-python-sdk-1.32.0.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for bakplane-python-sdk-1.32.0.tar.gz
Algorithm Hash digest
SHA256 7e7617c5afed5db67a63e57020197a3e5b1ebf350d3f4834dbcd0508b02f5f55
MD5 3caceaf10f9052c11a6d86db197c53b9
BLAKE2b-256 d8943d43f26c77a211a9612ebd54a6867d8d70abecfc20f1760ca9c5d5e4af22

See more details on using hashes here.

File details

Details for the file bakplane_python_sdk-1.32.0-py3-none-any.whl.

File metadata

  • Download URL: bakplane_python_sdk-1.32.0-py3-none-any.whl
  • Upload date:
  • Size: 65.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for bakplane_python_sdk-1.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d106757099df846e8218ba407311d7f7c4fdef81827dfb4920325b9afd6e72f
MD5 92463cd0a421b830aedf875647beb965
BLAKE2b-256 a50e3f57b15cc0b5f0f19f9f775bc08904b0ffd663305dbc804d8b12c803ca4e

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