pyo3/python3-sys
Daniel Grunwald 29693eec12 python27-sys 0.1.0 and python3-sys 0.1.1 2015-07-04 20:20:06 +02:00
..
examples Add python3-sys 2015-04-26 10:32:58 +02:00
src py_module_initializer! for python 3 2015-05-24 20:06:08 +02:00
.gitignore crates.io doesn't accept dots in feature names 2015-05-03 00:39:03 +02:00
Cargo.toml python27-sys 0.1.0 and python3-sys 0.1.1 2015-07-04 20:20:06 +02:00
LICENSE Add python3-sys 2015-04-26 10:32:58 +02:00
README.md python27-sys 0.1.0 and python3-sys 0.1.1 2015-07-04 20:20:06 +02:00
build.rs #16: Try "python" first and only try "pythonX" or "pythonX.Y" if the previous 2015-07-04 18:46:37 +02:00

README.md

rust-python3-sys

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


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/].