pyo3/python27-sys
2016-03-12 00:06:39 +01:00
..
examples
src py_class!: Add support for "def __new__(cls)". 2016-03-12 00:06:39 +01:00
.gitignore
.travis.yml
build.rs
Cargo.toml python27-sys 0.1.1 and python3-sys 0.1.2 release 2016-03-05 17:40:41 +01:00
LICENSE
README.md

rust-python27-sys Build Status

Rust FFI declarations for Python 2.7.


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

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

Usage

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

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

In Rust, import the crate like this:

extern crate python27_sys as py;

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