Skip to main content

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

Project description

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

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

winsockettb-1.4.3.tar.gz (147.4 kB view details)

Uploaded Source

Built Distribution

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

winsockettb-1.4.3-py3-none-any.whl (149.6 kB view details)

Uploaded Python 3

File details

Details for the file winsockettb-1.4.3.tar.gz.

File metadata

  • Download URL: winsockettb-1.4.3.tar.gz
  • Upload date:
  • Size: 147.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for winsockettb-1.4.3.tar.gz
Algorithm Hash digest
SHA256 9f7f7363a3b05a1389c72439f201e4be83c3320b5e065dbb6648d3af55d926f5
MD5 ce57e038a8bbe60b257798b7dad09522
BLAKE2b-256 4f17271d3970b6e80e8c2a527463cc201b4feb4252b51c067eb46a8cc13a55f2

See more details on using hashes here.

File details

Details for the file winsockettb-1.4.3-py3-none-any.whl.

File metadata

  • Download URL: winsockettb-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 149.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for winsockettb-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4209ddc0d49a45553a2dceb460a098c57624defb7c6a7ed46d8433212ca10368
MD5 124087a34b37c0adacf1fddf252b5eee
BLAKE2b-256 14deb70f0a65f1e18e22b3c5408509e57ef360f7946701b505eaf1eaccf85ecb

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