19 releases

0.7.0 Oct 9, 2021
0.6.0 Apr 15, 2021
0.5.2 Dec 16, 2020
0.5.1 Sep 8, 2020
0.0.3 Feb 1, 2015

#12 in #cpython

Download history 12/week @ 2025-10-06 15/week @ 2025-10-13 26/week @ 2025-10-20 7/week @ 2025-10-27 1/week @ 2025-11-10 2/week @ 2025-11-17 8/week @ 2025-12-01 1/week @ 2025-12-08

772 downloads per month
Used in 5 crates (2 directly)

Python-2.0

195KB
5K SLoC

rust-python27-sys Build Status

Rust FFI declarations for Python 2.7.


This cargo -sys package provides python27 declarations. Licensed under the Python license (see LICENSE).

For a safe high-level API, see rust-cpython.

Usage

python27-sys is available on crates.io so you can use it like this (in your Cargo.toml):

[dependencies.python27-sys]
version = "*"

Documentation for the python API is available on https://docs.python.org/2/c-api/.

Dependencies

~0.4–340KB