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 details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e01a05b8d8ade3eef9ccc0af0828b9b8257f9ee8e292bf7d013d4b825e39d23a |
|
MD5 | 91c01b0b664d14b2bab622e007c2fd76 |
|
BLAKE2b-256 | 578d7eee95ee6ada61414d0ce2eb725d246b379766d07251b8ffdaaaab70a935 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5ae7c8017938eeb2bf9646b696fc53ccf730ff194eada8c8f48afad096ddfe |
|
MD5 | e7dd2b2972f829daa38c85c8227c88d7 |
|
BLAKE2b-256 | f015c52a4bf7a0e7267ba405ddda8183814830e21557a707af7519611669343e |