Use sh-style piping in Python
Project description
pybsh
Use bash-like syntax for running subcommands in Python
from pybsh import cmd, go
cmd() | "echo hi" | "sed 's/hi/bye/g'" > go
Installation
pip install pybsh
From Source
git clone https://github.com/driazati/pybsh.git
cd pybsh
pip install --editable .
API
???
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybsh-1.0.0.tar.gz
(1.8 kB
view hashes)
Built Distribution
pybsh-1.0.0-py3-none-any.whl
(1.9 kB
view hashes)