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 649/week @ 2018-11-04 1183/week @ 2018-11-11 506/week @ 2018-11-18 743/week @ 2018-11-25 376/week @ 2018-12-02 393/week @ 2018-12-09 535/week @ 2018-12-16 446/week @ 2018-12-23 329/week @ 2018-12-30 496/week @ 2019-01-06 582/week @ 2019-01-13 352/week @ 2019-01-20 426/week @ 2019-01-27 502/week @ 2019-02-03 688/week @ 2019-02-10

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

~361KB

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