Metadata-Version: 2.1
Name: opszero-rustypy
Version: 0.1.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE
Requires-Python: >=3.7
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# opszero-rustypy

opszero-rustypy is a template Rust Library for Python using [Pyo3](https://github.com/PyO3/pyo3).

The project is a template that you can clone or generate using the PyO2 product. This project
exists as a demonstration of a Ruby library that is used withing AWS Lambda and Kubernetes:

- [aws-lambda-python](https://github.com/opszero/template-aws-lambda-python)
- [tiphyspy](https://github.com/opszero/tiphyspy)

# Dependencies

## MacOS

```
brew install pyenv pyenv-virtualenv
pip3 install maturin
```

# Create

```
mkdir project/
maturin init
✔ 🤷 What kind of bindings to use? · pyo3
```

# Build

```
pyenv virtualenv opszero-rustypy
pyenv activate opszero-rustypy
cargo update
./build.sh
```

- Built for Mac, Linux and Windows on Push

# Publish

- Published on Release Tag

# Use

```python
>>> import opszero_rustypy
>>> opszero_rustypy.sum_as_string(1,2)
'3'
```

