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
  12. Interruptible websocket server: WebSocketIDServer / WebSocketIDAltServer + WebSocketRequestHandler [+ WebSocketDataStore]
  13. Interruptible websocket client: WebSocketIDClient [+ WebSocketDataStore]
  14. Interruptible downloader compatible with proxy: HTTPIDownload, HTTPIListDownload
  15. Interruptible uploader compatible with proxy: HTTPIUpload
  16. Time and offset from NTP Server: NTPClient
  17. 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.0.tar.gz (69.6 kB view details)

Uploaded Source

Built Distribution

winsockettb-1.4.0-py3-none-any.whl (72.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: winsockettb-1.4.0.tar.gz
  • Upload date:
  • Size: 69.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for winsockettb-1.4.0.tar.gz
Algorithm Hash digest
SHA256 c24f1617325f1f92a0226cf3469b7ae6ed5fc08fa3d5c783be39fcf2ba9f048e
MD5 f787da1b9e70c797c81b4dfa7dc86899
BLAKE2b-256 d9c83e73e44ec627eca507339253a6df7879a01e2c688e66553ab56211cc8e66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winsockettb-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 72.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for winsockettb-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69b9a9c701ea611e424d4ee0116196fa1b6f0666efa247615f92bd08e3f608f2
MD5 97cb90c0ae833e5ba1a83fdf21ebb413
BLAKE2b-256 abccab5e0b1ef0bd2fa4bd1d8241e764d10f41ced357fb63663e535bcde32646

See more details on using hashes here.

Supported by

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