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 WebRTC websocket signaling and stream download server: WebRTCSignalingServer + WebRTCBasicAuthenticator
- 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
Release files for WinSocketTB 1.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| winsockettb-1.4.4.tar.gz | 154.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| winsockettb-1.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 310.8 kB
Release files / winsockettb-1.4.4.tar.gz
| Download URL | winsockettb-1.4.4.tar.gz |
|---|---|
| Size | 154.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9ad7090e624faa3d1ca60f2df8222accbcf57928cbc61ffcbd8cd14aaae0e96
|
|
BLAKE2b-256 checksum How to use checksums |
a5b5e7539bb2314fdb954021d5840587a83c006dc0a3583f2ade731cfbb307c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / winsockettb-1.4.4-py3-none-any.whl
| Download URL | winsockettb-1.4.4-py3-none-any.whl |
|---|---|
| Size | 156.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63d52a9fcb2ce9df3677479bc20caa4d099f8d288a4e684b619938b1a6d924c0
|
|
BLAKE2b-256 checksum How to use checksums |
28c89b7852d1e036bf7d37689d328ccbb04aeef2d3399792f08bae8b6d1dbc1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|