5 ms·
A similar idea is Mario, for Python code in shell pipelines. Its most novel feature is (optional) async commands, so you can pipe in a list of urls, make many c
by j88439h84 6y ago
A similar idea is Mario, for Python code in shell pipelines. Its most novel feature is (optional) async commands, so you can pipe in a list of urls, make many concurrent requests, and then process them in a single line.
cat urls.txt | mario async-map 'await asks.get ! x.json()' apply len
https://github.com/python-mario/mario https://github.com/python-mario/mario
Nushell also seems cool, it's somewhat similar to Powershell. https://github.com/nushell/nushell https://github.com/nushell/nushell