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
- Interruptible thread-safe sockets: ISocketGenerator
- Interruptible thread-safe duplex sockets: IDSocketGenerator
- Nested SSL/TLS context (sequential or duplex): NestedSSLContext
- HTTP message parser (brotli support if module available): HTTPMessage and HTTPStreamMessage
- HTTP request compatible with proxy: HTTPRequestConstructor
- Self-signed RSA certificate: RSASelfSigned
- Interruptible UDP server: (UDPIServer or UDPIDServer) + RequestHandler
- Interruptible TCP server: (TCPIServer or TCPIDServer) + RequestHandler
- Multi-sockets interruptible UDP server: (MultiUDPIServer or MultiUDPIDServer) + RequestHandler
- Retrieval of ip address of all interfaces: MultiUDPIServer.retrieve_ips()
- Interruptible websocket server: WebSocketIDServer + WebSocketRequestHandler [+ WebSocketDataStore]
- Interruptible websocket client: WebSocketIDClient [+ WebSocketDataStore]
- Time and offset from NTP Server: NTPClient
- 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.2.0.tar.gz
(42.0 kB
view hashes)
Built Distribution
Close
Hashes for WinSocketTB-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d75c65f8e955853c98a070bef4dc1d91a7009e3e6cc5b1646e0f0170a107a41e |
|
MD5 | 0cd3875d7922f2a1975aadfb4bc20ee0 |
|
BLAKE2b-256 | 18ea47ff131cd77b596acbc2fd2c083e9b7160fe365e2932043ecf331a8014ed |