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

#908 in Development tools

Download history 4321/week @ 2024-08-17 3227/week @ 2024-08-24 3316/week @ 2024-08-31 3965/week @ 2024-09-07 3424/week @ 2024-09-14 4555/week @ 2024-09-21 4660/week @ 2024-09-28 6232/week @ 2024-10-05 5143/week @ 2024-10-12 5390/week @ 2024-10-19 4210/week @ 2024-10-26 4397/week @ 2024-11-02 5991/week @ 2024-11-09 6694/week @ 2024-11-16 5341/week @ 2024-11-23 5614/week @ 2024-11-30

24,633 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–360KB