补全 PyPI 发布元数据 + 修 README 相对链接死链

- pyproject:PEP 639 license 表达式 + license-files、keywords、classifiers、[project.urls]
- README:设计文档链接改 GitHub 绝对地址(PyPI 页面无相对链接死链)
- 踩坑记录:[project.urls] 段头插在 dependencies 前会把 deps 吞进 urls 表
  (uv lock 静默砍掉 20 个依赖),已修并以 tomllib 结构自证(deps=12, urls=4)
This commit is contained in:
openbot committed 2026-09-24 09:15:43 +08:00
1 parent d37c697bbe
commit 45711be1ef
3 files changed
+27 -7

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
单目录自包含、三市场(A/美/港)覆盖的量化数据中台:`init` 建库回填,`serve` 常驻更新 + FastAPI 对外服务,一切状态收敛在 `-d` 指定的 dbpath。
设计方案见 [docs/quantdata-design.md](docs/quantdata-design.md)(v0.7,圆桌评审 45 条已采纳)。
设计方案见 [docs/quantdata-design.md](https://github.com/openbot-coder/pyquantdata/blob/main/docs/quantdata-design.md)(v0.7,圆桌评审 45 条已采纳)。
## 当前状态:M1 最小闭环
+21 -1
View File
@@ -6,8 +6,22 @@ readme = "README.md"
# 排除 3.14:该版本 Windows 上 asyncio ProactorEventLoop 的 socket.socketpair()
# 回退分支会死锁(asyncio.run 建 loop 即挂),serve 常驻与全部异步测试不可用。
requires-python = ">=3.11,<3.14"
license = { text = "MIT" }
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "openbot-coder" }]
keywords = ["quant", "market-data", "duckdb", "stock", "kline", "backtest-data"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Database :: Front-Ends",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
]
dependencies = [
"duckdb>=1.1",
"fastapi>=0.115",
@@ -27,6 +41,12 @@ dependencies = [
[project.scripts]
quantdata = "pyquantdata.cli:main"
[project.urls]
Homepage = "https://github.com/openbot-coder/pyquantdata"
Repository = "https://github.com/openbot-coder/pyquantdata"
Documentation = "https://github.com/openbot-coder/pyquantdata/blob/main/docs/quantdata-design.md"
Issues = "https://github.com/openbot-coder/pyquantdata/issues"
[dependency-groups]
dev = [
"pytest>=8",
Generated
+5 -5
View File
@@ -3,10 +3,10 @@ revision = 3
requires-python = ">=3.11, <3.14"
resolution-markers = [
"python_full_version >= '3.12' and sys_platform == 'win32'",
"python_full_version < '3.12' and sys_platform == 'win32'",
"python_full_version >= '3.12' and sys_platform == 'emscripten'",
"python_full_version < '3.12' and sys_platform == 'emscripten'",
"python_full_version >= '3.12' and sys_platform != 'emscripten' and sys_platform != 'win32'",
"python_full_version < '3.12' and sys_platform == 'win32'",
"python_full_version < '3.12' and sys_platform == 'emscripten'",
"python_full_version < '3.12' and sys_platform != 'emscripten' and sys_platform != 'win32'",
]
@@ -732,15 +732,15 @@ wheels = [
[[package]]
name = "starlette"
version = "1.6.0"
version = "1.7.0"
source = { registry = "https://pypi.tuna.tsinghua.edu.cn/simple" }
dependencies = [
{ name = "anyio" },
{ name = "typing-extensions", marker = "python_full_version < '3.13'" },
]
sdist = { url = "https://pypi.tuna.tsinghua.edu.cn/packages/b5/b4/205b0d5241d934e8add0c38aa924c4f9fb7330834ff11e5444db964ec3f9/starlette-1.6.0.tar.gz", hash = "sha256:d4e3ac5e546444960c710297a3c9fc3f7ebae1b7e963f3d36173b49da535be9b", size = 2716969, upload-time = "2026-08-08T18:27:57.512Z" }
sdist = { url = "https://pypi.tuna.tsinghua.edu.cn/packages/7b/2b/3850dc6bf7ef71b088962eba31dafc6cffd2f96e577ebb0bb316df96da3e/starlette-1.7.0.tar.gz", hash = "sha256:c79f74ea63cff761804fbbfb182f1e0b440c2d07b164d24700c5a1bab5d6ff5d", size = 2736246, upload-time = "2026-09-23T07:30:26.35Z" }
wheels = [
{ url = "https://pypi.tuna.tsinghua.edu.cn/packages/c8/cb/6a6a47d5b464bd08695d254f3da6e7986cc70c9fa5d778eda57538edfe56/starlette-1.6.0-py3-none-any.whl", hash = "sha256:a86dd39d14bb45f85a3d18525215a9ef0cfd1f192ac793220e72598c90335f0c", size = 75969, upload-time = "2026-08-08T18:27:56.196Z" },
{ url = "https://pypi.tuna.tsinghua.edu.cn/packages/4e/d6/1ec1b290f9e0fb067899b61e1d37a30c923068bad260b216dbe37a7d2967/starlette-1.7.0-py3-none-any.whl", hash = "sha256:67f8e99895493dd2911a03f11314af6ceebeae4e704bb9f43dfc6a9db151c93e", size = 78980, upload-time = "2026-09-23T07:30:24.567Z" },
]
[[package]]