Installation
Installing from PyPI
The easiest way to install the Transtractor is using pip:
pip install transtractor
Installing from Source
First install Rust by following the instructions at rust-lang.org. Then install Maturin, the build tool for Python bindings:
pip install maturin
To install the latest development version from GitHub:
git clone https://github.com/transtractor/transtractor-lib.git
cd transtractor-lib
maturin develop --release
Testing the Installation
To test the Rust library installation:
cargo test
To run the Python tests:
pip install pytest
pytest tests/python