rspy

Crates.iorspy
lib.rsrspy
version0.1.11
sourcesrc
created_at2023-01-08 17:46:23.678078
updated_at2023-01-15 06:57:36.556701
descriptionPythonic interface for Rust
homepage
repositoryhttps://github.com/seijinrosen/rspy
max_upload_size
id753832
size64,415
(seijinrosen)

documentation

README

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
Commit count: 149

cargo fmt