pyprint 1.0.0

Library to enable python-style printing in rust
Documentation
  • Coverage
  • 42.11%
    8 out of 19 items documented0 out of 9 items with examples
  • Size
  • Source code size: 7.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 503.77 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • su-z/pyprint
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • su-z

pyprint

Getting tired of writine printing statements with format strings in rust? This is a library to enable python-style printing in rust. It is implemented using rust macros. Anything with the Display trait implemented can be printed.

Usage

Simply write like python in rust.

use pyprint::pprn;
let a = 5;
pprn!("Progress:", a, sep=" ", end="\r");