Skip to main content

Stream HTML To Local Server

Project description

Start Server:

import sws

sws.start_server(5000, 5000)

Stream HTML: Previous and:

sws.stream_html(‘<p>test</p>’)

Or:

sws.stream_html(sws.load_file(‘template.html’))

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

socketsws-1.0.0.tar.gz (1.3 kB view details)

Uploaded Source

File details

Details for the file socketsws-1.0.0.tar.gz.

File metadata

  • Download URL: socketsws-1.0.0.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for socketsws-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cf8c8458efc724fac58fefbab635bc91211280d37455298856c9032a9c74369e
MD5 03fb5d3782a7f2e147a06fc20043ef9f
BLAKE2b-256 69384b3d10c05306affb6b08fda725437db6867cee20e7231daa06600251bfba

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