pyo3/python3-sys
Daniel Grunwald 2904330b1c Improve build.rs when configuring using the python in PATH
* First try "pythonX.Y" and
  "pythonX" before using the generic "python"
* Use LDVERSION to detect 'dmu' suffix (PEP-3149)
2015-06-28 21:45:53 +02:00
..
examples
src
.gitignore
build.rs Improve build.rs when configuring using the python in PATH 2015-06-28 21:45:53 +02:00
Cargo.toml
LICENSE
README.md

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