Interactive embedded web terminal
Project description
IEWT(Interactive Embedded Web Terminal)
This release has minor bug fixes.
Installation:
Python 3.8+
Run pip install iewt to install iewt package. IEWT requires file creation permissions, hence run in a location with sufficient permissions.
To run the application you need to have
A remote machine with a Unix(Linux, MacOS etc.) OS.
Tmux installed on the computer/VM.(Optional)
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/iewt
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 will appear in the readonly input field below the command status button. The command status turns green on success and red on failure.
Integration Tests and Load Test:
pip install -r requirements.txt
run each test individually.
change remote server credentials as per your requirements.
provide correct input paths where required.
Unit Tests:
pip install flake8 mock
python -m unittest discover tests
Code Coverage:
coverage run -m unittest discover tests
coverage report -m > coverage_report.txt
Docker Image:
docker compose up
Legacy files:
dbservice-skeleton.py: part of release 1.2.0
setup.sql: part of releases 1.0.0 and 1.1.0
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.3.3.tar.gz
.
File metadata
- Download URL: iewt-1.3.3.tar.gz
- Upload date:
- Size: 163.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d664ec8fd8f7f359698346f79f4a410ba662a15d6d6a6f38f4995f9e5a994146 |
|
MD5 | 0abd71c01ea018460e9e1b86cfc22d79 |
|
BLAKE2b-256 | dd7e537266064f710300066f8a75503a64a1dad601ef1f5e4e1d851fbb5f18c4 |
File details
Details for the file iewt-1.3.3-py2.py3-none-any.whl
.
File metadata
- Download URL: iewt-1.3.3-py2.py3-none-any.whl
- Upload date:
- Size: 167.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba1f6d3a786784c77e343b67d6311e19abeb2f1da608ac1320f920700c6238f8 |
|
MD5 | 7b73ea27272475efc0b27e3d94648622 |
|
BLAKE2b-256 | 23fd065eab9f90db401c68bb8e53eb156bc6646d2f7bd8ceb5d51e9305f615ea |