Hacker News new | ask | show | jobs
by j88439h84 2138 days 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

Nushell also seems cool, it's somewhat similar to Powershell. https://github.com/nushell/nushell