pyon 0.0.0

Mimics Python built-in APIs
Documentation
  • Coverage
  • 0%
    0 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 12.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 962.89 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mtshiba

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));
}