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 sockets: ISocketGenerator
  2. Interruptible duplex sockets: IDSocketGenerator
  3. Nested SSL/TLS context: NestedSSLContext
  4. HTTP message parser: HTTPMessage and HTTPStreamMessage
  5. HTTP request compatible with proxy: HTTPRequestConstructor
  6. Self-signed RSA certificate: RSASelfSigned
  7. Interruptible UDP server: UDPIServer + RequestHandler
  8. Interruptible TCP server: TCPIServer + RequestHandler
  9. Multi-sockets interruptible UDP server: MultiUDPIServer + RequestHandler
  10. Retrieval of ip address of all interfaces: MultiUDPIServer.retrieve_ips()
  11. Interruptible websocket server: WebSocketIDServer + WebSocketRequestHandler [+ WebSocketDataStore]
  12. Interruptible websocket client: WebSocketIDClient [+ WebSocketDataStore]
  13. Time and offset from NTP Server: NTPClient
  14. Time based One Time Password: TOTPassword

Usage: from SocketTB import *
See test.py for examples

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.1.0.tar.gz (37.9 kB view hashes)

Uploaded Source

Built Distribution

WinSocketTB-1.1.0-py3-none-any.whl (38.3 kB view hashes)

Uploaded Python 3

Supported by

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