Metadata-Version: 2.1
Name: bakplane-python-sdk
Version: 1.63.0
Summary: A Python Client for Bakplane
Home-page: https://github.com/openaristos/bakplane-python-sdk
Author: Aristos Data, LLC.
Author-email: hello@openaristos.io
License: AGPLv3
Keywords: open aristos
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Telecommunications Industry
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
Requires-Dist: grpcio (==1.34.1)
Requires-Dist: grpcio-tools (==1.34.1)
Requires-Dist: protobuf (==3.14.0)
Requires-Dist: SQLAlchemy (==1.3.22)
Requires-Dist: sqlalchemy-redshift (==0.8.1)
Requires-Dist: psycopg2-binary (==2.8.6)
Requires-Dist: pyfarmhash (==0.2.2)
Requires-Dist: boto3 (==1.16.41)
Requires-Dist: dominus-python-sdk (==0.21.0)
Requires-Dist: click (==7.1.2)
Requires-Dist: pandas (==1.2.0)
Requires-Dist: cachetools (==4.2.0)
Requires-Dist: python-stdnum (==1.13)
Requires-Dist: sortedcontainers (==2.3.0)

# 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:
```bash
pip install bakplane-python-sdk
```

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

```bash
scripts/proto.sh
```

## Examples
If you want to explore the notebooks then install `jupyter`:
```shell script
pip install jupyter
cd bakplane/examples
jupyter notebook
```

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

```shell script
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:
```shell script
docker run -it --rm -p 8888:8888 --name pyspark jupyter/pyspark-notebook
```

Copy the latest python package, and the notebooks, onto the cluster:
```shell script
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/

<h1 align="center">
    <img src="https://gist.githubusercontent.com/daefresh/32418b316dda99eb537fcef08b4c88af/raw/f4ed8e6fb4fd343eb61541c76871233d1105d2ec/bakplane_logo.svg" alt="Bakplane"/>
</h1>

Copyright (C) 2020 Aristos Data, LLC

