clipbox 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,176 @@
1
+ # Created by https://www.toptal.com/developers/gitignore/api/python
2
+ # Edit at https://www.toptal.com/developers/gitignore?templates=python
3
+
4
+ ### Python ###
5
+ # Byte-compiled / optimized / DLL files
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+
10
+ # C extensions
11
+ *.so
12
+
13
+ # Distribution / packaging
14
+ .Python
15
+ build/
16
+ develop-eggs/
17
+ dist/
18
+ downloads/
19
+ eggs/
20
+ .eggs/
21
+ lib/
22
+ lib64/
23
+ parts/
24
+ sdist/
25
+ var/
26
+ wheels/
27
+ share/python-wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .nox/
47
+ .coverage
48
+ .coverage.*
49
+ .cache
50
+ nosetests.xml
51
+ coverage.xml
52
+ *.cover
53
+ *.py,cover
54
+ .hypothesis/
55
+ .pytest_cache/
56
+ cover/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+ db.sqlite3
66
+ db.sqlite3-journal
67
+
68
+ # Flask stuff:
69
+ instance/
70
+ .webassets-cache
71
+
72
+ # Scrapy stuff:
73
+ .scrapy
74
+
75
+ # Sphinx documentation
76
+ docs/_build/
77
+
78
+ # PyBuilder
79
+ .pybuilder/
80
+ target/
81
+
82
+ # Jupyter Notebook
83
+ .ipynb_checkpoints
84
+
85
+ # IPython
86
+ profile_default/
87
+ ipython_config.py
88
+
89
+ # pyenv
90
+ # For a library or package, you might want to ignore these files since the code is
91
+ # intended to run in multiple environments; otherwise, check them in:
92
+ # .python-version
93
+
94
+ # pipenv
95
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
97
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
98
+ # install all needed dependencies.
99
+ #Pipfile.lock
100
+
101
+ # poetry
102
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
103
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
104
+ # commonly ignored for libraries.
105
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
106
+ #poetry.lock
107
+
108
+ # pdm
109
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
110
+ #pdm.lock
111
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
112
+ # in version control.
113
+ # https://pdm.fming.dev/#use-with-ide
114
+ .pdm.toml
115
+
116
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
117
+ __pypackages__/
118
+
119
+ # Celery stuff
120
+ celerybeat-schedule
121
+ celerybeat.pid
122
+
123
+ # SageMath parsed files
124
+ *.sage.py
125
+
126
+ # Environments
127
+ .env
128
+ .venv
129
+ env/
130
+ venv/
131
+ ENV/
132
+ env.bak/
133
+ venv.bak/
134
+
135
+ # Spyder project settings
136
+ .spyderproject
137
+ .spyproject
138
+
139
+ # Rope project settings
140
+ .ropeproject
141
+
142
+ # mkdocs documentation
143
+ /site
144
+
145
+ # mypy
146
+ .mypy_cache/
147
+ .dmypy.json
148
+ dmypy.json
149
+
150
+ # Pyre type checker
151
+ .pyre/
152
+
153
+ # pytype static type analyzer
154
+ .pytype/
155
+
156
+ # Cython debug symbols
157
+ cython_debug/
158
+
159
+ # PyCharm
160
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
161
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
162
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
163
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
164
+ #.idea/
165
+
166
+ ### Python Patch ###
167
+ # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
168
+ poetry.toml
169
+
170
+ # ruff
171
+ .ruff_cache/
172
+
173
+ # LSP config files
174
+ pyrightconfig.json
175
+
176
+ **clipbox.db**
@@ -0,0 +1 @@
1
+ 3.14
clipbox-0.1.0/Makefile ADDED
@@ -0,0 +1,51 @@
1
+ UV ?= uv
2
+ PROJECT_DIR ?= .
3
+
4
+ .PHONY: run check format install clean publish
5
+
6
+ run: install
7
+ $(UV) run clipbox
8
+
9
+ format:
10
+ $(UV) run ruff format $(PROJECT_DIR)
11
+
12
+ check:
13
+ $(UV) run ruff check --fix --select I,F,UP,B $(PROJECT_DIR)
14
+ $(UV) run ty check $(PROJECT_DIR)
15
+
16
+ install: clean format check
17
+ $(UV) sync
18
+
19
+ clean:
20
+ find $(PROJECT_DIR) -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
21
+ find $(PROJECT_DIR) -type f -name "*.py[co]" -delete 2>/dev/null || true
22
+ rm -rf $(PROJECT_DIR)/.ruff_cache $(PROJECT_DIR)/.ty_cache $(PROJECT_DIR)/.mypy_cache $(PROJECT_DIR)/.pyright $(PROJECT_DIR)/.eggs 2>/dev/null || true
23
+ rm -rf $(PROJECT_DIR)/dist $(PROJECT_DIR)/build $(PROJECT_DIR)/*.egg-info 2>/dev/null || true
24
+ rm -rf $(PROJECT_DIR)/.pytest_cache $(PROJECT_DIR)/.coverage* $(PROJECT_DIR)/htmlcov 2>/dev/null || true
25
+
26
+ publish:
27
+ @CURRENT_VERSION=$$($(UV) version --short); \
28
+ echo "Current version: $$CURRENT_VERSION"; \
29
+ read -p "Enter new version (or press Enter to keep current): " NEW_VERSION; \
30
+ VERSION_CHANGED=0; \
31
+ if [ -n "$$NEW_VERSION" ] && [ "$$NEW_VERSION" != "$$CURRENT_VERSION" ]; then \
32
+ echo "Updating version to $$NEW_VERSION..."; \
33
+ $(UV) version "$$NEW_VERSION"; \
34
+ VERSION_CHANGED=1; \
35
+ elif [ -n "$$NEW_VERSION" ] && [ "$$NEW_VERSION" = "$$CURRENT_VERSION" ]; then \
36
+ echo "Version unchanged (same as current)."; \
37
+ else \
38
+ echo "Using current version: $$CURRENT_VERSION"; \
39
+ fi; \
40
+ $(MAKE) install; \
41
+ $(UV) build; \
42
+ $(UV) publish; \
43
+ if [ "$$VERSION_CHANGED" -eq 1 ]; then \
44
+ echo "Committing version changes..."; \
45
+ git add pyproject.toml uv.lock; \
46
+ git commit -m "Release $$NEW_VERSION"; \
47
+ echo "Pushing to remote..."; \
48
+ git push origin HEAD; \
49
+ else \
50
+ echo "No version change; skipping commit and push."; \
51
+ fi
clipbox-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,89 @@
1
+ Metadata-Version: 2.4
2
+ Name: clipbox
3
+ Version: 0.1.0
4
+ Summary: Shared clipboard across devices
5
+ Requires-Python: >=3.14
6
+ Requires-Dist: aiosqlite>=0.20
7
+ Requires-Dist: fastapi>=0.110
8
+ Requires-Dist: python-multipart>=0.0.9
9
+ Requires-Dist: uvicorn>=0.29
10
+ Description-Content-Type: text/markdown
11
+
12
+ # clipbox
13
+
14
+ A self-hosted shared clipboard for copying text between devices on your local network.
15
+
16
+ ## Features
17
+
18
+ - **Named buffers** -- create multiple independent text buffers
19
+ - **Auto-save** -- changes save automatically as you type, with a status indicator
20
+ - **Copy button** -- one-tap copy on both desktop and mobile
21
+ - **curl-friendly** -- read, write, and delete buffers from the terminal
22
+ - **Mobile-friendly** -- responsive UI that works on phones and tablets, installable as a PWA
23
+ - **SQLite storage** -- persistent, zero-config database stored in the platform-appropriate data directory
24
+
25
+ ## Install
26
+
27
+ Requires Python 3.14+ and [uv](https://docs.astral.sh/uv/).
28
+
29
+ ```sh
30
+ git clone <repo-url> && cd clipbox
31
+ uv sync
32
+ ```
33
+
34
+ ## Usage
35
+
36
+ ```sh
37
+ clipbox
38
+ ```
39
+
40
+ This starts the server on `http://0.0.0.0:8080`. Open it in a browser from any device on your network.
41
+
42
+ ### Options
43
+
44
+ ```
45
+ clipbox --host 0.0.0.0 --port 8080
46
+ ```
47
+
48
+ | Flag | Default | Description |
49
+ |------|---------|-------------|
50
+ | `--host` | `0.0.0.0` | Bind address |
51
+ | `-p`, `--port` | `8080` | Port number |
52
+
53
+ ### curl
54
+
55
+ Read a buffer:
56
+
57
+ ```sh
58
+ curl http://host:8080/my-buffer
59
+ ```
60
+
61
+ Write to a buffer:
62
+
63
+ ```sh
64
+ curl -X PUT -d 'some text' http://host:8080/my-buffer
65
+ ```
66
+
67
+ Delete a buffer:
68
+
69
+ ```sh
70
+ curl -X DELETE http://host:8080/my-buffer
71
+ ```
72
+
73
+ ### Environment variables
74
+
75
+ | Variable | Default | Description |
76
+ |----------|---------|-------------|
77
+ | `CLIPBOX_DB` | *(see below)* | Path to the SQLite database file |
78
+
79
+ ### Data storage
80
+
81
+ The database is stored in the platform-appropriate data directory by default:
82
+
83
+ | Platform | Path |
84
+ |----------|------|
85
+ | Linux | `~/.local/share/clipbox/clipbox.db` |
86
+ | macOS | `~/Library/Application Support/clipbox/clipbox.db` |
87
+ | Windows | `%LOCALAPPDATA%\clipbox\clipbox.db` |
88
+
89
+ Override with the `CLIPBOX_DB` environment variable.
@@ -0,0 +1,78 @@
1
+ # clipbox
2
+
3
+ A self-hosted shared clipboard for copying text between devices on your local network.
4
+
5
+ ## Features
6
+
7
+ - **Named buffers** -- create multiple independent text buffers
8
+ - **Auto-save** -- changes save automatically as you type, with a status indicator
9
+ - **Copy button** -- one-tap copy on both desktop and mobile
10
+ - **curl-friendly** -- read, write, and delete buffers from the terminal
11
+ - **Mobile-friendly** -- responsive UI that works on phones and tablets, installable as a PWA
12
+ - **SQLite storage** -- persistent, zero-config database stored in the platform-appropriate data directory
13
+
14
+ ## Install
15
+
16
+ Requires Python 3.14+ and [uv](https://docs.astral.sh/uv/).
17
+
18
+ ```sh
19
+ git clone <repo-url> && cd clipbox
20
+ uv sync
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ ```sh
26
+ clipbox
27
+ ```
28
+
29
+ This starts the server on `http://0.0.0.0:8080`. Open it in a browser from any device on your network.
30
+
31
+ ### Options
32
+
33
+ ```
34
+ clipbox --host 0.0.0.0 --port 8080
35
+ ```
36
+
37
+ | Flag | Default | Description |
38
+ |------|---------|-------------|
39
+ | `--host` | `0.0.0.0` | Bind address |
40
+ | `-p`, `--port` | `8080` | Port number |
41
+
42
+ ### curl
43
+
44
+ Read a buffer:
45
+
46
+ ```sh
47
+ curl http://host:8080/my-buffer
48
+ ```
49
+
50
+ Write to a buffer:
51
+
52
+ ```sh
53
+ curl -X PUT -d 'some text' http://host:8080/my-buffer
54
+ ```
55
+
56
+ Delete a buffer:
57
+
58
+ ```sh
59
+ curl -X DELETE http://host:8080/my-buffer
60
+ ```
61
+
62
+ ### Environment variables
63
+
64
+ | Variable | Default | Description |
65
+ |----------|---------|-------------|
66
+ | `CLIPBOX_DB` | *(see below)* | Path to the SQLite database file |
67
+
68
+ ### Data storage
69
+
70
+ The database is stored in the platform-appropriate data directory by default:
71
+
72
+ | Platform | Path |
73
+ |----------|------|
74
+ | Linux | `~/.local/share/clipbox/clipbox.db` |
75
+ | macOS | `~/Library/Application Support/clipbox/clipbox.db` |
76
+ | Windows | `%LOCALAPPDATA%\clipbox\clipbox.db` |
77
+
78
+ Override with the `CLIPBOX_DB` environment variable.
File without changes
@@ -0,0 +1,494 @@
1
+ import argparse
2
+ import html
3
+ import json
4
+ import os
5
+ import re
6
+ import sys
7
+ from pathlib import Path
8
+ from string import Template
9
+
10
+ import aiosqlite
11
+ import uvicorn
12
+ from fastapi import FastAPI, Request
13
+ from fastapi.responses import (
14
+ HTMLResponse,
15
+ PlainTextResponse,
16
+ RedirectResponse,
17
+ Response,
18
+ )
19
+
20
+
21
+ def default_db_path() -> str:
22
+ if sys.platform == "win32":
23
+ base = Path(os.environ.get("LOCALAPPDATA", Path.home() / "AppData" / "Local"))
24
+ elif sys.platform == "darwin":
25
+ base = Path.home() / "Library" / "Application Support"
26
+ else:
27
+ base = Path(os.environ.get("XDG_DATA_HOME", Path.home() / ".local" / "share"))
28
+ data_dir = base / "clipbox"
29
+ data_dir.mkdir(parents=True, exist_ok=True)
30
+ return str(data_dir / "clipbox.db")
31
+
32
+
33
+ app = FastAPI()
34
+ DB_PATH = os.environ.get("CLIPBOX_DB", default_db_path())
35
+
36
+ ICON_SVG = """<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
37
+ <rect x="0" y="0" width="128" height="128" rx="28" fill="#1f1f1f"/>
38
+ <rect x="44" y="12" width="40" height="18" rx="6" fill="#828282"/>
39
+ <rect x="36" y="48" width="56" height="5" rx="2" fill="#666"/>
40
+ <rect x="36" y="64" width="46" height="5" rx="2" fill="#666"/>
41
+ <rect x="36" y="80" width="50" height="5" rx="2" fill="#666"/>
42
+ <rect x="36" y="96" width="38" height="5" rx="2" fill="#666"/>
43
+ </svg>"""
44
+
45
+ MANIFEST_JSON = json.dumps(
46
+ {
47
+ "name": "clipbox",
48
+ "short_name": "clipbox",
49
+ "start_url": "/",
50
+ "display": "standalone",
51
+ "background_color": "#0d0d0d",
52
+ "theme_color": "#0d0d0d",
53
+ "icons": [{"src": "/icon.svg", "sizes": "any", "type": "image/svg+xml"}],
54
+ }
55
+ )
56
+
57
+
58
+ @app.get("/icon.svg")
59
+ async def icon():
60
+ return Response(content=ICON_SVG, media_type="image/svg+xml")
61
+
62
+
63
+ @app.get("/manifest.json")
64
+ async def manifest():
65
+ return Response(content=MANIFEST_JSON, media_type="application/manifest+json")
66
+
67
+
68
+ async def get_db():
69
+ db = await aiosqlite.connect(DB_PATH)
70
+ await db.execute("PRAGMA journal_mode=WAL")
71
+ await db.execute(
72
+ "CREATE TABLE IF NOT EXISTS buffers ("
73
+ " name TEXT PRIMARY KEY,"
74
+ " content TEXT NOT NULL DEFAULT '',"
75
+ " updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP"
76
+ ")"
77
+ )
78
+ await db.commit()
79
+ return db
80
+
81
+
82
+ def wants_html(request: Request) -> bool:
83
+ return "text/html" in request.headers.get("accept", "")
84
+
85
+
86
+ # ---------------------------------------------------------------------------
87
+ # Index
88
+ # ---------------------------------------------------------------------------
89
+
90
+ INDEX_TEMPLATE = Template("""<!DOCTYPE html>
91
+ <html lang="en">
92
+ <head>
93
+ <meta charset="utf-8">
94
+ <meta name="viewport" content="width=device-width, initial-scale=1">
95
+ <title>clipbox</title>
96
+ <link rel="icon" href="/icon.svg" type="image/svg+xml">
97
+ <link rel="apple-touch-icon" href="/icon.svg">
98
+ <link rel="manifest" href="/manifest.json">
99
+ <meta name="apple-mobile-web-app-capable" content="yes">
100
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
101
+ <meta name="theme-color" content="#0d0d0d">
102
+ <style>
103
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
104
+ :root {
105
+ --bg: #0d0d0d; --surface: #1f1f1f; --border: #333;
106
+ --text: #e0e0e0; --muted: #888; --accent: #aaa; --green: #ccc;
107
+ }
108
+ body {
109
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
110
+ background: var(--bg); color: var(--text);
111
+ min-height: 100dvh; padding: 2rem 1rem;
112
+ }
113
+ .container { max-width: 600px; margin: 0 auto; }
114
+ h1 { font-size: 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
115
+ h1 img { width: 1.4em; height: 1.4em; }
116
+ .new-form { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
117
+ input[type="text"] {
118
+ flex: 1; background: var(--surface); border: 1px solid var(--border);
119
+ color: var(--text); padding: 0.6rem 0.8rem; border-radius: 6px;
120
+ font-size: 0.95rem; outline: none;
121
+ }
122
+ input:focus { border-color: var(--accent); }
123
+ button {
124
+ background: #828282; color: #fff; border: none;
125
+ padding: 0.6rem 1.2rem; border-radius: 6px; cursor: pointer; font-size: 0.9rem;
126
+ }
127
+ button:hover { opacity: 0.85; }
128
+ .buffers { list-style: none; }
129
+ .buffers li { border-bottom: 1px solid var(--border); }
130
+ .buffers li {
131
+ display: flex; align-items: center;
132
+ }
133
+ .buffers a {
134
+ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem;
135
+ padding: 0.75rem 0.5rem; color: var(--text); text-decoration: none;
136
+ border-radius: 4px; transition: background 0.1s;
137
+ }
138
+ .buffers a:hover { background: var(--surface); }
139
+ .buffers .top-row { display: flex; justify-content: space-between; align-items: center; }
140
+ .buffers .name { font-weight: 500; }
141
+ .buffers .meta { font-size: 0.8rem; color: var(--muted); }
142
+ .buffers .preview {
143
+ font-size: 0.8rem; color: var(--muted);
144
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
145
+ font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
146
+ }
147
+ .buffers .copy-btn {
148
+ background: none; color: var(--muted); border: none; cursor: pointer;
149
+ padding: 0.5rem 1.5rem; font-size: 1.5rem; border-radius: 4px;
150
+ transition: color 0.15s, background 0.15s; flex-shrink: 0;
151
+ }
152
+ .buffers .copy-btn:hover { background: var(--surface); }
153
+ .buffers .copy-btn.copy-ok { color: var(--green); }
154
+ .buffers .del-btn {
155
+ background: none; color: var(--muted); border: none; cursor: pointer;
156
+ padding: 0.4rem 0.5rem; font-size: 0.75rem; border-radius: 4px;
157
+ transition: color 0.15s; flex-shrink: 0;
158
+ }
159
+ .buffers .del-btn:hover { color: #fff; }
160
+ .empty { color: var(--muted); font-style: italic; }
161
+ .hint {
162
+ margin-top: 2rem; padding: 1rem; background: var(--surface);
163
+ border-radius: 8px; font-size: 0.85rem; color: var(--muted); line-height: 1.6;
164
+ }
165
+ .hint code {
166
+ background: var(--border); padding: 0.15rem 0.4rem; border-radius: 3px;
167
+ color: var(--green);
168
+ }
169
+ </style>
170
+ </head>
171
+ <body>
172
+ <div class="container">
173
+ <h1><img src="/icon.svg" alt="">clipbox</h1>
174
+ <form class="new-form" action="/" method="POST">
175
+ <input type="text" name="name" placeholder="New buffer name..." required
176
+ pattern="[a-zA-Z0-9_\\-]+" title="Letters, numbers, hyphens, underscores only">
177
+ <button type="submit">Create</button>
178
+ </form>
179
+ $buffer_list
180
+ <div class="hint">
181
+ <strong>curl usage:</strong><br>
182
+ Read: <code>curl http://host:port/buffer-name</code><br>
183
+ Write: <code>curl -X PUT -d 'text' http://host:port/buffer-name</code><br>
184
+ Delete: <code>curl -X DELETE http://host:port/buffer-name</code>
185
+ </div>
186
+ </div>
187
+ <script>
188
+ async function copyBuf(btn) {
189
+ var text = btn.getAttribute("data-content");
190
+ try {
191
+ await navigator.clipboard.writeText(text);
192
+ } catch (e) {
193
+ var ta = document.createElement("textarea");
194
+ ta.value = text;
195
+ ta.style.position = "fixed";
196
+ ta.style.opacity = "0";
197
+ document.body.appendChild(ta);
198
+ ta.focus();
199
+ ta.select();
200
+ document.execCommand("copy");
201
+ document.body.removeChild(ta);
202
+ }
203
+ var orig = btn.innerHTML;
204
+ btn.innerHTML = "&#x2713;";
205
+ btn.classList.add("copy-ok");
206
+ setTimeout(function() { btn.innerHTML = orig; btn.classList.remove("copy-ok"); }, 1500);
207
+ }
208
+ async function deleteBuf(name) {
209
+ if (!confirm("Delete buffer '" + name + "'?")) return;
210
+ const res = await fetch("/" + encodeURIComponent(name), { method: "DELETE" });
211
+ if (res.ok) location.reload();
212
+ }
213
+ </script>
214
+ </body>
215
+ </html>""")
216
+
217
+
218
+ @app.get("/")
219
+ async def index():
220
+ db = await get_db()
221
+ try:
222
+ rows = await db.execute_fetchall(
223
+ "SELECT name, content, length(content), updated_at FROM buffers ORDER BY updated_at DESC"
224
+ )
225
+ if rows:
226
+ items = []
227
+ for name, content, size, _updated in rows:
228
+ size_str = f"{size} chars" if size else "empty"
229
+ esc = html.escape(name)
230
+ content_attr = html.escape(content or "", quote=True)
231
+ preview = (
232
+ html.escape((content or "").split("\n", 1)[0][:120]) or "empty"
233
+ )
234
+ items.append(
235
+ f"<li>"
236
+ f'<button class="del-btn" onclick="deleteBuf(\'{esc}\')"'
237
+ f' title="Delete buffer">&#x2715;</button>'
238
+ f'<a href="/{esc}"><span class="top-row"><span class="name">{esc}</span>'
239
+ f'<span class="meta">{size_str}</span></span>'
240
+ f'<span class="preview">{preview}</span></a>'
241
+ f'<button class="copy-btn" data-content="{content_attr}" onclick="copyBuf(this)"'
242
+ f' title="Copy contents">&#x2398;</button></li>'
243
+ )
244
+ buffer_list = '<ul class="buffers">' + "".join(items) + "</ul>"
245
+ else:
246
+ buffer_list = '<p class="empty">No buffers yet. Create one above.</p>'
247
+ finally:
248
+ await db.close()
249
+ return HTMLResponse(INDEX_TEMPLATE.substitute(buffer_list=buffer_list))
250
+
251
+
252
+ @app.post("/")
253
+ async def create_buffer(request: Request):
254
+ form = await request.form()
255
+ raw = form.get("name")
256
+ name = re.sub(r"[^a-zA-Z0-9_\-]", "", str(raw).strip() if raw else "")
257
+ if not name:
258
+ return RedirectResponse("/", status_code=303)
259
+ db = await get_db()
260
+ try:
261
+ await db.execute(
262
+ "INSERT OR IGNORE INTO buffers (name, content) VALUES (?, '')", (name,)
263
+ )
264
+ await db.commit()
265
+ finally:
266
+ await db.close()
267
+ return RedirectResponse(f"/{name}", status_code=303)
268
+
269
+
270
+ # ---------------------------------------------------------------------------
271
+ # Buffer editor
272
+ # ---------------------------------------------------------------------------
273
+
274
+ PAGE_TEMPLATE = Template("""<!DOCTYPE html>
275
+ <html lang="en">
276
+ <head>
277
+ <meta charset="utf-8">
278
+ <meta name="viewport" content="width=device-width, initial-scale=1">
279
+ <title>$name_esc — clipbox</title>
280
+ <link rel="icon" href="/icon.svg" type="image/svg+xml">
281
+ <link rel="apple-touch-icon" href="/icon.svg">
282
+ <link rel="manifest" href="/manifest.json">
283
+ <meta name="apple-mobile-web-app-capable" content="yes">
284
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
285
+ <meta name="theme-color" content="#0d0d0d">
286
+ <style>
287
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
288
+ :root {
289
+ --bg: #0d0d0d; --surface: #1f1f1f; --border: #333;
290
+ --text: #e0e0e0; --muted: #888; --accent: #aaa;
291
+ --accent-hover: #ccc; --green: #ccc;
292
+ }
293
+ body {
294
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
295
+ background: var(--bg); color: var(--text);
296
+ min-height: 100dvh; display: flex; flex-direction: column;
297
+ }
298
+ header {
299
+ display: flex; align-items: center; justify-content: space-between;
300
+ padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
301
+ flex-wrap: wrap; gap: 0.5rem;
302
+ }
303
+ header .left { display: flex; align-items: center; gap: 0.6rem; }
304
+ header h1 { font-size: 1.1rem; font-weight: 600; }
305
+ header h1 a { color: var(--muted); text-decoration: none; }
306
+ header h1 .buf { color: var(--text); }
307
+ .status {
308
+ font-size: 0.8rem; color: var(--muted); transition: color 0.2s;
309
+ }
310
+ .status.saved { color: var(--green); }
311
+ .status.saving { color: var(--accent); }
312
+ .status.error { color: #999; }
313
+ .actions { display: flex; gap: 0.5rem; align-items: center; }
314
+ button {
315
+ background: #828282; color: #fff; border: none;
316
+ padding: 0.45rem 0.9rem; border-radius: 6px; cursor: pointer;
317
+ font-size: 0.85rem; transition: background 0.15s;
318
+ }
319
+ button:hover { opacity: 0.85; }
320
+ button:active { transform: scale(0.97); }
321
+ .copy-ok { background: #444 !important; color: #fff !important; }
322
+ #del-btn { background: transparent; color: var(--muted); }
323
+ #del-btn:hover { background: #444; color: #fff; }
324
+ .editor-wrap { flex: 1; display: flex; padding: 0.5rem; }
325
+ textarea {
326
+ flex: 1; background: var(--surface); color: var(--text);
327
+ border: 1px solid var(--border); border-radius: 8px; padding: 1rem;
328
+ font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
329
+ font-size: 0.95rem; line-height: 1.5; resize: none; outline: none;
330
+ }
331
+ textarea:focus { border-color: var(--accent); }
332
+ textarea::placeholder { color: var(--muted); }
333
+ </style>
334
+ </head>
335
+ <body>
336
+
337
+ <header>
338
+ <div class="left">
339
+ <h1><a href="/">clipbox</a> / <span class="buf">$name_esc</span></h1>
340
+ <span class="status" id="status"></span>
341
+ </div>
342
+ <div class="actions">
343
+ <button id="copy-btn" title="Copy to clipboard">Copy</button>
344
+ <button id="del-btn" title="Delete buffer">Delete</button>
345
+ </div>
346
+ </header>
347
+
348
+ <div class="editor-wrap">
349
+ <textarea id="editor" placeholder="Type or paste here..." spellcheck="false">$content_esc</textarea>
350
+ </div>
351
+
352
+ <script>
353
+ (function() {
354
+ const editor = document.getElementById("editor");
355
+ const status = document.getElementById("status");
356
+ const copyBtn = document.getElementById("copy-btn");
357
+ const bufName = $name_json;
358
+
359
+ let saveTimer = null;
360
+ let lastSaved = editor.value;
361
+
362
+ function setStatus(text, cls) {
363
+ status.textContent = text;
364
+ status.className = "status " + (cls || "");
365
+ }
366
+
367
+ async function save() {
368
+ const content = editor.value;
369
+ if (content === lastSaved) return;
370
+ setStatus("Saving...", "saving");
371
+ try {
372
+ const res = await fetch("/" + encodeURIComponent(bufName), {
373
+ method: "PUT",
374
+ headers: { "Content-Type": "text/plain" },
375
+ body: content
376
+ });
377
+ if (res.ok) {
378
+ lastSaved = content;
379
+ setStatus("Saved", "saved");
380
+ } else {
381
+ setStatus("Error saving", "error");
382
+ }
383
+ } catch (e) {
384
+ setStatus("Connection lost", "error");
385
+ }
386
+ }
387
+
388
+ editor.addEventListener("input", function() {
389
+ clearTimeout(saveTimer);
390
+ setStatus("Editing...", "");
391
+ saveTimer = setTimeout(save, 400);
392
+ });
393
+
394
+ editor.addEventListener("blur", save);
395
+ document.addEventListener("visibilitychange", function() {
396
+ if (document.visibilityState === "hidden") save();
397
+ });
398
+
399
+ copyBtn.addEventListener("click", async function() {
400
+ try {
401
+ await navigator.clipboard.writeText(editor.value);
402
+ } catch (e) {
403
+ var ta = document.createElement("textarea");
404
+ ta.value = editor.value;
405
+ ta.style.position = "fixed";
406
+ ta.style.opacity = "0";
407
+ document.body.appendChild(ta);
408
+ ta.focus();
409
+ ta.select();
410
+ document.execCommand("copy");
411
+ document.body.removeChild(ta);
412
+ }
413
+ copyBtn.textContent = "Copied!";
414
+ copyBtn.classList.add("copy-ok");
415
+ setTimeout(() => {
416
+ copyBtn.textContent = "Copy";
417
+ copyBtn.classList.remove("copy-ok");
418
+ }, 1500);
419
+ });
420
+
421
+ document.getElementById("del-btn").addEventListener("click", async function() {
422
+ if (!confirm("Delete buffer '" + bufName + "'?")) return;
423
+ const res = await fetch("/" + encodeURIComponent(bufName), { method: "DELETE" });
424
+ if (res.ok) window.location.href = "/";
425
+ });
426
+
427
+ if (editor.value.length > 0) setStatus("Saved", "saved");
428
+ })();
429
+ </script>
430
+ </body>
431
+ </html>""")
432
+
433
+
434
+ @app.get("/{name}")
435
+ async def get_buffer(name: str, request: Request):
436
+ db = await get_db()
437
+ try:
438
+ row = await db.execute_fetchall(
439
+ "SELECT content FROM buffers WHERE name = ?", (name,)
440
+ )
441
+ finally:
442
+ await db.close()
443
+ content = row[0][0] if row else ""
444
+
445
+ if not wants_html(request):
446
+ return PlainTextResponse(content)
447
+
448
+ return HTMLResponse(
449
+ PAGE_TEMPLATE.substitute(
450
+ name_esc=html.escape(name),
451
+ content_esc=html.escape(content),
452
+ name_json=json.dumps(name),
453
+ )
454
+ )
455
+
456
+
457
+ @app.put("/{name}")
458
+ async def put_buffer(name: str, request: Request):
459
+ content = (await request.body()).decode()
460
+ db = await get_db()
461
+ try:
462
+ await db.execute(
463
+ "INSERT INTO buffers (name, content, updated_at) VALUES (?, ?, CURRENT_TIMESTAMP) "
464
+ "ON CONFLICT(name) DO UPDATE SET content=excluded.content, updated_at=excluded.updated_at",
465
+ (name, content),
466
+ )
467
+ await db.commit()
468
+ finally:
469
+ await db.close()
470
+ return PlainTextResponse("ok")
471
+
472
+
473
+ @app.delete("/{name}")
474
+ async def delete_buffer(name: str):
475
+ db = await get_db()
476
+ try:
477
+ await db.execute("DELETE FROM buffers WHERE name = ?", (name,))
478
+ await db.commit()
479
+ finally:
480
+ await db.close()
481
+ return PlainTextResponse("ok")
482
+
483
+
484
+ def main():
485
+ parser = argparse.ArgumentParser(description="clipbox - shared clipboard")
486
+ parser.add_argument("-p", "--port", type=int, default=8080)
487
+ parser.add_argument("--host", default="0.0.0.0")
488
+ args = parser.parse_args()
489
+ print(f"clipbox running on http://{args.host}:{args.port}")
490
+ uvicorn.run(app, host=args.host, port=args.port, log_level="warning")
491
+
492
+
493
+ if __name__ == "__main__":
494
+ main()
@@ -0,0 +1,25 @@
1
+ [project]
2
+ name = "clipbox"
3
+ version = "0.1.0"
4
+ description = "Shared clipboard across devices"
5
+ readme = "README.md"
6
+ requires-python = ">=3.14"
7
+ dependencies = [
8
+ "aiosqlite>=0.20",
9
+ "fastapi>=0.110",
10
+ "python-multipart>=0.0.9",
11
+ "uvicorn>=0.29",
12
+ ]
13
+
14
+ [build-system]
15
+ requires = ["hatchling"]
16
+ build-backend = "hatchling.build"
17
+
18
+ [dependency-groups]
19
+ dev = [
20
+ "ruff>=0.15.8",
21
+ "ty>=0.0.26",
22
+ ]
23
+
24
+ [project.scripts]
25
+ clipbox = "clipbox.app:main"
@@ -0,0 +1,3 @@
1
+ fastapi>=0.110
2
+ uvicorn>=0.29
3
+ aiosqlite>=0.20
clipbox-0.1.0/uv.lock ADDED
@@ -0,0 +1,286 @@
1
+ version = 1
2
+ revision = 3
3
+ requires-python = ">=3.14"
4
+
5
+ [[package]]
6
+ name = "aiosqlite"
7
+ version = "0.22.1"
8
+ source = { registry = "https://pypi.org/simple" }
9
+ sdist = { url = "https://files.pythonhosted.org/packages/4e/8a/64761f4005f17809769d23e518d915db74e6310474e733e3593cfc854ef1/aiosqlite-0.22.1.tar.gz", hash = "sha256:043e0bd78d32888c0a9ca90fc788b38796843360c855a7262a532813133a0650", size = 14821, upload-time = "2025-12-23T19:25:43.997Z" }
10
+ wheels = [
11
+ { url = "https://files.pythonhosted.org/packages/00/b7/e3bf5133d697a08128598c8d0abc5e16377b51465a33756de24fa7dee953/aiosqlite-0.22.1-py3-none-any.whl", hash = "sha256:21c002eb13823fad740196c5a2e9d8e62f6243bd9e7e4a1f87fb5e44ecb4fceb", size = 17405, upload-time = "2025-12-23T19:25:42.139Z" },
12
+ ]
13
+
14
+ [[package]]
15
+ name = "annotated-doc"
16
+ version = "0.0.4"
17
+ source = { registry = "https://pypi.org/simple" }
18
+ sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" }
19
+ wheels = [
20
+ { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" },
21
+ ]
22
+
23
+ [[package]]
24
+ name = "annotated-types"
25
+ version = "0.7.0"
26
+ source = { registry = "https://pypi.org/simple" }
27
+ sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" }
28
+ wheels = [
29
+ { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" },
30
+ ]
31
+
32
+ [[package]]
33
+ name = "anyio"
34
+ version = "4.13.0"
35
+ source = { registry = "https://pypi.org/simple" }
36
+ dependencies = [
37
+ { name = "idna" },
38
+ ]
39
+ sdist = { url = "https://files.pythonhosted.org/packages/19/14/2c5dd9f512b66549ae92767a9c7b330ae88e1932ca57876909410251fe13/anyio-4.13.0.tar.gz", hash = "sha256:334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc", size = 231622, upload-time = "2026-03-24T12:59:09.671Z" }
40
+ wheels = [
41
+ { url = "https://files.pythonhosted.org/packages/da/42/e921fccf5015463e32a3cf6ee7f980a6ed0f395ceeaa45060b61d86486c2/anyio-4.13.0-py3-none-any.whl", hash = "sha256:08b310f9e24a9594186fd75b4f73f4a4152069e3853f1ed8bfbf58369f4ad708", size = 114353, upload-time = "2026-03-24T12:59:08.246Z" },
42
+ ]
43
+
44
+ [[package]]
45
+ name = "click"
46
+ version = "8.3.1"
47
+ source = { registry = "https://pypi.org/simple" }
48
+ dependencies = [
49
+ { name = "colorama", marker = "sys_platform == 'win32'" },
50
+ ]
51
+ sdist = { url = "https://files.pythonhosted.org/packages/3d/fa/656b739db8587d7b5dfa22e22ed02566950fbfbcdc20311993483657a5c0/click-8.3.1.tar.gz", hash = "sha256:12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a", size = 295065, upload-time = "2025-11-15T20:45:42.706Z" }
52
+ wheels = [
53
+ { url = "https://files.pythonhosted.org/packages/98/78/01c019cdb5d6498122777c1a43056ebb3ebfeef2076d9d026bfe15583b2b/click-8.3.1-py3-none-any.whl", hash = "sha256:981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6", size = 108274, upload-time = "2025-11-15T20:45:41.139Z" },
54
+ ]
55
+
56
+ [[package]]
57
+ name = "clipbox"
58
+ version = "0.1.0"
59
+ source = { editable = "." }
60
+ dependencies = [
61
+ { name = "aiosqlite" },
62
+ { name = "fastapi" },
63
+ { name = "python-multipart" },
64
+ { name = "uvicorn" },
65
+ ]
66
+
67
+ [package.dev-dependencies]
68
+ dev = [
69
+ { name = "ruff" },
70
+ { name = "ty" },
71
+ ]
72
+
73
+ [package.metadata]
74
+ requires-dist = [
75
+ { name = "aiosqlite", specifier = ">=0.20" },
76
+ { name = "fastapi", specifier = ">=0.110" },
77
+ { name = "python-multipart", specifier = ">=0.0.9" },
78
+ { name = "uvicorn", specifier = ">=0.29" },
79
+ ]
80
+
81
+ [package.metadata.requires-dev]
82
+ dev = [
83
+ { name = "ruff", specifier = ">=0.15.8" },
84
+ { name = "ty", specifier = ">=0.0.26" },
85
+ ]
86
+
87
+ [[package]]
88
+ name = "colorama"
89
+ version = "0.4.6"
90
+ source = { registry = "https://pypi.org/simple" }
91
+ sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
92
+ wheels = [
93
+ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
94
+ ]
95
+
96
+ [[package]]
97
+ name = "fastapi"
98
+ version = "0.135.2"
99
+ source = { registry = "https://pypi.org/simple" }
100
+ dependencies = [
101
+ { name = "annotated-doc" },
102
+ { name = "pydantic" },
103
+ { name = "starlette" },
104
+ { name = "typing-extensions" },
105
+ { name = "typing-inspection" },
106
+ ]
107
+ sdist = { url = "https://files.pythonhosted.org/packages/c4/73/5903c4b13beae98618d64eb9870c3fac4f605523dd0312ca5c80dadbd5b9/fastapi-0.135.2.tar.gz", hash = "sha256:88a832095359755527b7f63bb4c6bc9edb8329a026189eed83d6c1afcf419d56", size = 395833, upload-time = "2026-03-23T14:12:41.697Z" }
108
+ wheels = [
109
+ { url = "https://files.pythonhosted.org/packages/8f/ea/18f6d0457f9efb2fc6fa594857f92810cadb03024975726db6546b3d6fcf/fastapi-0.135.2-py3-none-any.whl", hash = "sha256:0af0447d541867e8db2a6a25c23a8c4bd80e2394ac5529bd87501bbb9e240ca5", size = 117407, upload-time = "2026-03-23T14:12:43.284Z" },
110
+ ]
111
+
112
+ [[package]]
113
+ name = "h11"
114
+ version = "0.16.0"
115
+ source = { registry = "https://pypi.org/simple" }
116
+ sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }
117
+ wheels = [
118
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },
119
+ ]
120
+
121
+ [[package]]
122
+ name = "idna"
123
+ version = "3.11"
124
+ source = { registry = "https://pypi.org/simple" }
125
+ sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582, upload-time = "2025-10-12T14:55:20.501Z" }
126
+ wheels = [
127
+ { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" },
128
+ ]
129
+
130
+ [[package]]
131
+ name = "pydantic"
132
+ version = "2.12.5"
133
+ source = { registry = "https://pypi.org/simple" }
134
+ dependencies = [
135
+ { name = "annotated-types" },
136
+ { name = "pydantic-core" },
137
+ { name = "typing-extensions" },
138
+ { name = "typing-inspection" },
139
+ ]
140
+ sdist = { url = "https://files.pythonhosted.org/packages/69/44/36f1a6e523abc58ae5f928898e4aca2e0ea509b5aa6f6f392a5d882be928/pydantic-2.12.5.tar.gz", hash = "sha256:4d351024c75c0f085a9febbb665ce8c0c6ec5d30e903bdb6394b7ede26aebb49", size = 821591, upload-time = "2025-11-26T15:11:46.471Z" }
141
+ wheels = [
142
+ { url = "https://files.pythonhosted.org/packages/5a/87/b70ad306ebb6f9b585f114d0ac2137d792b48be34d732d60e597c2f8465a/pydantic-2.12.5-py3-none-any.whl", hash = "sha256:e561593fccf61e8a20fc46dfc2dfe075b8be7d0188df33f221ad1f0139180f9d", size = 463580, upload-time = "2025-11-26T15:11:44.605Z" },
143
+ ]
144
+
145
+ [[package]]
146
+ name = "pydantic-core"
147
+ version = "2.41.5"
148
+ source = { registry = "https://pypi.org/simple" }
149
+ dependencies = [
150
+ { name = "typing-extensions" },
151
+ ]
152
+ sdist = { url = "https://files.pythonhosted.org/packages/71/70/23b021c950c2addd24ec408e9ab05d59b035b39d97cdc1130e1bce647bb6/pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e", size = 460952, upload-time = "2025-11-04T13:43:49.098Z" }
153
+ wheels = [
154
+ { url = "https://files.pythonhosted.org/packages/ea/28/46b7c5c9635ae96ea0fbb779e271a38129df2550f763937659ee6c5dbc65/pydantic_core-2.41.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:3f37a19d7ebcdd20b96485056ba9e8b304e27d9904d233d7b1015db320e51f0a", size = 2119622, upload-time = "2025-11-04T13:40:56.68Z" },
155
+ { url = "https://files.pythonhosted.org/packages/74/1a/145646e5687e8d9a1e8d09acb278c8535ebe9e972e1f162ed338a622f193/pydantic_core-2.41.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1d1d9764366c73f996edd17abb6d9d7649a7eb690006ab6adbda117717099b14", size = 1891725, upload-time = "2025-11-04T13:40:58.807Z" },
156
+ { url = "https://files.pythonhosted.org/packages/23/04/e89c29e267b8060b40dca97bfc64a19b2a3cf99018167ea1677d96368273/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25e1c2af0fce638d5f1988b686f3b3ea8cd7de5f244ca147c777769e798a9cd1", size = 1915040, upload-time = "2025-11-04T13:41:00.853Z" },
157
+ { url = "https://files.pythonhosted.org/packages/84/a3/15a82ac7bd97992a82257f777b3583d3e84bdb06ba6858f745daa2ec8a85/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:506d766a8727beef16b7adaeb8ee6217c64fc813646b424d0804d67c16eddb66", size = 2063691, upload-time = "2025-11-04T13:41:03.504Z" },
158
+ { url = "https://files.pythonhosted.org/packages/74/9b/0046701313c6ef08c0c1cf0e028c67c770a4e1275ca73131563c5f2a310a/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4819fa52133c9aa3c387b3328f25c1facc356491e6135b459f1de698ff64d869", size = 2213897, upload-time = "2025-11-04T13:41:05.804Z" },
159
+ { url = "https://files.pythonhosted.org/packages/8a/cd/6bac76ecd1b27e75a95ca3a9a559c643b3afcd2dd62086d4b7a32a18b169/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2b761d210c9ea91feda40d25b4efe82a1707da2ef62901466a42492c028553a2", size = 2333302, upload-time = "2025-11-04T13:41:07.809Z" },
160
+ { url = "https://files.pythonhosted.org/packages/4c/d2/ef2074dc020dd6e109611a8be4449b98cd25e1b9b8a303c2f0fca2f2bcf7/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22f0fb8c1c583a3b6f24df2470833b40207e907b90c928cc8d3594b76f874375", size = 2064877, upload-time = "2025-11-04T13:41:09.827Z" },
161
+ { url = "https://files.pythonhosted.org/packages/18/66/e9db17a9a763d72f03de903883c057b2592c09509ccfe468187f2a2eef29/pydantic_core-2.41.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c870e99878c634505236d81e5443092fba820f0373997ff75f90f68cd553", size = 2180680, upload-time = "2025-11-04T13:41:12.379Z" },
162
+ { url = "https://files.pythonhosted.org/packages/d3/9e/3ce66cebb929f3ced22be85d4c2399b8e85b622db77dad36b73c5387f8f8/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0177272f88ab8312479336e1d777f6b124537d47f2123f89cb37e0accea97f90", size = 2138960, upload-time = "2025-11-04T13:41:14.627Z" },
163
+ { url = "https://files.pythonhosted.org/packages/a6/62/205a998f4327d2079326b01abee48e502ea739d174f0a89295c481a2272e/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:63510af5e38f8955b8ee5687740d6ebf7c2a0886d15a6d65c32814613681bc07", size = 2339102, upload-time = "2025-11-04T13:41:16.868Z" },
164
+ { url = "https://files.pythonhosted.org/packages/3c/0d/f05e79471e889d74d3d88f5bd20d0ed189ad94c2423d81ff8d0000aab4ff/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e56ba91f47764cc14f1daacd723e3e82d1a89d783f0f5afe9c364b8bb491ccdb", size = 2326039, upload-time = "2025-11-04T13:41:18.934Z" },
165
+ { url = "https://files.pythonhosted.org/packages/ec/e1/e08a6208bb100da7e0c4b288eed624a703f4d129bde2da475721a80cab32/pydantic_core-2.41.5-cp314-cp314-win32.whl", hash = "sha256:aec5cf2fd867b4ff45b9959f8b20ea3993fc93e63c7363fe6851424c8a7e7c23", size = 1995126, upload-time = "2025-11-04T13:41:21.418Z" },
166
+ { url = "https://files.pythonhosted.org/packages/48/5d/56ba7b24e9557f99c9237e29f5c09913c81eeb2f3217e40e922353668092/pydantic_core-2.41.5-cp314-cp314-win_amd64.whl", hash = "sha256:8e7c86f27c585ef37c35e56a96363ab8de4e549a95512445b85c96d3e2f7c1bf", size = 2015489, upload-time = "2025-11-04T13:41:24.076Z" },
167
+ { url = "https://files.pythonhosted.org/packages/4e/bb/f7a190991ec9e3e0ba22e4993d8755bbc4a32925c0b5b42775c03e8148f9/pydantic_core-2.41.5-cp314-cp314-win_arm64.whl", hash = "sha256:e672ba74fbc2dc8eea59fb6d4aed6845e6905fc2a8afe93175d94a83ba2a01a0", size = 1977288, upload-time = "2025-11-04T13:41:26.33Z" },
168
+ { url = "https://files.pythonhosted.org/packages/92/ed/77542d0c51538e32e15afe7899d79efce4b81eee631d99850edc2f5e9349/pydantic_core-2.41.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8566def80554c3faa0e65ac30ab0932b9e3a5cd7f8323764303d468e5c37595a", size = 2120255, upload-time = "2025-11-04T13:41:28.569Z" },
169
+ { url = "https://files.pythonhosted.org/packages/bb/3d/6913dde84d5be21e284439676168b28d8bbba5600d838b9dca99de0fad71/pydantic_core-2.41.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b80aa5095cd3109962a298ce14110ae16b8c1aece8b72f9dafe81cf597ad80b3", size = 1863760, upload-time = "2025-11-04T13:41:31.055Z" },
170
+ { url = "https://files.pythonhosted.org/packages/5a/f0/e5e6b99d4191da102f2b0eb9687aaa7f5bea5d9964071a84effc3e40f997/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3006c3dd9ba34b0c094c544c6006cc79e87d8612999f1a5d43b769b89181f23c", size = 1878092, upload-time = "2025-11-04T13:41:33.21Z" },
171
+ { url = "https://files.pythonhosted.org/packages/71/48/36fb760642d568925953bcc8116455513d6e34c4beaa37544118c36aba6d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72f6c8b11857a856bcfa48c86f5368439f74453563f951e473514579d44aa612", size = 2053385, upload-time = "2025-11-04T13:41:35.508Z" },
172
+ { url = "https://files.pythonhosted.org/packages/20/25/92dc684dd8eb75a234bc1c764b4210cf2646479d54b47bf46061657292a8/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cb1b2f9742240e4bb26b652a5aeb840aa4b417c7748b6f8387927bc6e45e40d", size = 2218832, upload-time = "2025-11-04T13:41:37.732Z" },
173
+ { url = "https://files.pythonhosted.org/packages/e2/09/f53e0b05023d3e30357d82eb35835d0f6340ca344720a4599cd663dca599/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3d54f38609ff308209bd43acea66061494157703364ae40c951f83ba99a1a9", size = 2327585, upload-time = "2025-11-04T13:41:40Z" },
174
+ { url = "https://files.pythonhosted.org/packages/aa/4e/2ae1aa85d6af35a39b236b1b1641de73f5a6ac4d5a7509f77b814885760c/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ff4321e56e879ee8d2a879501c8e469414d948f4aba74a2d4593184eb326660", size = 2041078, upload-time = "2025-11-04T13:41:42.323Z" },
175
+ { url = "https://files.pythonhosted.org/packages/cd/13/2e215f17f0ef326fc72afe94776edb77525142c693767fc347ed6288728d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d0d2568a8c11bf8225044aa94409e21da0cb09dcdafe9ecd10250b2baad531a9", size = 2173914, upload-time = "2025-11-04T13:41:45.221Z" },
176
+ { url = "https://files.pythonhosted.org/packages/02/7a/f999a6dcbcd0e5660bc348a3991c8915ce6599f4f2c6ac22f01d7a10816c/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:a39455728aabd58ceabb03c90e12f71fd30fa69615760a075b9fec596456ccc3", size = 2129560, upload-time = "2025-11-04T13:41:47.474Z" },
177
+ { url = "https://files.pythonhosted.org/packages/3a/b1/6c990ac65e3b4c079a4fb9f5b05f5b013afa0f4ed6780a3dd236d2cbdc64/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:239edca560d05757817c13dc17c50766136d21f7cd0fac50295499ae24f90fdf", size = 2329244, upload-time = "2025-11-04T13:41:49.992Z" },
178
+ { url = "https://files.pythonhosted.org/packages/d9/02/3c562f3a51afd4d88fff8dffb1771b30cfdfd79befd9883ee094f5b6c0d8/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:2a5e06546e19f24c6a96a129142a75cee553cc018ffee48a460059b1185f4470", size = 2331955, upload-time = "2025-11-04T13:41:54.079Z" },
179
+ { url = "https://files.pythonhosted.org/packages/5c/96/5fb7d8c3c17bc8c62fdb031c47d77a1af698f1d7a406b0f79aaa1338f9ad/pydantic_core-2.41.5-cp314-cp314t-win32.whl", hash = "sha256:b4ececa40ac28afa90871c2cc2b9ffd2ff0bf749380fbdf57d165fd23da353aa", size = 1988906, upload-time = "2025-11-04T13:41:56.606Z" },
180
+ { url = "https://files.pythonhosted.org/packages/22/ed/182129d83032702912c2e2d8bbe33c036f342cc735737064668585dac28f/pydantic_core-2.41.5-cp314-cp314t-win_amd64.whl", hash = "sha256:80aa89cad80b32a912a65332f64a4450ed00966111b6615ca6816153d3585a8c", size = 1981607, upload-time = "2025-11-04T13:41:58.889Z" },
181
+ { url = "https://files.pythonhosted.org/packages/9f/ed/068e41660b832bb0b1aa5b58011dea2a3fe0ba7861ff38c4d4904c1c1a99/pydantic_core-2.41.5-cp314-cp314t-win_arm64.whl", hash = "sha256:35b44f37a3199f771c3eaa53051bc8a70cd7b54f333531c59e29fd4db5d15008", size = 1974769, upload-time = "2025-11-04T13:42:01.186Z" },
182
+ ]
183
+
184
+ [[package]]
185
+ name = "python-multipart"
186
+ version = "0.0.22"
187
+ source = { registry = "https://pypi.org/simple" }
188
+ sdist = { url = "https://files.pythonhosted.org/packages/94/01/979e98d542a70714b0cb2b6728ed0b7c46792b695e3eaec3e20711271ca3/python_multipart-0.0.22.tar.gz", hash = "sha256:7340bef99a7e0032613f56dc36027b959fd3b30a787ed62d310e951f7c3a3a58", size = 37612, upload-time = "2026-01-25T10:15:56.219Z" }
189
+ wheels = [
190
+ { url = "https://files.pythonhosted.org/packages/1b/d0/397f9626e711ff749a95d96b7af99b9c566a9bb5129b8e4c10fc4d100304/python_multipart-0.0.22-py3-none-any.whl", hash = "sha256:2b2cd894c83d21bf49d702499531c7bafd057d730c201782048f7945d82de155", size = 24579, upload-time = "2026-01-25T10:15:54.811Z" },
191
+ ]
192
+
193
+ [[package]]
194
+ name = "ruff"
195
+ version = "0.15.8"
196
+ source = { registry = "https://pypi.org/simple" }
197
+ sdist = { url = "https://files.pythonhosted.org/packages/14/b0/73cf7550861e2b4824950b8b52eebdcc5adc792a00c514406556c5b80817/ruff-0.15.8.tar.gz", hash = "sha256:995f11f63597ee362130d1d5a327a87cb6f3f5eae3094c620bcc632329a4d26e", size = 4610921, upload-time = "2026-03-26T18:39:38.675Z" }
198
+ wheels = [
199
+ { url = "https://files.pythonhosted.org/packages/4a/92/c445b0cd6da6e7ae51e954939cb69f97e008dbe750cfca89b8cedc081be7/ruff-0.15.8-py3-none-linux_armv6l.whl", hash = "sha256:cbe05adeba76d58162762d6b239c9056f1a15a55bd4b346cfd21e26cd6ad7bc7", size = 10527394, upload-time = "2026-03-26T18:39:41.566Z" },
200
+ { url = "https://files.pythonhosted.org/packages/eb/92/f1c662784d149ad1414cae450b082cf736430c12ca78367f20f5ed569d65/ruff-0.15.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:d3e3d0b6ba8dca1b7ef9ab80a28e840a20070c4b62e56d675c24f366ef330570", size = 10905693, upload-time = "2026-03-26T18:39:30.364Z" },
201
+ { url = "https://files.pythonhosted.org/packages/ca/f2/7a631a8af6d88bcef997eb1bf87cc3da158294c57044aafd3e17030613de/ruff-0.15.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:6ee3ae5c65a42f273f126686353f2e08ff29927b7b7e203b711514370d500de3", size = 10323044, upload-time = "2026-03-26T18:39:33.37Z" },
202
+ { url = "https://files.pythonhosted.org/packages/67/18/1bf38e20914a05e72ef3b9569b1d5c70a7ef26cd188d69e9ca8ef588d5bf/ruff-0.15.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fdce027ada77baa448077ccc6ebb2fa9c3c62fd110d8659d601cf2f475858d94", size = 10629135, upload-time = "2026-03-26T18:39:44.142Z" },
203
+ { url = "https://files.pythonhosted.org/packages/d2/e9/138c150ff9af60556121623d41aba18b7b57d95ac032e177b6a53789d279/ruff-0.15.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:12e617fc01a95e5821648a6df341d80456bd627bfab8a829f7cfc26a14a4b4a3", size = 10348041, upload-time = "2026-03-26T18:39:52.178Z" },
204
+ { url = "https://files.pythonhosted.org/packages/02/f1/5bfb9298d9c323f842c5ddeb85f1f10ef51516ac7a34ba446c9347d898df/ruff-0.15.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:432701303b26416d22ba696c39f2c6f12499b89093b61360abc34bcc9bf07762", size = 11121987, upload-time = "2026-03-26T18:39:55.195Z" },
205
+ { url = "https://files.pythonhosted.org/packages/10/11/6da2e538704e753c04e8d86b1fc55712fdbdcc266af1a1ece7a51fff0d10/ruff-0.15.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d910ae974b7a06a33a057cb87d2a10792a3b2b3b35e33d2699fdf63ec8f6b17a", size = 11951057, upload-time = "2026-03-26T18:39:19.18Z" },
206
+ { url = "https://files.pythonhosted.org/packages/83/f0/c9208c5fd5101bf87002fed774ff25a96eea313d305f1e5d5744698dc314/ruff-0.15.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2033f963c43949d51e6fdccd3946633c6b37c484f5f98c3035f49c27395a8ab8", size = 11464613, upload-time = "2026-03-26T18:40:06.301Z" },
207
+ { url = "https://files.pythonhosted.org/packages/f8/22/d7f2fabdba4fae9f3b570e5605d5eb4500dcb7b770d3217dca4428484b17/ruff-0.15.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0f29b989a55572fb885b77464cf24af05500806ab4edf9a0fd8977f9759d85b1", size = 11257557, upload-time = "2026-03-26T18:39:57.972Z" },
208
+ { url = "https://files.pythonhosted.org/packages/71/8c/382a9620038cf6906446b23ce8632ab8c0811b8f9d3e764f58bedd0c9a6f/ruff-0.15.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:ac51d486bf457cdc985a412fb1801b2dfd1bd8838372fc55de64b1510eff4bec", size = 11169440, upload-time = "2026-03-26T18:39:22.205Z" },
209
+ { url = "https://files.pythonhosted.org/packages/4d/0d/0994c802a7eaaf99380085e4e40c845f8e32a562e20a38ec06174b52ef24/ruff-0.15.8-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:c9861eb959edab053c10ad62c278835ee69ca527b6dcd72b47d5c1e5648964f6", size = 10605963, upload-time = "2026-03-26T18:39:46.682Z" },
210
+ { url = "https://files.pythonhosted.org/packages/19/aa/d624b86f5b0aad7cef6bbf9cd47a6a02dfdc4f72c92a337d724e39c9d14b/ruff-0.15.8-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8d9a5b8ea13f26ae90838afc33f91b547e61b794865374f114f349e9036835fb", size = 10357484, upload-time = "2026-03-26T18:39:49.176Z" },
211
+ { url = "https://files.pythonhosted.org/packages/35/c3/e0b7835d23001f7d999f3895c6b569927c4d39912286897f625736e1fd04/ruff-0.15.8-py3-none-musllinux_1_2_i686.whl", hash = "sha256:c2a33a529fb3cbc23a7124b5c6ff121e4d6228029cba374777bd7649cc8598b8", size = 10830426, upload-time = "2026-03-26T18:40:03.702Z" },
212
+ { url = "https://files.pythonhosted.org/packages/f0/51/ab20b322f637b369383adc341d761eaaa0f0203d6b9a7421cd6e783d81b9/ruff-0.15.8-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:75e5cd06b1cf3f47a3996cfc999226b19aa92e7cce682dcd62f80d7035f98f49", size = 11345125, upload-time = "2026-03-26T18:39:27.799Z" },
213
+ { url = "https://files.pythonhosted.org/packages/37/e6/90b2b33419f59d0f2c4c8a48a4b74b460709a557e8e0064cf33ad894f983/ruff-0.15.8-py3-none-win32.whl", hash = "sha256:bc1f0a51254ba21767bfa9a8b5013ca8149dcf38092e6a9eb704d876de94dc34", size = 10571959, upload-time = "2026-03-26T18:39:36.117Z" },
214
+ { url = "https://files.pythonhosted.org/packages/1f/a2/ef467cb77099062317154c63f234b8a7baf7cb690b99af760c5b68b9ee7f/ruff-0.15.8-py3-none-win_amd64.whl", hash = "sha256:04f79eff02a72db209d47d665ba7ebcad609d8918a134f86cb13dd132159fc89", size = 11743893, upload-time = "2026-03-26T18:39:25.01Z" },
215
+ { url = "https://files.pythonhosted.org/packages/15/e2/77be4fff062fa78d9b2a4dea85d14785dac5f1d0c1fb58ed52331f0ebe28/ruff-0.15.8-py3-none-win_arm64.whl", hash = "sha256:cf891fa8e3bb430c0e7fac93851a5978fc99c8fa2c053b57b118972866f8e5f2", size = 11048175, upload-time = "2026-03-26T18:40:01.06Z" },
216
+ ]
217
+
218
+ [[package]]
219
+ name = "starlette"
220
+ version = "1.0.0"
221
+ source = { registry = "https://pypi.org/simple" }
222
+ dependencies = [
223
+ { name = "anyio" },
224
+ ]
225
+ sdist = { url = "https://files.pythonhosted.org/packages/81/69/17425771797c36cded50b7fe44e850315d039f28b15901ab44839e70b593/starlette-1.0.0.tar.gz", hash = "sha256:6a4beaf1f81bb472fd19ea9b918b50dc3a77a6f2e190a12954b25e6ed5eea149", size = 2655289, upload-time = "2026-03-22T18:29:46.779Z" }
226
+ wheels = [
227
+ { url = "https://files.pythonhosted.org/packages/0b/c9/584bc9651441b4ba60cc4d557d8a547b5aff901af35bda3a4ee30c819b82/starlette-1.0.0-py3-none-any.whl", hash = "sha256:d3ec55e0bb321692d275455ddfd3df75fff145d009685eb40dc91fc66b03d38b", size = 72651, upload-time = "2026-03-22T18:29:45.111Z" },
228
+ ]
229
+
230
+ [[package]]
231
+ name = "ty"
232
+ version = "0.0.26"
233
+ source = { registry = "https://pypi.org/simple" }
234
+ sdist = { url = "https://files.pythonhosted.org/packages/18/94/4879b81f8681117ccaf31544579304f6dc2ddcc0c67f872afb35869643a2/ty-0.0.26.tar.gz", hash = "sha256:0496b62405d62de7b954d6d677dc1cc5d3046197215d7a0a7fef37745d7b6d29", size = 5393643, upload-time = "2026-03-26T16:27:11.067Z" }
235
+ wheels = [
236
+ { url = "https://files.pythonhosted.org/packages/83/24/99fe33ecd7e16d23c53b0d4244778c6d1b6eb1663b091236dcba22882d67/ty-0.0.26-py3-none-linux_armv6l.whl", hash = "sha256:35beaa56cf59725fd59ab35d8445bbd40b97fe76db39b052b1fcb31f9bf8adf7", size = 10521856, upload-time = "2026-03-26T16:27:06.335Z" },
237
+ { url = "https://files.pythonhosted.org/packages/55/97/1b5e939e2ff69b9bb279ab680bfa8f677d886309a1ac8d9588fd6ce58146/ty-0.0.26-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:487a0be58ab0eb02e31ba71eb6953812a0f88e50633469b0c0ce3fb795fe0fa1", size = 10320958, upload-time = "2026-03-26T16:27:13.849Z" },
238
+ { url = "https://files.pythonhosted.org/packages/71/25/37081461e13d38a190e5646948d7bc42084f7bd1c6b44f12550be3923e7e/ty-0.0.26-py3-none-macosx_11_0_arm64.whl", hash = "sha256:a01b7de5693379646d423b68f119719a1338a20017ba48a93eefaff1ee56f97b", size = 9799905, upload-time = "2026-03-26T16:26:55.805Z" },
239
+ { url = "https://files.pythonhosted.org/packages/a1/1c/295d8f55a7b0e037dfc3a5ec4bdda3ab3cbca6f492f725bf269f96a4d841/ty-0.0.26-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:628c3ee869d113dd2bd249925662fd39d9d0305a6cb38f640ddaa7436b74a1ef", size = 10317507, upload-time = "2026-03-26T16:27:31.887Z" },
240
+ { url = "https://files.pythonhosted.org/packages/1d/62/48b3875c5d2f48fe017468d4bbdde1164c76a8184374f1d5e6162cf7d9b8/ty-0.0.26-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:63d04f35f5370cbc91c0b9675dc83e0c53678125a7b629c9c95769e86f123e65", size = 10319821, upload-time = "2026-03-26T16:27:29.647Z" },
241
+ { url = "https://files.pythonhosted.org/packages/ff/28/cfb2d495046d5bf42d532325cea7412fa1189912d549dbfae417a24fd794/ty-0.0.26-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a53c4e6f6a91927f8b90e584a4b12bcde05b0c1870ddff8d17462168ad7947a", size = 10831757, upload-time = "2026-03-26T16:27:37.441Z" },
242
+ { url = "https://files.pythonhosted.org/packages/26/bf/dbc3e42f448a2d862651de070b4108028c543ca18cab096b38d7de449915/ty-0.0.26-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:caf2ced0e58d898d5e3ba5cb843e0ebd377c8a461464748586049afbd9321f51", size = 11369556, upload-time = "2026-03-26T16:26:58.655Z" },
243
+ { url = "https://files.pythonhosted.org/packages/92/4c/6d2f8f34bc6d502ab778c9345a4a936a72ae113de11329c1764bb1f204f6/ty-0.0.26-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:384807bbcb7d7ce9b97ee5aaa6417a8ae03ccfb426c52b08018ca62cf60f5430", size = 11085679, upload-time = "2026-03-26T16:27:21.746Z" },
244
+ { url = "https://files.pythonhosted.org/packages/cc/f4/f3f61c203bc980dd9bba0ba7ed3c6e81ddfd36b286330f9487c2c7d041aa/ty-0.0.26-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8a2c766a94d79b4f82995d41229702caf2d76e5c440ec7e543d05c70e98bf8ab", size = 10900581, upload-time = "2026-03-26T16:27:24.39Z" },
245
+ { url = "https://files.pythonhosted.org/packages/3d/fd/3ca1b4e4bdd129829e9ce78677e0f8e0f1038a7702dccecfa52f037c6046/ty-0.0.26-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:f41ac45a0f8e3e8e181508d863a0a62156341db0f624ffd004b97ee550a9de80", size = 10294401, upload-time = "2026-03-26T16:27:03.999Z" },
246
+ { url = "https://files.pythonhosted.org/packages/de/20/4ee3d8c3f90e008843795c765cb8bb245f188c23e5e5cc612c7697406fba/ty-0.0.26-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:73eb8327a34d529438dfe4db46796946c4e825167cbee434dc148569892e435f", size = 10351469, upload-time = "2026-03-26T16:27:19.003Z" },
247
+ { url = "https://files.pythonhosted.org/packages/3d/b1/9fb154ade65906d4148f0b999c4a8257c2a34253cb72e15d84c1f04a064e/ty-0.0.26-py3-none-musllinux_1_2_i686.whl", hash = "sha256:4bb53a79259516535a1b55f613ba1619e9c666854946474ca8418c35a5c4fd60", size = 10529488, upload-time = "2026-03-26T16:27:01.378Z" },
248
+ { url = "https://files.pythonhosted.org/packages/a5/70/9b02b03b1862e27b64143db65946d68b138160a5b6bfea193bee0b8bbc34/ty-0.0.26-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:2f0e75edc1aeb1b4b84af516c7891f631254a4ca3dcd15e848fa1e061e1fe9da", size = 10999015, upload-time = "2026-03-26T16:27:34.636Z" },
249
+ { url = "https://files.pythonhosted.org/packages/21/16/0a56b8667296e2989b9d48095472d98ebf57a0006c71f2a101bbc62a142d/ty-0.0.26-py3-none-win32.whl", hash = "sha256:943c998c5523ed6b519c899c0c39b26b4c751a9759e460fb964765a44cde226f", size = 9912378, upload-time = "2026-03-26T16:27:08.999Z" },
250
+ { url = "https://files.pythonhosted.org/packages/60/c2/fef0d4bba9cd89a82d725b3b1a66efb1b36629ecf0fb1d8e916cb75b8829/ty-0.0.26-py3-none-win_amd64.whl", hash = "sha256:19c856d343efeb1ecad8ee220848f5d2c424daf7b2feda357763ad3036e2172f", size = 10863737, upload-time = "2026-03-26T16:27:27.06Z" },
251
+ { url = "https://files.pythonhosted.org/packages/4d/05/888ebcb3c4d3b6b72d5d3241fddd299142caa3c516e6d26a9cd887dfed3b/ty-0.0.26-py3-none-win_arm64.whl", hash = "sha256:2cde58ccffa046db1223dc28f3e7d4f2c7da8267e97cc5cd186af6fe85f1758a", size = 10285408, upload-time = "2026-03-26T16:27:16.432Z" },
252
+ ]
253
+
254
+ [[package]]
255
+ name = "typing-extensions"
256
+ version = "4.15.0"
257
+ source = { registry = "https://pypi.org/simple" }
258
+ sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" }
259
+ wheels = [
260
+ { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" },
261
+ ]
262
+
263
+ [[package]]
264
+ name = "typing-inspection"
265
+ version = "0.4.2"
266
+ source = { registry = "https://pypi.org/simple" }
267
+ dependencies = [
268
+ { name = "typing-extensions" },
269
+ ]
270
+ sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" }
271
+ wheels = [
272
+ { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" },
273
+ ]
274
+
275
+ [[package]]
276
+ name = "uvicorn"
277
+ version = "0.42.0"
278
+ source = { registry = "https://pypi.org/simple" }
279
+ dependencies = [
280
+ { name = "click" },
281
+ { name = "h11" },
282
+ ]
283
+ sdist = { url = "https://files.pythonhosted.org/packages/e3/ad/4a96c425be6fb67e0621e62d86c402b4a17ab2be7f7c055d9bd2f638b9e2/uvicorn-0.42.0.tar.gz", hash = "sha256:9b1f190ce15a2dd22e7758651d9b6d12df09a13d51ba5bf4fc33c383a48e1775", size = 85393, upload-time = "2026-03-16T06:19:50.077Z" }
284
+ wheels = [
285
+ { url = "https://files.pythonhosted.org/packages/0a/89/f8827ccff89c1586027a105e5630ff6139a64da2515e24dafe860bd9ae4d/uvicorn-0.42.0-py3-none-any.whl", hash = "sha256:96c30f5c7abe6f74ae8900a70e92b85ad6613b745d4879eb9b16ccad15645359", size = 68830, upload-time = "2026-03-16T06:19:48.325Z" },
286
+ ]