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]
- 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.0.tar.gz
(69.6 kB
view details)
Built Distribution
File details
Details for the file winsockettb-1.4.0.tar.gz
.
File metadata
- Download URL: winsockettb-1.4.0.tar.gz
- Upload date:
- Size: 69.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c24f1617325f1f92a0226cf3469b7ae6ed5fc08fa3d5c783be39fcf2ba9f048e |
|
MD5 | f787da1b9e70c797c81b4dfa7dc86899 |
|
BLAKE2b-256 | d9c83e73e44ec627eca507339253a6df7879a01e2c688e66553ab56211cc8e66 |
File details
Details for the file winsockettb-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: winsockettb-1.4.0-py3-none-any.whl
- Upload date:
- Size: 72.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b9a9c701ea611e424d4ee0116196fa1b6f0666efa247615f92bd08e3f608f2 |
|
MD5 | 97cb90c0ae833e5ba1a83fdf21ebb413 |
|
BLAKE2b-256 | abccab5e0b1ef0bd2fa4bd1d8241e764d10f41ced357fb63663e535bcde32646 |