lib.rs
Cpython
Rust-cpython is licensed under the MIT license. Python is licensed under the Python License. Supported Python versions: Python 2.7; Python 3.7 to 3.12; Warning: this package is no longer actively maintained. Please switch to PyO3 instead. Requires Rust 1.41.1 or later. Usage. To use cpython, add this to your Cargo.toml: [dependencies] cpython ...
PyO3
CPython 3.7 or greater; PyPy 7.3 (Python 3.9+) GraalPy 24.0 or greater (Python 3.10+) You can use PyO3 to write a native Python module in Rust, or to embed Python in a Rust binary. The following sections explain each of these in turn. Using Rust from Python. PyO3 can be used to generate a native Python module.
RustPython
To enhance CPython compatibility, try to increase unittest coverage by checking this article: How to contribute to RustPython by CPython unittest. Another approach is to checkout the source code: builtin functions and object methods are often the simplest and easiest way to contribute.