add first commit

This commit is contained in:
2026-07-21 15:39:47 +08:00
commit 37434cf207
26 changed files with 4378 additions and 0 deletions
+64
View File
@@ -0,0 +1,64 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
dependencies = [
"apscheduler",
"boto3",
"chongming-jwt",
"chongming-request",
"chongming-worker",
"diskcache",
"eclipse-zenoh",
"fastapi[uvicorn]",
"gunicorn",
"modelvault",
"module-bank",
"nanio",
"openai",
"orjson",
"python-multipart",
"sqlite-vfs",
"tomli",
"typing-extensions",
"uvicorn",
"volcengine-python-sdk[ark]>=5.0.41",
]
description = "基于 modules-bank 的 fastapi 打包脚手架"
name = "chongming-zenoh"
readme = "README.md"
requires-python = ">=3.12"
version = "0.1.0"
[dependency-groups]
dev = [
"nuitka",
"pyarmor",
"pyinstaller",
"ruff",
]
[tool.hatch.build.targets.wheel]
packages = ["src/chongming"]
[[tool.uv.index]]
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
[tool.uv.workspace]
members = [
"utils/worker",
"utils/request",
"utils/jwt",
]
[tool.uv.sources]
chongming-request = { workspace = true }
chongming-worker = { workspace = true }
chongming-jwt = { workspace = true }
[project.scripts]
build = "chongming.scripts.build:build"
gen_models = "chongming.scripts.gen_models:gen_models"
gunicorn = "chongming:gunicorn_serve"
serve = "chongming:serve"