Skip to main content

webpty

Web based application to access shell & shell based applications via a browser.

PyPI version

Installation

Use pip and install webpty.

pip install webpty

Usage

webpty

Creates a tornado server which will be serving bash shell on http://localhost:8000/

Change Shell

webpty -c $SHELL

or

webpty --cmd=$SHELL

This $SHELL can be bash, sh, python, vim, wtfutil, etc. that is available in the system.

Change Port

webpty -p $PORT

or

webpty --port=$PORT

Creates a tornado server that server on the specified port http://localhost:$PORT/

Change Allowed Hosts

By default, server will accept request from all the hosts without any restriction, to make it accept only from certain hosts,

webpty -ah $ALLOWED_HOSTS

or

webpty --allowed-hosts=$ALLOWED_HOSTS

Server accepts only requests from $ALLOWED_HOSTS. This $ALLOWED_HOSTS should be list of strings seperated by a comma.

Screenshots

Bash

Online Bash Shell

Python

Online Python Shell

Vim

Online Vim

Contributing

Pull requests are welcome. Raise a issue and start a discussion before submitting a pr.

Python Powered

Metadata

Release files for webpty 3.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webpty 3.9
File Size Uploaded Provenance
webpty-3.9.tar.gz 6.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for webpty 3.9
File Interpreter ABI Platform
webpty-3.9-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / webpty-3.9.tar.gz

Download URL webpty-3.9.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
968233d01475f4e66e78cf83713117eaa7d05a4d41aa84661342c235f2415dc9
BLAKE2b-256 checksum
How to use checksums
7a5a2e66c1caa5ba5eeab7bc8addd92df9a8cb975526ce683522fadc582b5e61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.2 Darwin/22.5.0

Release files / webpty-3.9-py3-none-any.whl

Download URL webpty-3.9-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
165f4964954f7f9b44acd7b5c0e72976590ceac39437208d8c7a15e2d8244380
BLAKE2b-256 checksum
How to use checksums
472be823408475da7161d87e06347cd30c59bd88ec551ec2edabe88dd15bbed4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.2 Darwin/22.5.0

Security for webpty 3.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page