Hi! I've written a python package that lets you combine python code and shell pipelines:
Pieshell is a Python shell environment that combines the expressiveness of shell pipelines with the prower of python iterators. It can be used in two major ways: As an interactive shell replacing e.g. bash As an ordinary python module replacing e.g. subprocess.Popen >>> list(ls("-a") | grep("-e", ".py")) ["foo.py", "bar.py"] Shell pipelines, like the one above, are ordinary Python iterator objects. Git repo: https://github.com/redhog/pieshell Installation: pip install pieshell Start the interactive shell: pieshell Hope you found this interesting, RedHog -- https://mail.python.org/mailman/listinfo/python-list