# WinSocketTB
A module in Python 3 consisting of a toolbox to handle sockets under Windows for various purposes
1. Interruptible thread-safe sockets: ISocketGenerator
2. Interruptible thread-safe duplex sockets: IDSocketGenerator or IDAltSocketGenerator
3. Nested SSL/TLS context (sequential or duplex): NestedSSLContext
4. HTTP message parser (brotli support if module available): HTTPMessage and HTTPStreamMessage
5. HTTP request compatible with proxy: HTTPRequestConstructor
6. Self-signed RSA certificate: RSASelfSigned
7. Interruptible UDP server: (UDPIServer or UDPIDServer / UDPIDAltServer) + RequestHandler
8. Interruptible TCP server: (TCPIServer or TCPIDServer / TCPIDAltServer) + RequestHandler
9. Multi-sockets interruptible UDP server: (MultiUDPIServer or MultiUDPIDServer / MultiUDPIDAltServer) + RequestHandler
10. Retrieval of ip address of all interfaces: MultiUDPIServer.retrieve_ipv4s() or MultiUDPIServer.retrieve_ips()
11. Interruptible HTTP Server: HTTPIServer
12. Interruptible websocket server: WebSocketIDServer / WebSocketIDAltServer + WebSocketRequestHandler [+ WebSocketDataStore]
13. Interruptible websocket client: WebSocketIDClient [+ WebSocketDataStore]
14. Time and offset from NTP Server: NTPClient
15. Time based One Time Password: TOTPassword
Usage: from SocketTB import *
See test.py for examples
Raw data
{
"_id": null,
"home_page": "https://github.com/PCigales/WinSocketTB",
"name": "WinSocketTB",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "socket, winsock2, tls-in-tls, tcp, udp, http, websocket, ntp, totp",
"author": "PCigales",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/57/8d/7eee95ee6ada61414d0ce2eb725d246b379766d07251b8ffdaaaab70a935/winsockettb-1.3.0.tar.gz",
"platform": "win64",
"description": "# WinSocketTB\r\nA module in Python 3 consisting of a toolbox to handle sockets under Windows for various purposes\r\n\r\n1. Interruptible thread-safe sockets: ISocketGenerator\r\n2. Interruptible thread-safe duplex sockets: IDSocketGenerator or IDAltSocketGenerator\r\n3. Nested SSL/TLS context (sequential or duplex): NestedSSLContext\r\n4. HTTP message parser (brotli support if module available): HTTPMessage and HTTPStreamMessage\r\n5. HTTP request compatible with proxy: HTTPRequestConstructor\r\n6. Self-signed RSA certificate: RSASelfSigned\r\n7. Interruptible UDP server: (UDPIServer or UDPIDServer / UDPIDAltServer) + RequestHandler\r\n8. Interruptible TCP server: (TCPIServer or TCPIDServer / TCPIDAltServer) + RequestHandler\r\n9. Multi-sockets interruptible UDP server: (MultiUDPIServer or MultiUDPIDServer / MultiUDPIDAltServer) + RequestHandler\r\n10. Retrieval of ip address of all interfaces: MultiUDPIServer.retrieve_ipv4s() or MultiUDPIServer.retrieve_ips()\r\n11. Interruptible HTTP Server: HTTPIServer\r\n12. Interruptible websocket server: WebSocketIDServer / WebSocketIDAltServer + WebSocketRequestHandler [+ WebSocketDataStore]\r\n13. Interruptible websocket client: WebSocketIDClient [+ WebSocketDataStore]\r\n14. Time and offset from NTP Server: NTPClient\r\n15. Time based One Time Password: TOTPassword\r\n\r\nUsage: from SocketTB import * \r\nSee test.py for examples\r\n",
"bugtrack_url": null,
"license": "GNU GPLv3",
"summary": "A module in Python 3 consisting of a toolbox to handle sockets under Windows for various purposes",
"version": "1.3.0",
"project_urls": {
"Bug Tracker": "https://github.com/PCigales/WinSocketTB/issues",
"Homepage": "https://github.com/PCigales/WinSocketTB"
},
"split_keywords": [
"socket",
" winsock2",
" tls-in-tls",
" tcp",
" udp",
" http",
" websocket",
" ntp",
" totp"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f015c52a4bf7a0e7267ba405ddda8183814830e21557a707af7519611669343e",
"md5": "e7dd2b2972f829daa38c85c8227c88d7",
"sha256": "5c5ae7c8017938eeb2bf9646b696fc53ccf730ff194eada8c8f48afad096ddfe"
},
"downloads": -1,
"filename": "WinSocketTB-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e7dd2b2972f829daa38c85c8227c88d7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 50939,
"upload_time": "2024-09-24T19:44:37",
"upload_time_iso_8601": "2024-09-24T19:44:37.283253Z",
"url": "https://files.pythonhosted.org/packages/f0/15/c52a4bf7a0e7267ba405ddda8183814830e21557a707af7519611669343e/WinSocketTB-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "578d7eee95ee6ada61414d0ce2eb725d246b379766d07251b8ffdaaaab70a935",
"md5": "91c01b0b664d14b2bab622e007c2fd76",
"sha256": "e01a05b8d8ade3eef9ccc0af0828b9b8257f9ee8e292bf7d013d4b825e39d23a"
},
"downloads": -1,
"filename": "winsockettb-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "91c01b0b664d14b2bab622e007c2fd76",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 50385,
"upload_time": "2024-09-24T19:44:38",
"upload_time_iso_8601": "2024-09-24T19:44:38.525095Z",
"url": "https://files.pythonhosted.org/packages/57/8d/7eee95ee6ada61414d0ce2eb725d246b379766d07251b8ffdaaaab70a935/winsockettb-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-24 19:44:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "PCigales",
"github_project": "WinSocketTB",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "winsockettb"
}