12 releases

0.1.11 Jan 15, 2023
0.1.10 Jan 15, 2023

#2 in #enumerate

Download history 2/week @ 2024-02-21 13/week @ 2024-02-28 58/week @ 2024-03-06 6/week @ 2024-03-13

79 downloads per month

MIT license

27KB
631 lines

rspy

Pythonic interface for Rust.

Crates.io Crates.io cargo test codecov

Installation

Add this to your Cargo.toml:

[dependencies]
rspy = "0"

Currently available

Python Rust
builtins.enumerate rspy::Iterable::enumerate (trait way)
rspy::enumerate (function way)
builtins.input rspy::input
builtins.reversed rspy::Reversed (trait way)
rspy::reversed (function way)
builtins.sorted rspy::Iterable::sorted (trait way)
rspy::sorted (function way)
pathlib.Path.mkdir rspy::pathlib::PyPath::mkdir
string.ascii_lowercase rspy::string::ASCII_LOWERCASE
string.ascii_uppercase rspy::string::ASCII_UPPERCASE
time.sleep rspy::time::sleep

Dependencies

~125KB