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.4.tar.gz (154.5 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.4-py3-none-any.whl (156.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: winsockettb-1.4.4.tar.gz
  • Upload date:
  • Size: 154.5 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.4.tar.gz
Algorithm Hash digest
SHA256 f9ad7090e624faa3d1ca60f2df8222accbcf57928cbc61ffcbd8cd14aaae0e96
MD5 f8cfca72c3f775acd3ff0e30cf466572
BLAKE2b-256 a5b5e7539bb2314fdb954021d5840587a83c006dc0a3583f2ade731cfbb307c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winsockettb-1.4.4-py3-none-any.whl
  • Upload date:
  • Size: 156.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 63d52a9fcb2ce9df3677479bc20caa4d099f8d288a4e684b619938b1a6d924c0
MD5 697200825ecac2c9fac913a7cebb0a91
BLAKE2b-256 28c89b7852d1e036bf7d37689d328ccbb04aeef2d3399792f08bae8b6d1dbc1b

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