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!

Python Teletype Shell

Project Description
PTYSH is an abbreviation of 'Python Teletype Shell'.<br>
It was made with reference to the 'zebra vtysh'.<br>
Vtysh is an integrated shell for Quagga routing software.<br>
Ptysh is not the only route shell, the shell is customizable, so you can normally use.<br>
It made it possible to add commands to the module for availability.<br>

## Note
You can install ptysh through the pip.<br>
However, you must manually install some libraries.<br>
I'll update the library list soon.<br>

## Usage
### Start shell
When you run the '', the shell begins.<br>
You can use the commands summarized below.<br>
During PTYSH to use commands such as ctrl-c and ctrl-z does not work.<br>

### Add custom module
To add a module, you will create a file with reference to the sample code in the "modules" directory.<br>
You can create additional logic inherit the class ptysh_module.<br>

## Command
### disable mode
1. enable
* Enter the control shell
* It required password. (default password is ptysh)
2. exit
* exit the shell.
3. list
* show command list.
4. st
* start-shell (default shell is bash)
* It is hidden command.
* It required password and it is same to enable password.

### enable mode
1. diable
* exit the enable mode
2. exit
* exit the shell.
3. list
* show command list.
4. configure terminal
* It is control menu for other modules.

### configure terminal mode
1. exit
* exit the shell.
2. list
* show command list.

## Idea or Issue
If you have an idea or issue, feel free to open an issue or make pull request.
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ptysh-0.1.0.linux-x86_64.tar.gz (13.1 kB) Copy SHA256 Checksum SHA256 any Dumb Binary Aug 4, 2016
ptysh-0.1.0.tar.gz (6.3 kB) Copy SHA256 Checksum SHA256 Source Aug 4, 2016

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting