Mojo-asciichart v1.1.0 ๐Ÿ”ฅ ASCII line charts for Mojo

mojo-asciichart v1.1.0 :fire:

ASCII line charts for Mojo with colors and proven performance gains

from asciichart import plot, ChartColors, Config

var latencies = collect_api_latencies()  # Monitor ML serving
var config = Config()
config.colors = ChartColors.fire()
print(plot(latencies, config))

Output:

  101.90  โ”œ              โ•ญโ•ฎ
   74.78  โ”œ    โ•ญโ•ฎ        โ”‚โ”‚               โ”‚โ”‚
   47.66  โ”œ   โ”‚ โ”‚  โ•ญโ”€โ•ฎ  โ•ญโ•ฏโ•ฐโ•ฎ              โ”‚โ”‚        โ”‚โ”‚
   20.54  โ”คโ”€โ”€โ”€โ•ฏ โ•ฐโ”€โ”€โ•ฏ       โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏโ•ฐโ”€โ”€โ”€โ”€โ”€โ•ฏโ•ฐโ”€โ•ฏโ•ฐโ”€โ”€โ•ฏโ•ฐโ”€โ”€โ•ฏ

๐Ÿ“Š Mean=25.3ms | P95=63.7ms | Max=101.9ms
  • Output didnโ€™t survive cut n paste / markdown formatting?!

v1.1.0 Highlights

  • :artist_palette: 6 color themes (matrix, fire, ocean, blue, rainbow, default)
  • :high_voltage: 1.4-4.3x faster than Python asciichartpy
  • :rocket: ML serving example - realistic production monitoring
  • :bar_chart: Benchmarked with my prototype BenchSuite (auto-generated reports)
  • :white_check_mark: 29 tests - pixel-perfect Python compatibility
  • :robot: CI/CD - automated .mojopkg builds

Quick Start

git clone https://github.com/DataBooth/mojo-asciichart.git
cd mojo-asciichart
pixi install
pixi run example-ml-serving  # See realistic use case!

Links

Note also CREDITS.md

Personal Note :beach_with_umbrella:

This wraps up my intensive โ€œMonth of Mojoโ€ learning journey! Itโ€™s been good although hectic. Now off to enjoy the Australian summer at the beach! :australia::sun::ocean:

Repos remain monitored - issues and contributions welcome!

5 Likes

Congrats on v1.1.0! :tada: Thanks for sharing :slight_smile: Enjoy the Australian summer!

2 Likes

Assichart v1.1.0 is splendid and fascinating for developing Machine learning. Excellent have a enthusiastic summer. Data Booth Founder Michael Booth in Australia. You are an excellent figure in the Modular Community letโ€™s keep growing up the ecosystem.

Thanks for the encouragement @trojan_x - 36 C today - alas canโ€™t get to the beach today :wink:

Stay cool, Michael! If it makes you feel better, itโ€™s 45^\circ\text{C} here in Kenyaโ€”my Mojo code is the only thing keeping its cool right now! :wink:"

If you think 36ยฐC is hot in Australia -im guessing your Mojo serverโ€™s in Data Booth are Melting -In Kenya youโ€™ll Evaporate :grin::winking_face_with_tongue:

1 Like