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

#604 in Development tools

Download history 2529/week @ 2023-11-24 2856/week @ 2023-12-01 2682/week @ 2023-12-08 2713/week @ 2023-12-15 1342/week @ 2023-12-22 1639/week @ 2023-12-29 3449/week @ 2024-01-05 2398/week @ 2024-01-12 2846/week @ 2024-01-19 3150/week @ 2024-01-26 3071/week @ 2024-02-02 3583/week @ 2024-02-09 3154/week @ 2024-02-16 4306/week @ 2024-02-23 3764/week @ 2024-03-01 1697/week @ 2024-03-08

13,561 downloads per month
Used in 36 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–355KB