pyon

Crates.iopyon
lib.rspyon
version0.0.0
sourcesrc
created_at2023-07-04 02:55:57.686295
updated_at2023-07-04 02:55:57.686295
descriptionMimics Python built-in APIs
homepage
repository
max_upload_size
id907576
size12,353
Shunsuke Shibayama (mtshiba)

documentation

README

pyon.rs

A Rust library that mimics Python built-in APIs

Example

[dependencies]
pyon = "0.1"
use pyon::{print, input, int, dir};
use pyon::random;

fn main() {
    print!("Hello, world!", end = "");

    let input = input!("Enter your name: ");
    let i = int!("1");
    print!(i.real);
    print!(dir!());
    print!(random::randint!(0, 10));
    print!(random::randint(0, 10));
}
Commit count: 0

cargo fmt