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 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.1.tar.gz (70.5 kB view details)

Uploaded Source

Built Distribution

winsockettb-1.4.1-py3-none-any.whl (73.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for winsockettb-1.4.1.tar.gz
Algorithm Hash digest
SHA256 c32537346395c6d06fc0f6e217e1d311b63bddaec35706e7fc7833d46ad8eeee
MD5 5e101149b7849df40a8f9522cbab9209
BLAKE2b-256 9bcd50198e69d17426ab001c2a1b592c074a46f22205525b53864f22d7c3beaf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winsockettb-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39b7b7932600247c2074aeec5d1d571b1ac921e13a59abc67f32f581e9374411
MD5 99e2be9f4619cb68da95da2da61ab34b
BLAKE2b-256 5eb2acce32eec0cd0d0d57e1ec7be925a8a59db73563a2a3837df54b168c6520

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