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

#734 in Development tools

Download history 1171/week @ 2023-12-23 2060/week @ 2023-12-30 3372/week @ 2024-01-06 2462/week @ 2024-01-13 2868/week @ 2024-01-20 2936/week @ 2024-01-27 3332/week @ 2024-02-03 3402/week @ 2024-02-10 3510/week @ 2024-02-17 4695/week @ 2024-02-24 3150/week @ 2024-03-02 3631/week @ 2024-03-09 2711/week @ 2024-03-16 2770/week @ 2024-03-23 3240/week @ 2024-03-30 2066/week @ 2024-04-06

11,273 downloads per month
Used in 35 crates (5 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