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

#1155 in Development tools

Download history 5272/week @ 2024-10-17 4603/week @ 2024-10-24 4117/week @ 2024-10-31 5463/week @ 2024-11-07 5942/week @ 2024-11-14 7161/week @ 2024-11-21 5389/week @ 2024-11-28 6425/week @ 2024-12-05 7596/week @ 2024-12-12 4593/week @ 2024-12-19 2415/week @ 2024-12-26 4595/week @ 2025-01-02 5421/week @ 2025-01-09 4203/week @ 2025-01-16 4188/week @ 2025-01-23 3442/week @ 2025-01-30

18,213 downloads per month
Used in 34 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