shell pipes and redirecting for python
Project description
initially was named after a friend from school, Pavel Hurgcheev - pash. then psh. until free name was found - pipeish.
it’s like pipes in shell but not exactly. hence pipe-ish.
[picture-of-python-looking-like-a-shell]
# Examples: # pattern = ‘Pip’ # (_(‘ls’) | _(f’grep {pattern}’)).stdout
` from psh.commands import Command as _ print(_('ls -la')() | _('grep psh') | _('grep 20')) `
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pipeish-0.1.0.tar.gz
(2.1 kB
view hashes)