Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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:

Release History

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
(2.9 kB) Copy SHA256 Hash SHA256
Source None Mar 11, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting