From a59ac1f3cbcc7f6ba354331f5cf59ec15c47ef32 Mon Sep 17 00:00:00 2001 From: imnyang Date: Thu, 13 Aug 2026 01:03:34 +0900 Subject: [PATCH] init --- .gitignore | 10 +++ .python-version | 1 + README.md | 0 app.py | 92 ++++++++++++++++++++++++++ data.db | Bin 0 -> 12288 bytes lib/post.py | 95 +++++++++++++++++++++++++++ pyproject.toml | 16 +++++ src/layer7_web_2/__init__.py | 0 templates/edit.html | 5 ++ templates/index.html | 47 +++++++++++++ templates/login.html | 15 +++++ templates/post.html | 14 ++++ templates/register.html | 15 +++++ uv.lock | 124 +++++++++++++++++++++++++++++++++++ 14 files changed, 434 insertions(+) create mode 100644 .gitignore create mode 100644 .python-version create mode 100644 README.md create mode 100644 app.py create mode 100644 data.db create mode 100644 lib/post.py create mode 100644 pyproject.toml create mode 100644 src/layer7_web_2/__init__.py create mode 100644 templates/edit.html create mode 100644 templates/index.html create mode 100644 templates/login.html create mode 100644 templates/post.html create mode 100644 templates/register.html create mode 100644 uv.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..505a3b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Python-generated files +__pycache__/ +*.py[oc] +build/ +dist/ +wheels/ +*.egg-info + +# Virtual environments +.venv diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..6324d40 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.14 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/app.py b/app.py new file mode 100644 index 0000000..61d01b9 --- /dev/null +++ b/app.py @@ -0,0 +1,92 @@ +from flask import Flask, redirect, render_template, request, session +from lib.post import * + +app = Flask(__name__) +app.secret_key = "minggkingkki" + +# 게시판 기능은 +# ~~글쓰기,~~ +# ~~글조회,~~ +# ~~글 수정,~~ +# ~~글 삭제,~~ +# ~~회원가입,~~ +# ~~로그인,~~ +# ~~글 검색~~) + +@app.route("/") +def index(): + query = request.args.get("q") + if query: + return render_template("index.html", posts=get_posts_search(query)) + + return render_template("index.html", posts=get_posts()) + +@app.route("/login", methods=["GET", "POST"]) +def login(): + if request.method == "POST": + username = request.form.get("username") + password = request.form.get("password") + try: + if check_user(username, password): + session["username"] = username + return redirect("/") + else: + return "Invalid username or password" + except Exception as e: + return str(e) + return render_template("login.html") + +@app.route("/register", methods=["GET", "POST"]) +def register(): + if request.method == "POST": + username = request.form["username"] + password = request.form["password"] + try: + create_user(username, password) + return redirect("/") + except Exception as e: + return str(e) + return render_template("register.html") + +@app.route("/post", methods=["POST"]) +def create_post_endpoint(): + # spec : {"title": "", "content": ""} + title = request.form["title"] + content = request.form["content"] + + if not title or not content: + return "title and content are required" + + username = session["username"] + if not username: + return "You must be logged in to create a post" + + post_id = create_post(title, username, content) + + return redirect(f"/post/{post_id}") + +@app.route("/edit/", methods=["GET", "POST"]) +def edit_post(post_id): + if request.method == "POST": + title = request.form["title"] + content = request.form["content"] + if not title or not content: + return "title and content are required" + author = session["username"] + if not author: + return "You must be logged in to update a post" + update_post(post_id, title, author, content) + return redirect(f"/post/{post_id}") + return render_template("edit.html", post_id=post_id, post=get_post(post_id)) + +@app.route("/post/", methods=["GET", "DELETE"]) +def post(post_id): + if request.method == "DELETE": + delete_post(post_id) + return redirect("/") + + return render_template("post.html", post_id=post_id, post=get_post(post_id)) + +if __name__ == "__main__": + init() + app.run(port=5555, debug=True) diff --git a/data.db b/data.db new file mode 100644 index 0000000000000000000000000000000000000000..13cbacc0f09e68ec211cf62a448be0b2b26fc75f GIT binary patch literal 12288 zcmWFz^vNtqRY=P(%1ta$FlG>7U}R))P*7lCV31^BU|?oI044?o1{MUDff0#~iz&&V zH}y0x0|NsS-vI{xT)qRi6po6IhQMeDjE2By2#kinXb6mkz-S1JhQMeDjE2By2#kgR zz7S~CVqzB;7iVlTE=f$vNiE1PE-3~R%+5isjv=lJA&yQyt_olw1r06*D9B7v@bn9D zb$1O?2nh1@bqtDB@OF*Vfyytn;-67>j)uT!2#kinXb6mkz-S1J zhQMeDjE2By2#kinXb6mkz>o_86&6+oRcY17t&NXcwmfcaf84SY+C@he5@Kd$5SA8x z+}enclwe|Ike3#IwPC`Wc@y63T#1lTWCY2mzTVLLx@qF;#ywCO2>)@*me-AY0PyLf AB>(^b literal 0 HcmV?d00001 diff --git a/lib/post.py b/lib/post.py new file mode 100644 index 0000000..ed946b8 --- /dev/null +++ b/lib/post.py @@ -0,0 +1,95 @@ +import sqlite3 + +def init(): + conn = sqlite3.connect("data.db") + cursor = conn.cursor() + cursor.execute(""" + CREATE TABLE IF NOT EXISTS users ( + id INTEGER PRIMARY KEY, + username TEXT NOT NULL, + password TEXT NOT NULL + ); + """) + cursor.execute(""" + CREATE TABLE IF NOT EXISTS posts ( + id INTEGER PRIMARY KEY, + title TEXT NOT NULL, + author TEXT NOT NULL, + content TEXT NOT NULL + ); + """) + + conn.commit() + conn.close() + +def create_user(username, password): + conn = sqlite3.connect("data.db") + cursor = conn.cursor() + cursor.execute("INSERT INTO users (username, password) VALUES (?, ?)", (username, password)) + conn.commit() + conn.close() + +def check_user(username, password): + conn = sqlite3.connect("data.db") + cursor = conn.cursor() + cursor.execute("SELECT * FROM users WHERE username = ? AND password = ?", (username, password)) + data = cursor.fetchone() + conn.close() + return data + +def get_post(post_id): + conn = sqlite3.connect("data.db") + conn.row_factory = sqlite3.Row + + cursor = conn.cursor() + cursor.execute("SELECT * FROM posts WHERE id = ?", (post_id,)) + data = cursor.fetchone() + + conn.close() + return data + +def get_posts(): + conn = sqlite3.connect("data.db") + conn.row_factory = sqlite3.Row + cursor = conn.cursor() + cursor.execute("SELECT * FROM posts") + data = cursor.fetchall() + conn.close() + return data + +def get_posts_search(q): + conn = sqlite3.connect("data.db") + conn.row_factory = sqlite3.Row + cursor = conn.cursor() + cursor.execute("SELECT * FROM posts WHERE title LIKE ?", (f"%{q}%",)) + data = cursor.fetchall() + conn.close() + return data + +def create_post(title, author, content): + conn = sqlite3.connect("data.db") + cursor = conn.cursor() + cursor.execute("INSERT INTO posts (title, author, content) VALUES (?, ?, ?)", (title, author, content)) + post_id = cursor.lastrowid + conn.commit() + conn.close() + return post_id + +def update_post(post_id, title, author, content): + conn = sqlite3.connect("data.db") + cursor = conn.cursor() + # 기존 글이 쓴 사람이 author인지 검증 + cursor.execute("SELECT * FROM posts WHERE id = ?", (post_id,)) + post = cursor.fetchone() + if post and post[2] != author: + return "You are not the author of this post" + cursor.execute("UPDATE posts SET title = ?, content = ? WHERE id = ?", (title, content, post_id)) + conn.commit() + conn.close() + +def delete_post(post_id): + conn = sqlite3.connect("data.db") + cursor = conn.cursor() + cursor.execute("DELETE FROM posts WHERE id = ?", (post_id,)) + conn.commit() + conn.close() diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f61b1fa --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,16 @@ +[project] +name = "layer7-web-2" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +authors = [ + { name = "imnyang", email = "imnyang@pm.me" } +] +requires-python = ">=3.14" +dependencies = [ + "flask>=3.1.3", +] + +[build-system] +requires = ["uv_build>=0.12.1,<0.13.0"] +build-backend = "uv_build" diff --git a/src/layer7_web_2/__init__.py b/src/layer7_web_2/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/templates/edit.html b/templates/edit.html new file mode 100644 index 0000000..9476a1a --- /dev/null +++ b/templates/edit.html @@ -0,0 +1,5 @@ +
+ + + +
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..137ecfa --- /dev/null +++ b/templates/index.html @@ -0,0 +1,47 @@ + + + + + + wow 게시판 + + +

wow 게시판

+ Register + Login + +
+ + + +
+ +
+ + +
+
+ {% for post in posts %} + +
+

{{ post.title }}

+

{{ post.content }}

+
Edit + Delete +
+
+ + {% endfor %} +
+ + + diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..4dc9e38 --- /dev/null +++ b/templates/login.html @@ -0,0 +1,15 @@ + + + + + + Login + + +
+
+
+ +
+ + diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..af42b81 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,14 @@ + + + + + + {{ post_id }} + + +

{{ post.title }}

+

{{ post_id }}

+

{{ post.content }}

+ Back to home + + diff --git a/templates/register.html b/templates/register.html new file mode 100644 index 0000000..cff53d0 --- /dev/null +++ b/templates/register.html @@ -0,0 +1,15 @@ + + + + + + Register + + +
+
+
+ +
+ + diff --git a/uv.lock b/uv.lock new file mode 100644 index 0000000..c9bd1d5 --- /dev/null +++ b/uv.lock @@ -0,0 +1,124 @@ +version = 1 +revision = 3 +requires-python = ">=3.14" + +[[package]] +name = "blinker" +version = "1.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/21/28/9b3f50ce0e048515135495f198351908d99540d69bfdc8c1d15b73dc55ce/blinker-1.9.0.tar.gz", hash = "sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf", size = 22460, upload-time = "2024-11-08T17:25:47.436Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/cb/f2ad4230dc2eb1a74edf38f1a38b9b52277f75bef262d8908e60d957e13c/blinker-1.9.0-py3-none-any.whl", hash = "sha256:ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc", size = 8458, upload-time = "2024-11-08T17:25:46.184Z" }, +] + +[[package]] +name = "click" +version = "8.4.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/76/d4/81420972a676e8ffea40450d8c8c92943e7218a78fe9b64359836cc9876b/click-8.4.2.tar.gz", hash = "sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6", size = 338000, upload-time = "2026-06-24T17:45:15.148Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fb/e2/79c688af8b210d232694e31e59da9f6ec747bae31c3f5946e4e9b98860d5/click-8.4.2-py3-none-any.whl", hash = "sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76", size = 119243, upload-time = "2026-06-24T17:45:13.73Z" }, +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +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" } +wheels = [ + { 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" }, +] + +[[package]] +name = "flask" +version = "3.1.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "blinker" }, + { name = "click" }, + { name = "itsdangerous" }, + { name = "jinja2" }, + { name = "markupsafe" }, + { name = "werkzeug" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/26/00/35d85dcce6c57fdc871f3867d465d780f302a175ea360f62533f12b27e2b/flask-3.1.3.tar.gz", hash = "sha256:0ef0e52b8a9cd932855379197dd8f94047b359ca0a78695144304cb45f87c9eb", size = 759004, upload-time = "2026-02-19T05:00:57.678Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7f/9c/34f6962f9b9e9c71f6e5ed806e0d0ff03c9d1b0b2340088a0cf4bce09b18/flask-3.1.3-py3-none-any.whl", hash = "sha256:f4bcbefc124291925f1a26446da31a5178f9483862233b23c0c96a20701f670c", size = 103424, upload-time = "2026-02-19T05:00:56.027Z" }, +] + +[[package]] +name = "itsdangerous" +version = "2.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9c/cb/8ac0172223afbccb63986cc25049b154ecfb5e85932587206f42317be31d/itsdangerous-2.2.0.tar.gz", hash = "sha256:e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173", size = 54410, upload-time = "2024-04-16T21:28:15.614Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/96/92447566d16df59b2a776c0fb82dbc4d9e07cd95062562af01e408583fc4/itsdangerous-2.2.0-py3-none-any.whl", hash = "sha256:c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef", size = 16234, upload-time = "2024-04-16T21:28:14.499Z" }, +] + +[[package]] +name = "jinja2" +version = "3.1.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" }, +] + +[[package]] +name = "layer7-web-2" +version = "0.1.0" +source = { editable = "." } +dependencies = [ + { name = "flask" }, +] + +[package.metadata] +requires-dist = [{ name = "flask", specifier = ">=3.1.3" }] + +[[package]] +name = "markupsafe" +version = "3.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313, upload-time = "2025-09-27T18:37:40.426Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/33/8a/8e42d4838cd89b7dde187011e97fe6c3af66d8c044997d2183fbd6d31352/markupsafe-3.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe", size = 11619, upload-time = "2025-09-27T18:37:06.342Z" }, + { url = "https://files.pythonhosted.org/packages/b5/64/7660f8a4a8e53c924d0fa05dc3a55c9cee10bbd82b11c5afb27d44b096ce/markupsafe-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026", size = 12029, upload-time = "2025-09-27T18:37:07.213Z" }, + { url = "https://files.pythonhosted.org/packages/da/ef/e648bfd021127bef5fa12e1720ffed0c6cbb8310c8d9bea7266337ff06de/markupsafe-3.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737", size = 24408, upload-time = "2025-09-27T18:37:09.572Z" }, + { url = "https://files.pythonhosted.org/packages/41/3c/a36c2450754618e62008bf7435ccb0f88053e07592e6028a34776213d877/markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97", size = 23005, upload-time = "2025-09-27T18:37:10.58Z" }, + { url = "https://files.pythonhosted.org/packages/bc/20/b7fdf89a8456b099837cd1dc21974632a02a999ec9bf7ca3e490aacd98e7/markupsafe-3.0.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d", size = 22048, upload-time = "2025-09-27T18:37:11.547Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a7/591f592afdc734f47db08a75793a55d7fbcc6902a723ae4cfbab61010cc5/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda", size = 23821, upload-time = "2025-09-27T18:37:12.48Z" }, + { url = "https://files.pythonhosted.org/packages/7d/33/45b24e4f44195b26521bc6f1a82197118f74df348556594bd2262bda1038/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf", size = 21606, upload-time = "2025-09-27T18:37:13.485Z" }, + { url = "https://files.pythonhosted.org/packages/ff/0e/53dfaca23a69fbfbbf17a4b64072090e70717344c52eaaaa9c5ddff1e5f0/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe", size = 23043, upload-time = "2025-09-27T18:37:14.408Z" }, + { url = "https://files.pythonhosted.org/packages/46/11/f333a06fc16236d5238bfe74daccbca41459dcd8d1fa952e8fbd5dccfb70/markupsafe-3.0.3-cp314-cp314-win32.whl", hash = "sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9", size = 14747, upload-time = "2025-09-27T18:37:15.36Z" }, + { url = "https://files.pythonhosted.org/packages/28/52/182836104b33b444e400b14f797212f720cbc9ed6ba34c800639d154e821/markupsafe-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581", size = 15341, upload-time = "2025-09-27T18:37:16.496Z" }, + { url = "https://files.pythonhosted.org/packages/6f/18/acf23e91bd94fd7b3031558b1f013adfa21a8e407a3fdb32745538730382/markupsafe-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4", size = 14073, upload-time = "2025-09-27T18:37:17.476Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f0/57689aa4076e1b43b15fdfa646b04653969d50cf30c32a102762be2485da/markupsafe-3.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab", size = 11661, upload-time = "2025-09-27T18:37:18.453Z" }, + { url = "https://files.pythonhosted.org/packages/89/c3/2e67a7ca217c6912985ec766c6393b636fb0c2344443ff9d91404dc4c79f/markupsafe-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175", size = 12069, upload-time = "2025-09-27T18:37:19.332Z" }, + { url = "https://files.pythonhosted.org/packages/f0/00/be561dce4e6ca66b15276e184ce4b8aec61fe83662cce2f7d72bd3249d28/markupsafe-3.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634", size = 25670, upload-time = "2025-09-27T18:37:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/50/09/c419f6f5a92e5fadde27efd190eca90f05e1261b10dbd8cbcb39cd8ea1dc/markupsafe-3.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50", size = 23598, upload-time = "2025-09-27T18:37:21.177Z" }, + { url = "https://files.pythonhosted.org/packages/22/44/a0681611106e0b2921b3033fc19bc53323e0b50bc70cffdd19f7d679bb66/markupsafe-3.0.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e", size = 23261, upload-time = "2025-09-27T18:37:22.167Z" }, + { url = "https://files.pythonhosted.org/packages/5f/57/1b0b3f100259dc9fffe780cfb60d4be71375510e435efec3d116b6436d43/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5", size = 24835, upload-time = "2025-09-27T18:37:23.296Z" }, + { url = "https://files.pythonhosted.org/packages/26/6a/4bf6d0c97c4920f1597cc14dd720705eca0bf7c787aebc6bb4d1bead5388/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523", size = 22733, upload-time = "2025-09-27T18:37:24.237Z" }, + { url = "https://files.pythonhosted.org/packages/14/c7/ca723101509b518797fedc2fdf79ba57f886b4aca8a7d31857ba3ee8281f/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc", size = 23672, upload-time = "2025-09-27T18:37:25.271Z" }, + { url = "https://files.pythonhosted.org/packages/fb/df/5bd7a48c256faecd1d36edc13133e51397e41b73bb77e1a69deab746ebac/markupsafe-3.0.3-cp314-cp314t-win32.whl", hash = "sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d", size = 14819, upload-time = "2025-09-27T18:37:26.285Z" }, + { url = "https://files.pythonhosted.org/packages/1a/8a/0402ba61a2f16038b48b39bccca271134be00c5c9f0f623208399333c448/markupsafe-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9", size = 15426, upload-time = "2025-09-27T18:37:27.316Z" }, + { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" }, +] + +[[package]] +name = "werkzeug" +version = "3.1.8" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/dd/b2/381be8cfdee792dd117872481b6e378f85c957dd7c5bca38897b08f765fd/werkzeug-3.1.8.tar.gz", hash = "sha256:9bad61a4268dac112f1c5cd4630a56ede601b6ed420300677a869083d70a4c44", size = 875852, upload-time = "2026-04-02T18:49:14.268Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/93/8c/2e650f2afeb7ee576912636c23ddb621c91ac6a98e66dc8d29c3c69446e1/werkzeug-3.1.8-py3-none-any.whl", hash = "sha256:63a77fb8892bf28ebc3178683445222aa500e48ebad5ec77b0ad80f8726b1f50", size = 226459, upload-time = "2026-04-02T18:49:12.72Z" }, +]