Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

cmds for Python

Project description

A library that enables easy running and concatenation of bash commands in python


Install using pip:

pip install cmds

Install using source code:

git clone
cd cmds
python install


Run commands as you would in bash:

>>> from cmds import cmds
>>> cmds('ls . | grep ".pyc"')

Chain commands for the same effect:

>>> cmds('ls . ').cmds('grep ".pyc"')


Please note that this library uses shell=True under the hood. This means that this library is NOT suitable for running untrusted commands. (See explanation)

Support + Contributing

Feel free to make pull requests, or report issues via the repo:

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cmds-0.1.1.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None Mar 11, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page