16 releases

0.7.2 Jul 2, 2024
0.7.1 Oct 25, 2022
0.7.0 Oct 9, 2021
0.6.0 Apr 15, 2021
0.1.1 Jul 4, 2015

#1214 in Development tools

Download history 7038/week @ 2024-11-17 4816/week @ 2024-11-24 7062/week @ 2024-12-01 7095/week @ 2024-12-08 6908/week @ 2024-12-15 2597/week @ 2024-12-22 2933/week @ 2024-12-29 5207/week @ 2025-01-05 5320/week @ 2025-01-12 4165/week @ 2025-01-19 3917/week @ 2025-01-26 5453/week @ 2025-02-02 6659/week @ 2025-02-09 6584/week @ 2025-02-16 6525/week @ 2025-02-23 4203/week @ 2025-03-02

24,673 downloads per month
Used in 35 crates (5 directly)

Python-2.0

215KB
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