Metadata-Version: 2.4
Name: gtars
Version: 0.2.6
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: pytest>=8.3.4
Requires-Dist: pytest-cov>=6.0.0
Requires-Dist: maturin>=1.8.1
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# gtars

This is a Python package that wraps the `gtars` crate so you can call gtars code from Python.

Documentation for Python bindings is hosted at: https://docs.bedbase.org/gtars/

## Brief instructions

To install the development version, you'll have to build it locally. Build Python bindings like this:

```console
cd bindings/python
python_version=$(python --version | awk '{print $2}' | cut -d '.' -f1-2 )
maturin build --interpreter $python_version  --release
```

Then install the local wheel that was just built:

```console
gtars_version=`grep '^version =' Cargo.toml | cut -d '"' -f 2`
python_version_nodot=$(python --version | awk '{print $2}' | cut -d '.' -f1-2 | tr -d '.')
wheel_path=$(find target/wheels/gtars-${gtars_version}-cp${python_version_nodot}-cp${python_version_nodot}-*.whl)
pip install --force-reinstall ${wheel_path}
```
