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

#2 in #python

Download history 713/week @ 2018-10-25 922/week @ 2018-11-01 651/week @ 2018-11-08 1110/week @ 2018-11-15 654/week @ 2018-11-22 689/week @ 2018-11-29 420/week @ 2018-12-06 399/week @ 2018-12-13 572/week @ 2018-12-20 448/week @ 2018-12-27 283/week @ 2019-01-03 486/week @ 2019-01-10 586/week @ 2019-01-17

2,859 downloads per month
Used in 13 crates (1 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

~343KB

  • libc 0.2
  • links python3
  • build build.rs
  • build regex 1.0