Metadata-Version: 2.4
Name: WinSocketTB
Version: 1.4.4
Summary: A module in Python 3 consisting of a toolbox to handle sockets under Windows for various purposes
Home-page: https://github.com/PCigales/WinSocketTB
Author: PCigales
License: GPL-3.0-or-later
Project-URL: Bug Tracker, https://github.com/PCigales/WinSocketTB/issues
Keywords: socket,winsock2,tls-in-tls,tcp,udp,http,websocket,ntp,totp,downloader,webrtc
Platform: win64
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Microsoft :: Windows
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Networking
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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
