Skip to main content

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’))

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 file

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