pyo3/python3-sys
2015-05-23 18:20:49 +02:00
..
examples
src python3-sys: use cfg(py_sys_config=..) instead of cfg(feature=..) 2015-05-23 18:20:49 +02:00
.gitignore crates.io doesn't accept dots in feature names 2015-05-03 00:39:03 +02:00
build.rs Python 3 build support 2015-05-23 15:23:08 +01:00
Cargo.toml Python 3 build support 2015-05-23 15:23:08 +01:00
LICENSE
README.md crates.io doesn't accept dots in feature names 2015-05-03 00:39:03 +02:00

rust-python3-sys

Rust FFI declarations for Python 3. Supports the PEP 384 stable ABI.


This cargo -sys package provides python3 declarations. Licensed under the Python license (see LICENSE).

For a safe high-level API, see rust-cpython.

Usage

python3-sys is available on crates.io so you can use it like this (in your Cargo.toml):

[dependencies.python3-sys]
version = "*"

In Rust, import the crate like this:

extern crate python3_sys as py;

Documentation for the python API is available on [https://docs.python.org/3/c-api/].