Skip to main content

Interactive embedded web terminal

Project description

IEWT(Interactive Embedded Web Terminal)

This is a minor release that expands the scope of tests by including unit tests. Previously, only integration tests and load test were included.

Also, there are few minor bug fixes.

Finally, the url to access the iewt in the browser has changed from localhost:8888 to localhost:8888/iewt.

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

    1. A remote machine with a Unix(Linux, MacOS etc.) OS.

    2. Tmux installed on the computer/VM.(Optional)

    3. SSH server running on the computer/VM.

    4. 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

iewt-1.3.2.tar.gz (163.9 kB view details)

Uploaded Source

Built Distribution

iewt-1.3.2-py2.py3-none-any.whl (167.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file iewt-1.3.2.tar.gz.

File metadata

  • Download URL: iewt-1.3.2.tar.gz
  • Upload date:
  • Size: 163.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for iewt-1.3.2.tar.gz
Algorithm Hash digest
SHA256 55946c06a3d1454d19cf3789c23a4fc72ebec951fc5f322ef2bfa1bd177a030f
MD5 011e14b6c5144fdeab75fe43b7215dac
BLAKE2b-256 2d44ab13d1e04946d4e66709a5835f20003750ebb9060fa3dedb1d7cd024ebab

See more details on using hashes here.

File details

Details for the file iewt-1.3.2-py2.py3-none-any.whl.

File metadata

  • Download URL: iewt-1.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 167.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for iewt-1.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f2eb60795a3b81bc35f5b06ba0cb70a4d1e8f0cf3eade2b0a6cf4c84a8de20fa
MD5 fc8f1b81c9d3cbb8895d8acd37df0036
BLAKE2b-256 1f054cff0e6e7a4cc8e9e1287a5a620ae0a81816dd3c425a359eabf27d7827c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page