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. Time and offset from NTP Server: NTPClient
  15. 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.3.0.tar.gz (50.4 kB view details)

Uploaded Source

Built Distribution

WinSocketTB-1.3.0-py3-none-any.whl (50.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: winsockettb-1.3.0.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for winsockettb-1.3.0.tar.gz
Algorithm Hash digest
SHA256 e01a05b8d8ade3eef9ccc0af0828b9b8257f9ee8e292bf7d013d4b825e39d23a
MD5 91c01b0b664d14b2bab622e007c2fd76
BLAKE2b-256 578d7eee95ee6ada61414d0ce2eb725d246b379766d07251b8ffdaaaab70a935

See more details on using hashes here.

File details

Details for the file WinSocketTB-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: WinSocketTB-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 50.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for WinSocketTB-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c5ae7c8017938eeb2bf9646b696fc53ccf730ff194eada8c8f48afad096ddfe
MD5 e7dd2b2972f829daa38c85c8227c88d7
BLAKE2b-256 f015c52a4bf7a0e7267ba405ddda8183814830e21557a707af7519611669343e

See more details on using hashes here.

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