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

#440 in Build Utils

Download history 2895/week @ 2025-09-19 3580/week @ 2025-09-26 5660/week @ 2025-10-03 3910/week @ 2025-10-10 1978/week @ 2025-10-17 2172/week @ 2025-10-24 2527/week @ 2025-10-31 3541/week @ 2025-11-07 3301/week @ 2025-11-14 4314/week @ 2025-11-21 2757/week @ 2025-11-28 2506/week @ 2025-12-05 2497/week @ 2025-12-12 2060/week @ 2025-12-19 1340/week @ 2025-12-26 2144/week @ 2026-01-02

8,416 downloads per month
Used in 36 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–340KB