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

#817 in Development tools

Download history 2091/week @ 2024-07-04 3120/week @ 2024-07-11 3887/week @ 2024-07-18 3510/week @ 2024-07-25 4141/week @ 2024-08-01 3813/week @ 2024-08-08 4129/week @ 2024-08-15 3847/week @ 2024-08-22 2835/week @ 2024-08-29 4018/week @ 2024-09-05 3688/week @ 2024-09-12 4288/week @ 2024-09-19 4478/week @ 2024-09-26 6043/week @ 2024-10-03 5264/week @ 2024-10-10 5191/week @ 2024-10-17

22,035 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–355KB