Skip to main content

Python Web Console

Project description

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

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

web_console_log-0.1.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

web_console_log-0.1.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file web_console_log-0.1.0.tar.gz.

File metadata

  • Download URL: web_console_log-0.1.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for web_console_log-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ea56bc2fd28c344f1c0ef7b0767f6bcf2823a4b24a541f9937026852e4d4ff08
MD5 42b09fc4bbe4e2659f4a8c896cd2acf8
BLAKE2b-256 23e43c48c499194adcfefae9c58cb36f9289439b808e1f0c9b1193583a111bf0

See more details on using hashes here.

File details

Details for the file web_console_log-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for web_console_log-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8a3c3a8087abc6d928443cda00657563d8df4f7ab0794dbf75c30db311292aa
MD5 9963ba854598da48744ce308733f3b73
BLAKE2b-256 9976d8ad19290bdd0db531327c2be57b148087e96a24198a619e89cabbc35342

See more details on using hashes here.

Supported by

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