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 [+ HTTPBasicAuthenticator]
- Interruptible websocket server: WebSocketIDServer / WebSocketIDAltServer + WebSocketRequestHandler [+ WebSocketDataStore]
- Interruptible websocket client: WebSocketIDClient [+ WebSocketDataStore]
- Interruptible downloader compatible with proxy: HTTPIDownload, HTTPIListDownload
- Interruptible uploader compatible with proxy: HTTPIUpload
- Time and offset from NTP Server: NTPClient
- Time based One Time Password: TOTPassword
Usage: from SocketTB import *
See test.py for examples and also the IDownload Firefox / Edge extension
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.4.1.tar.gz
(70.5 kB
view details)
Built Distribution
File details
Details for the file winsockettb-1.4.1.tar.gz
.
File metadata
- Download URL: winsockettb-1.4.1.tar.gz
- Upload date:
- Size: 70.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c32537346395c6d06fc0f6e217e1d311b63bddaec35706e7fc7833d46ad8eeee
|
|
MD5 |
5e101149b7849df40a8f9522cbab9209
|
|
BLAKE2b-256 |
9bcd50198e69d17426ab001c2a1b592c074a46f22205525b53864f22d7c3beaf
|
File details
Details for the file winsockettb-1.4.1-py3-none-any.whl
.
File metadata
- Download URL: winsockettb-1.4.1-py3-none-any.whl
- Upload date:
- Size: 73.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
39b7b7932600247c2074aeec5d1d571b1ac921e13a59abc67f32f581e9374411
|
|
MD5 |
99e2be9f4619cb68da95da2da61ab34b
|
|
BLAKE2b-256 |
5eb2acce32eec0cd0d0d57e1ec7be925a8a59db73563a2a3837df54b168c6520
|