Skip to main content

WinSocketTB

A module in Python 3 consisting of a toolbox to handle sockets under Windows for various purposes

  1. Interruptible thread-safe sockets: ISocketGenerator
  2. Interruptible thread-safe duplex sockets: IDSocketGenerator or IDAltSocketGenerator
  3. Nested SSL/TLS context (sequential or duplex): NestedSSLContext
  4. HTTP message parser (brotli support if module available): HTTPMessage and HTTPStreamMessage
  5. HTTP request compatible with proxy: HTTPRequestConstructor
  6. Self-signed RSA certificate: RSASelfSigned
  7. Interruptible UDP server: (UDPIServer or UDPIDServer / UDPIDAltServer) + RequestHandler
  8. Interruptible TCP server: (TCPIServer or TCPIDServer / TCPIDAltServer) + RequestHandler
  9. Multi-sockets interruptible UDP server: (MultiUDPIServer or MultiUDPIDServer / MultiUDPIDAltServer) + RequestHandler
  10. Retrieval of ip address of all interfaces: MultiUDPIServer.retrieve_ipv4s() or MultiUDPIServer.retrieve_ips()
  11. Interruptible HTTP Server: HTTPIServer [+ HTTPBasicAuthenticator]
  12. Interruptible websocket server: WebSocketIDServer / WebSocketIDAltServer + WebSocketRequestHandler [+ WebSocketDataStore]
  13. Interruptible websocket client: WebSocketIDClient [+ WebSocketDataStore]
  14. Interruptible WebRTC websocket signaling and stream download server: WebRTCSignalingServer + WebRTCBasicAuthenticator
  15. Interruptible downloader compatible with proxy: HTTPIDownload, HTTPIListDownload
  16. Interruptible uploader compatible with proxy: HTTPIUpload
  17. Time and offset from NTP Server: NTPClient
  18. Time based One Time Password: TOTPassword

Usage: from SocketTB import *
See test.py for examples and also the IDownload Firefox / Edge extension

Release files for WinSocketTB 1.4.4

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

Source distribution (sdist)

Source distribution for WinSocketTB 1.4.4
File Size Uploaded
winsockettb-1.4.4.tar.gz 154.5 kB Details

Built distribution (wheel)

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

Total release size: 310.8 kB

Release files / winsockettb-1.4.4.tar.gz

Download URL winsockettb-1.4.4.tar.gz
Size 154.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f9ad7090e624faa3d1ca60f2df8222accbcf57928cbc61ffcbd8cd14aaae0e96
BLAKE2b-256 checksum
How to use checksums
a5b5e7539bb2314fdb954021d5840587a83c006dc0a3583f2ade731cfbb307c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / winsockettb-1.4.4-py3-none-any.whl

Download URL winsockettb-1.4.4-py3-none-any.whl
Size 156.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63d52a9fcb2ce9df3677479bc20caa4d099f8d288a4e684b619938b1a6d924c0
BLAKE2b-256 checksum
How to use checksums
28c89b7852d1e036bf7d37689d328ccbb04aeef2d3399792f08bae8b6d1dbc1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

1.4.4 This release

2 release files

1.4.3

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

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