Skip to main content

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


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)

Uploaded Source

Built Distribution

pybsh-1.0.0-py3-none-any.whl (1.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page