15 releases

0.7.1 Oct 25, 2022
0.7.0 Oct 9, 2021
0.6.0 Apr 15, 2021
0.5.2 Dec 16, 2020
0.1.1 Jul 4, 2015

#397 in Text processing

Download history 3244/week @ 2023-06-08 3127/week @ 2023-06-15 3438/week @ 2023-06-22 2399/week @ 2023-06-29 3574/week @ 2023-07-06 3016/week @ 2023-07-13 3531/week @ 2023-07-20 2818/week @ 2023-07-27 2906/week @ 2023-08-03 2813/week @ 2023-08-10 2751/week @ 2023-08-17 2701/week @ 2023-08-24 2842/week @ 2023-08-31 3399/week @ 2023-09-07 3131/week @ 2023-09-14 2667/week @ 2023-09-21

12,683 downloads per month
Used in 35 crates (6 directly)

Python-2.0

220KB
5.5K 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 = "*"

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

Dependencies

~0.4–350KB