pyo3/python27-sys
Daniel Grunwald a469635eca python27-sys: add missing object types 2015-07-18 13:40:26 +02:00
..
examples Add fileobject, cobject and pycapsule headers 2015-05-07 23:18:48 +02:00
src python27-sys: add missing object types 2015-07-18 13:40:26 +02:00
.gitignore Add python27-sys to rust-cpython repository 2015-04-26 10:34:31 +02:00
.travis.yml Add python27-sys to rust-cpython repository 2015-04-26 10:34:31 +02:00
Cargo.toml rust-cpython 0.0.2 2015-07-04 20:28:40 +02:00
LICENSE Add python27-sys to rust-cpython repository 2015-04-26 10:34:31 +02:00
README.md Add python27-sys to rust-cpython repository 2015-04-26 10:34:31 +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-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/].