![]() |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
README.md
Sample of PyO3
# Install maturin
pip install -U maturin
# or
pipx install -U maturin
# create project in interactive mode
maturin init
# or
maturin new -b pyo3 pyo3mat
# or you can create via cargo directly
cargo new --lib pyo3mat
cargo add pyo3 -F "extension-module"