63a47a14a9 | ||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md | ||
requirements.txt |
README.md
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 in the current virtual environment.
> cd packages/lib-python
> maturin develop --release