6 releases

0.2.1 Sep 28, 2018
0.2.0 Feb 27, 2018
0.1.3 Dec 17, 2016
0.1.2 Mar 5, 2016
0.1.0 May 2, 2015

#5 in #cpython

Download history 426/week @ 2019-01-23 409/week @ 2019-01-30 613/week @ 2019-02-06 539/week @ 2019-02-13 575/week @ 2019-02-20 568/week @ 2019-02-27 519/week @ 2019-03-06 469/week @ 2019-03-13 544/week @ 2019-03-20 541/week @ 2019-03-27 546/week @ 2019-04-03 523/week @ 2019-04-10 519/week @ 2019-04-17 723/week @ 2019-04-24 661/week @ 2019-05-01

2,683 downloads per month
Used in 15 crates (2 directly)

Python-2.0

188KB
4K SLoC

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

Dependencies

~378KB