| Crates.io | rspy |
| lib.rs | rspy |
| version | 0.1.11 |
| created_at | 2023-01-08 17:46:23.678078+00 |
| updated_at | 2023-01-15 06:57:36.556701+00 |
| description | Pythonic interface for Rust |
| homepage | |
| repository | https://github.com/seijinrosen/rspy |
| max_upload_size | |
| id | 753832 |
| size | 64,415 |
Pythonic interface for Rust.
Add this to your Cargo.toml:
[dependencies]
rspy = "0"
| 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 |