Skip to main content

Web Console

Example usage

pip install web_console_log
from web_console import WebConsole

console = WebConsole()
console.log("Hello world")
console.loop()

Constructor

WebConsole(host="127.0.0.1", port=8080, show_url=True, debug=False)

Methods

console.log(msg)
console.warn(msg)
console.error(msg)
console.url
console.open() # open console_url in browser
console.sleep(sec) # use this instead of time.sleep()
console.loop() # use this if you dont have your code mainloop

💲Donate

Donatello
Donation Alerts

Release files for web-console-log 0.1.0

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

Source distribution (sdist)

Source distribution for web-console-log 0.1.0
File Size Uploaded
web_console_log-0.1.0.tar.gz 14.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for web-console-log 0.1.0
File Interpreter ABI Platform
web_console_log-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:28.2 kB

Release files / web_console_log-0.1.0.tar.gz

Download URL web_console_log-0.1.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ea56bc2fd28c344f1c0ef7b0767f6bcf2823a4b24a541f9937026852e4d4ff08
BLAKE2b-256 checksum
How to use checksums
23e43c48c499194adcfefae9c58cb36f9289439b808e1f0c9b1193583a111bf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / web_console_log-0.1.0-py3-none-any.whl

Download URL web_console_log-0.1.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8a3c3a8087abc6d928443cda00657563d8df4f7ab0794dbf75c30db311292aa
BLAKE2b-256 checksum
How to use checksums
9976d8ad19290bdd0db531327c2be57b148087e96a24198a619e89cabbc35342
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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