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 or IDAltSocketGenerator
- 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 / UDPIDAltServer) + RequestHandler
- Interruptible TCP server: (TCPIServer or TCPIDServer / TCPIDAltServer) + RequestHandler
- Multi-sockets interruptible UDP server: (MultiUDPIServer or MultiUDPIDServer / MultiUDPIDAltServer) + RequestHandler
- Retrieval of ip address of all interfaces: MultiUDPIServer.retrieve_ipv4s() or MultiUDPIServer.retrieve_ips()
- Interruptible HTTP Server: HTTPIServer
- Interruptible websocket server: WebSocketIDServer / WebSocketIDAltServer + 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.3.0.tar.gz
(50.4 kB
view hashes)
Built Distribution
Close
Hashes for WinSocketTB-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5ae7c8017938eeb2bf9646b696fc53ccf730ff194eada8c8f48afad096ddfe |
|
MD5 | e7dd2b2972f829daa38c85c8227c88d7 |
|
BLAKE2b-256 | f015c52a4bf7a0e7267ba405ddda8183814830e21557a707af7519611669343e |