Metadata-Version: 2.4
Name: ries-rs
Version: 1.0.1
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Mathematics
Summary: Find algebraic equations given their solution
Keywords: math,equation,solver,algebraic,inverse-symbolic-calculator
Home-Page: https://github.com/maxwellsantoro/ries-rs
Author: RIES Contributors
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://github.com/maxwellsantoro/ries-rs/blob/main/docs/PYTHON_BINDINGS.md
Project-URL: Homepage, https://github.com/maxwellsantoro/ries-rs
Project-URL: Repository, https://github.com/maxwellsantoro/ries-rs.git

# ries-rs

Python bindings for [`ries`](https://crates.io/crates/ries), a Rust implementation of the
RIES inverse equation solver.

`ries-rs` searches for algebraic equations that have a given target value as a
solution, with support for deterministic runs, structured output, and the same
core search engine used by the CLI and WASM builds.

## Install

```bash
pip install ries-rs
```

## Example

```python
import ries_rs

results = ries_rs.search(3.141592653589793, max_matches=3)
for match in results:
    print(match.lhs, "=", match.rhs)
```

## Project Links

- Repository: <https://github.com/maxwellsantoro/ries-rs>
- Python bindings docs: <https://github.com/maxwellsantoro/ries-rs/blob/main/docs/PYTHON_BINDINGS.md>

