Interactive embedded web terminal
Project description
IEWT(Interactive Embedded Web Terminal)
This release provides approximate execution time(as opposed to the previous versions which gave exact time). The small sacrifice made in the accuracy of measurement of the execution time gives a lot of benefits in return because:
it allows us to execute commands like cd which changes the directory of the embedded terminal which want possible before.
it allow us to retain environment variables of the terminal session.
the time command was used to measure the exact execution time. This made the application somewhat specific to a Linux OS. However, with the removal of time command, the application can now connect to a wider variety of machines. The only requirement is a Unix based OS(Linux, MacOS etc).
An additional feature for local storage clearance(only in case of error) has been provided.
Logging has been improved.
a special treatment of script(used to log terminal sessions) command has been made so that the system does not await the status of script command and hence only execute the command and not provide the status. This means that the script command can now be executed from the input.
Installation:
Run pip install iewt to install iewt package.
For enabling the feature related to command execution during event reload, install and run MySQL with username root and no password. To setup the database with the table, use the database script setup.sql provided in the GitHub repo of this project(https://github.com/TXH2020/iewt).
To test the application you need to have
A computer/VM with a Unix(Linux, MacOS etc.) OS.
SSH server running on the computer/VM.
Network access to the SSH server.
Once all the above steps are performed, run the command iewt. Open a browser and goto localhost:8888
Enter the SSH credentials in the form at the bottom of the screen. The terminal will appear soon after. To automatically execute commands, type the commands in the input field and click on the send command button. The command is executed in the terminal and after its completion its time and id will appear in the readonly input fields below the command status button. The command status turns green on success and red on failure.
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
Built Distribution
File details
Details for the file iewt-1.1.0.tar.gz
.
File metadata
- Download URL: iewt-1.1.0.tar.gz
- Upload date:
- Size: 164.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3ade98939ce02d0a16cd80b20530edfcb74c20ee3ac54985e4e86d124f6701a |
|
MD5 | 79cbf615ecc916f1c853c1eafc481a97 |
|
BLAKE2b-256 | e258bfac1de941784910d3d1807c1661ebf8ca6a6d85d232c8178e165b6689b5 |
File details
Details for the file iewt-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: iewt-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 167.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a69f597a42829338c36643fcd504c54e04c748e731440172ce9075846398b36a |
|
MD5 | a28cd66422b644724df0ccca67d58201 |
|
BLAKE2b-256 | 8245ebbba1de11d7d19aa7109844fdf094e4a2d434372b521506fca05710f178 |