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 details)

Uploaded Source

Built Distribution

pyshell-0.1.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file pyshell-0.1.1.tar.gz.

File metadata

  • Download URL: pyshell-0.1.1.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9

File hashes

Hashes for pyshell-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a6114ec458559eb0b2d511819a0f8fc46ec958bc7661d1ccf1bd1b1d969fc89c
MD5 f82f75dc8e974e421674f7b69618b6ab
BLAKE2b-256 a21c512851ee3117752ee0f7c563e12182b58c0271214186f9912c6f476b8fa4

See more details on using hashes here.

File details

Details for the file pyshell-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyshell-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.9

File hashes

Hashes for pyshell-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b457c1746ffdaca7f7231df5113f22371c6dd8e03f0249cfbef84d9cf4ed1435
MD5 4f57ed6e14a155a85be37baad22399ef
BLAKE2b-256 f1c6beff68099c2242f91c0a85e3695d4c10ec3fd4efe07a206f30153993f355

See more details on using hashes here.

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