rigetti-pyo3

Crates.iorigetti-pyo3
lib.rsrigetti-pyo3
version0.4.0
sourcesrc
created_at2022-12-20 21:10:49.606263
updated_at2024-07-12 22:18:51.812832
descriptionUtilities for creating a Python wrapper for a Rust library.
homepage
repositoryhttps://github.com/rigetti/rigetti-pyo3
max_upload_size
id742590
size161,992
(rigetti-githubbot)

documentation

README

Rigetti PyO3

This crate defines a set of macros for creating PyO3 bindings to an existing Rust crate.

That is, given Rust library crate foo, these macros can be used inside a crate foo-python to create Python bindings. This is not intended for creating a standalone Python library using Rust.

See the docs for more.

A note on feature compatibility

If you want to use PyO3's abi3 feature, you must disable this library's time feature (which is enabled by default). This library provides an abi3 feature you can enable in order to explicitly request pyo3/abi3, which will give a clearer error message in that case.


Rigetti PyO3 is licensed under the Apache License 2.0.

Commit count: 128

cargo fmt