## PTYSH
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>
<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 'ptysh_main.py', 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.
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>
<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 'ptysh_main.py', 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 files for ptysh 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ptysh-0.1.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ptysh-0.1.0.linux-x86_64.tar.gz | Details |
Total release size: 19.4 kB
Release files / ptysh-0.1.0.tar.gz
| Download URL | ptysh-0.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ebcb8166ccde3cbfed64bbe8e60c6ab815036dc57e031c8bfdfeb15ab63db0b
|
|
BLAKE2b-256 checksum How to use checksums |
0f7aa6eebd91eb8f35c024b8ff200eeb751e3c1e93b7f2888711c273ffd58459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ptysh-0.1.0.linux-x86_64.tar.gz
| Download URL | ptysh-0.1.0.linux-x86_64.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cbeb5a01a9b75ca9a37076ff4da04316a37935e7a10173c5ead97ad5d28aa4c
|
|
BLAKE2b-256 checksum How to use checksums |
d37c0434778f1d1b2c69c4dbc0939377596146fc3450851169611249c8d734a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |