pyo3/examples/setuptools-rust-starter/setuptools_rust_starter/__init__.py
2021-04-03 11:59:41 +01:00

8 lines
200 B
Python

# import the contents of the Rust library into the Python extension
from ._setuptools_rust_starter import *
class PythonClass:
def __init__(self, value: int) -> None:
self.value = value