diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d2cfb3b --- /dev/null +++ b/.gitignore @@ -0,0 +1,30 @@ +# Python bytecode +__pycache__/ +*.pyc +*.pyo +*.pyd + +# Virtual environment +.venv/ +venv/ +env/ + +# Distribution / packaging +dist/ +build/ +*.egg-info/ + +# Test/coverage artifacts +.coverage +.pytest_cache/ +htmlcov/ + +# OS artifacts +.DS_Store +Thumbs.db + +# IDE +.idea/ +.vscode/ +*.swp +*.swo diff --git a/muxplex/__pycache__/__init__.cpython-312.pyc b/muxplex/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 55769f6..0000000 Binary files a/muxplex/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/__init__.cpython-313.pyc b/muxplex/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 17b821c..0000000 Binary files a/muxplex/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/__main__.cpython-312.pyc b/muxplex/__pycache__/__main__.cpython-312.pyc deleted file mode 100644 index 08d5634..0000000 Binary files a/muxplex/__pycache__/__main__.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/__main__.cpython-313.pyc b/muxplex/__pycache__/__main__.cpython-313.pyc deleted file mode 100644 index 7797b03..0000000 Binary files a/muxplex/__pycache__/__main__.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/auth.cpython-312.pyc b/muxplex/__pycache__/auth.cpython-312.pyc deleted file mode 100644 index 852348c..0000000 Binary files a/muxplex/__pycache__/auth.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/auth.cpython-313.pyc b/muxplex/__pycache__/auth.cpython-313.pyc deleted file mode 100644 index 1242d77..0000000 Binary files a/muxplex/__pycache__/auth.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/bells.cpython-312.pyc b/muxplex/__pycache__/bells.cpython-312.pyc deleted file mode 100644 index 452fbd4..0000000 Binary files a/muxplex/__pycache__/bells.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/bells.cpython-313.pyc b/muxplex/__pycache__/bells.cpython-313.pyc deleted file mode 100644 index 8acbb9d..0000000 Binary files a/muxplex/__pycache__/bells.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/cli.cpython-312.pyc b/muxplex/__pycache__/cli.cpython-312.pyc deleted file mode 100644 index 3b969f4..0000000 Binary files a/muxplex/__pycache__/cli.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/cli.cpython-313.pyc b/muxplex/__pycache__/cli.cpython-313.pyc deleted file mode 100644 index 322abc9..0000000 Binary files a/muxplex/__pycache__/cli.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/main.cpython-312.pyc b/muxplex/__pycache__/main.cpython-312.pyc deleted file mode 100644 index 517376b..0000000 Binary files a/muxplex/__pycache__/main.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/main.cpython-313.pyc b/muxplex/__pycache__/main.cpython-313.pyc deleted file mode 100644 index 7485a7a..0000000 Binary files a/muxplex/__pycache__/main.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/service.cpython-313.pyc b/muxplex/__pycache__/service.cpython-313.pyc deleted file mode 100644 index 554ead6..0000000 Binary files a/muxplex/__pycache__/service.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/sessions.cpython-312.pyc b/muxplex/__pycache__/sessions.cpython-312.pyc deleted file mode 100644 index 255d415..0000000 Binary files a/muxplex/__pycache__/sessions.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/sessions.cpython-313.pyc b/muxplex/__pycache__/sessions.cpython-313.pyc deleted file mode 100644 index 3627d6d..0000000 Binary files a/muxplex/__pycache__/sessions.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/settings.cpython-312.pyc b/muxplex/__pycache__/settings.cpython-312.pyc deleted file mode 100644 index eee7081..0000000 Binary files a/muxplex/__pycache__/settings.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/settings.cpython-313.pyc b/muxplex/__pycache__/settings.cpython-313.pyc deleted file mode 100644 index b28a157..0000000 Binary files a/muxplex/__pycache__/settings.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/state.cpython-312.pyc b/muxplex/__pycache__/state.cpython-312.pyc deleted file mode 100644 index 519db49..0000000 Binary files a/muxplex/__pycache__/state.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/state.cpython-313.pyc b/muxplex/__pycache__/state.cpython-313.pyc deleted file mode 100644 index cbf0b66..0000000 Binary files a/muxplex/__pycache__/state.cpython-313.pyc and /dev/null differ diff --git a/muxplex/__pycache__/ttyd.cpython-312.pyc b/muxplex/__pycache__/ttyd.cpython-312.pyc deleted file mode 100644 index bc1047d..0000000 Binary files a/muxplex/__pycache__/ttyd.cpython-312.pyc and /dev/null differ diff --git a/muxplex/__pycache__/ttyd.cpython-313.pyc b/muxplex/__pycache__/ttyd.cpython-313.pyc deleted file mode 100644 index 3b8e870..0000000 Binary files a/muxplex/__pycache__/ttyd.cpython-313.pyc and /dev/null differ diff --git a/muxplex/main.py b/muxplex/main.py index fae0dc8..0817579 100644 --- a/muxplex/main.py +++ b/muxplex/main.py @@ -24,7 +24,6 @@ from typing import Literal import httpx import websockets -import websockets.exceptions from websockets.typing import Subprotocol from fastapi import FastAPI, Form, HTTPException, Request, WebSocket diff --git a/muxplex/tests/__pycache__/__init__.cpython-312.pyc b/muxplex/tests/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index d78fbbb..0000000 Binary files a/muxplex/tests/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/__init__.cpython-313.pyc b/muxplex/tests/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index bfcb85b..0000000 Binary files a/muxplex/tests/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_api.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_api.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index 909b7b5..0000000 Binary files a/muxplex/tests/__pycache__/test_api.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_api.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_api.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index fcf80c6..0000000 Binary files a/muxplex/tests/__pycache__/test_api.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_api.cpython-313.pyc b/muxplex/tests/__pycache__/test_api.cpython-313.pyc deleted file mode 100644 index 0fc7ee1..0000000 Binary files a/muxplex/tests/__pycache__/test_api.cpython-313.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_auth.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_auth.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index d661c30..0000000 Binary files a/muxplex/tests/__pycache__/test_auth.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_auth.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_auth.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 74bc3cc..0000000 Binary files a/muxplex/tests/__pycache__/test_auth.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_bells.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_bells.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index 93960cc..0000000 Binary files a/muxplex/tests/__pycache__/test_bells.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_bells.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_bells.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index daf18f0..0000000 Binary files a/muxplex/tests/__pycache__/test_bells.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_cli.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_cli.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index e919c66..0000000 Binary files a/muxplex/tests/__pycache__/test_cli.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_cli.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_cli.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 1a9b535..0000000 Binary files a/muxplex/tests/__pycache__/test_cli.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_frontend_css.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_frontend_css.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index 49a1338..0000000 Binary files a/muxplex/tests/__pycache__/test_frontend_css.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_frontend_css.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_frontend_css.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 92a04b2..0000000 Binary files a/muxplex/tests/__pycache__/test_frontend_css.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_frontend_html.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_frontend_html.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index 0331d92..0000000 Binary files a/muxplex/tests/__pycache__/test_frontend_html.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_frontend_html.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_frontend_html.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 7dc5302..0000000 Binary files a/muxplex/tests/__pycache__/test_frontend_html.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_frontend_js.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_frontend_js.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index fca93a1..0000000 Binary files a/muxplex/tests/__pycache__/test_frontend_js.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_frontend_js.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_frontend_js.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 234c775..0000000 Binary files a/muxplex/tests/__pycache__/test_frontend_js.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_integration.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_integration.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index 767907b..0000000 Binary files a/muxplex/tests/__pycache__/test_integration.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_integration.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_integration.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index c4ab8d1..0000000 Binary files a/muxplex/tests/__pycache__/test_integration.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_readme.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_readme.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 79b90b0..0000000 Binary files a/muxplex/tests/__pycache__/test_readme.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_service.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_service.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index f2dd8d2..0000000 Binary files a/muxplex/tests/__pycache__/test_service.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_sessions.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_sessions.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index 24149c5..0000000 Binary files a/muxplex/tests/__pycache__/test_sessions.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_sessions.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_sessions.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 8f66fc7..0000000 Binary files a/muxplex/tests/__pycache__/test_sessions.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_settings.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_settings.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index 2787a19..0000000 Binary files a/muxplex/tests/__pycache__/test_settings.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_settings.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_settings.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index c5dd2e8..0000000 Binary files a/muxplex/tests/__pycache__/test_settings.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_state.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_state.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index 870950b..0000000 Binary files a/muxplex/tests/__pycache__/test_state.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_state.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_state.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 0ee8ebc..0000000 Binary files a/muxplex/tests/__pycache__/test_state.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_ttyd.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_ttyd.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index db1af2d..0000000 Binary files a/muxplex/tests/__pycache__/test_ttyd.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_ttyd.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_ttyd.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 2a00acc..0000000 Binary files a/muxplex/tests/__pycache__/test_ttyd.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_ws_proxy.cpython-312-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_ws_proxy.cpython-312-pytest-9.0.2.pyc deleted file mode 100644 index a27d983..0000000 Binary files a/muxplex/tests/__pycache__/test_ws_proxy.cpython-312-pytest-9.0.2.pyc and /dev/null differ diff --git a/muxplex/tests/__pycache__/test_ws_proxy.cpython-313-pytest-9.0.2.pyc b/muxplex/tests/__pycache__/test_ws_proxy.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index dd1bd12..0000000 Binary files a/muxplex/tests/__pycache__/test_ws_proxy.cpython-313-pytest-9.0.2.pyc and /dev/null differ