Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (25 loc) · 993 Bytes

File metadata and controls

41 lines (25 loc) · 993 Bytes

SDS Python library

Python bindings around the core library for data aggregation and synthesis.

How to compile

To compile the python bindings please follow these steps.

I. Install Python and Pip

You will need python and pip installed on your system.

II. Install Rust tooling

The python bindings depends on the core library. You will need the Rust tooling installed in order to compile it. To install it, please refer to here.

III. Create a virtual env

Go to the folder where you want to store your virtual environment and run:

> python -m venv .env
> source .env/bin/activate

IV. Install the required dependencies

Install Maturin to build the bindings.

> pip install maturin

V. Generate the python bindings

Browse to the lib-python package, build and install it as a python module on the current virtual environment.

> cd packages/lib-python
> maturin develop --release