Skip to main content

A Linux subprocess module.

Project description

pyshell

A Linux subprocess module, An easier way to interact with the Linux shell

Installation

You can install using the Volian repo

echo "deb http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list
wget -qO - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg > /dev/null
sudo apt update && sudo apt install python3-pyshell

You can also install using pip

pip install pyshell

Usage

from pyshell import pyshell
shell = pyshell()
shell.echo('Hello', "GitLab!")

Docs

Check out the Official Documentation for help with syntax and different arguments

TODO

  • Update docs to include new expect and popen functionality.
  • Update docs with new basic import shell
  • Update docs with DEFAULT, DEVNULL, PIPE, STDOUT moving to shell.

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

pyshell-0.1.1.tar.gz (22.3 kB view hashes)

Uploaded Source

Built Distribution

pyshell-0.1.1-py3-none-any.whl (22.2 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