TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Termgraph: Python CLI Tool to Draw Graphs

167 pointsby subbzalmost 7 years ago

9 comments

anon335dtzbvcalmost 7 years ago
I can also recommend:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;kroitor&#x2F;asciichart" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kroitor&#x2F;asciichart</a> (JS, Py)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;guptarohit&#x2F;asciigraph" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;guptarohit&#x2F;asciigraph</a> (Go)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;madnight&#x2F;asciichart" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;madnight&#x2F;asciichart</a> (Haskell)
dansoalmost 7 years ago
Very nice. The agate library (by the same author of csvkit) also prints out text charts, though I don&#x27;t think it has a CLI: <a href="http:&#x2F;&#x2F;agate.readthedocs.io&#x2F;en&#x2F;1.6.1&#x2F;" rel="nofollow">http:&#x2F;&#x2F;agate.readthedocs.io&#x2F;en&#x2F;1.6.1&#x2F;</a>
ziotom78almost 7 years ago
A similar idea is used in UnicodePlots [1], a Julia terminal plotting library. This kind of tools is very useful when you are connected to some HPC cluster and want to have a quick look at the contents of data files.<p>Of course, the approach is quite different, as Termgraph seems a stand-alone program, while UnicodePlots is a library.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;Evizero&#x2F;UnicodePlots.jl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Evizero&#x2F;UnicodePlots.jl</a>
zenethianalmost 7 years ago
I love this. It feels like a solution to a problem I never knew I had. I&#x27;m a very visual thinker, and there have been so many times where I wish I could summarize a volume of data into graphs without loading up Sheets.
评论 #17628853 未加载
make3almost 7 years ago
I wish you could display images in the command line. it would have so many cool applications
评论 #17625598 未加载
评论 #17625593 未加载
评论 #17626876 未加载
评论 #17627599 未加载
m1keilalmost 7 years ago
very nice. reminds me of <a href="https:&#x2F;&#x2F;github.com&#x2F;bitly&#x2F;data_hacks" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bitly&#x2F;data_hacks</a>
ebikelawalmost 7 years ago
gnuplot&gt; set term xterm
glic3rinualmost 7 years ago
would be nice if plots scale according to terminal width, so they fit in the screen without line wrapping :)
cup-of-teaalmost 7 years ago
I actually wrote one of these myself years ago. I never finished it up for general use because I thought &quot;someone must have done this already&quot; so I just left it as a &quot;util&quot; buried in some project. I always seem to think the same thing.
评论 #17629578 未加载