marcel
termgraph
marcel | termgraph | |
---|---|---|
13 | 5 | |
332 | 3,113 | |
- | - | |
9.3 | 0.0 | |
3 days ago | almost 1 year ago | |
Python | Python | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
marcel
-
Generating graphs from the marcel command line
Marcel is one of the pipe-objects-instead-of-strings shells (https://marceltheshell.org).
Here's a blog post showing how to use marcel to generate graphs directly from the command line.
https://www.marceltheshell.org/post/generating-graphs-from-t...
-
Xonsh: Python-powered, cross-platform, Unix-gazing shell
Check out marcel (https://marceltheshell.org). It's yet another pipe-objects-instead-of-strings shell (like nushell). Unlike nushell, you pipe Python values. Marcel has no sublanguages (like awk, sed, ...). Instead, when logic is needed, you write Python code, delimited by parens. So:
(USER)
-
Marcel the Shell
It is a useful correction. This project predates the release of the movie: https://github.com/geophile/marcel/commit/bb6adacbb6b3a683ce...
-
Object SHell
Check out marcel: https://marceltheshell.org, and https://github.com/geophile/marcel. Both marcel and nushell start with the idea of piping structured data instead of strings, which is incredibly powerful. (This also applies to osh. I am the author of osh and marcel.)
Marcel (and osh) rely on Python types and language where typical shells have sublanguages. So instead of awk or find and their sublanguages, you just use Python. Instead of piping strings, you pipe streams of Python values.
Marcel lets you use Python on the commmand line. It also has an API which allows you to use shell-like commands inside of Python programs.
-
Shshsh is a bridge connects Python and shell
I wrote a shell, marcel, that pipes Python values instead of strings: https://marceltheshell.org.
It also does the inverse, allowing you to run marcel commands from Python, e.g. https://www.marceltheshell.org/scripting-1
-
The Case for Nushell
Check out my entry, marcel: https://marceltheshell.org.
E.g., find the newest vlc instance and kill it (a command that an acquaintance needs frequently, for some reason):
ps | select (p: p.name == 'vlc') | sort (p: p.create_time) | tail 1 | (p: p.signal(9))
- The Awk Programming Language, Second Edition
termgraph
-
The Awk Programming Language, Second Edition
`sparklines`[1] is good for an overall low-res view. `termgraph`[2] is sometimes better for a higher-res, more capable view (but can be finicky about the data.)
[1] https://github.com/deeplook/sparklines
[2] https://github.com/mkaz/termgraph
- A command line tool that draw plots on the terminal
-
Which not so well known Python packages do you like to use on a regular basis and why?
I use TermGraph (https://github.com/mkaz/termgraph) a lot. Impress my boss / coworkers with it. It can easily convert your tables / numbers to super cool graphs on the command line and being text, the result can be copy pasted into the emails / chats. I've shown a demo here: https://youtu.be/86V5amp1u7U
-
📢 Grype 0.42.0 is out... and hello grype-contribs 👶
We'll use termgraph, "A command-line tool that draws basic graphs in the terminal," :
-
My favorite cli/tui programs:
https://github.com/mkaz/termgraph - for plotting simple data
What are some alternatives?
awk-vm - A virtual machine and assembler written in AWK.
navi - An interactive cheatsheet tool for the command-line
asm - scriptable runtime-writable livecd / hardware wrangler
dust - A more intuitive version of du in rust
busybox-w32 - WIN32 native port of BusyBox.
sn - Simple Notes using fzf
iterable-subprocess - Python context manager to communicate with a subprocess using iterables: for when data is too big to fit in memory and has to be streamed
Weechat - The extensible chat client.
ioccc-obfuscated-c-contest - IOCCC International Obfuscated C code contest entries
glances - Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
carbon - :black_heart: Create and share beautiful images of your source code
cmus - Small, fast and powerful console music player for Unix-like operating systems.