Metadata-Version: 2.4
Name: doushu
Version: 0.4.1
Summary: 紫微斗数ziwei的同版安装与导入别名
License-Expression: MIT
Project-URL: Documentation, https://0xf3cd.github.io/ziwei/
Project-URL: Repository, https://github.com/0xf3cd/ziwei
Project-URL: Issues, https://github.com/0xf3cd/ziwei/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: <3.15,>=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ziwei==0.4.1
Dynamic: license-file

# doushu（斗数）

`doushu`是[ziwei](https://github.com/0xf3cd/ziwei)的安装与导入别名，提供紫微斗数排盘和有出处的知识查询。
它安装同版本的`ziwei`，从对应子模块转发公开函数、类型、枚举与数据，不包含另一套排盘实现。

```sh
python -m pip install doushu
```

```python
from doushu.knowledge import load_catalog

print(load_catalog().get("concept.star.ziwei").id)
```

输出为`concept.star.ziwei`。排盘所需的出生资料与口径配置见[完整命盘指南](https://0xf3cd.github.io/ziwei/docs/chart.html)。
原有`ziwei.*`导入继续可用，两种路径的公开对象相同。
请从对应子模块路径导入，不依赖包入口自动加载子模块；公开模块见[API参考](https://0xf3cd.github.io/ziwei/docs/api.html)。

只提供纯Python wheel，Python与平台范围和主包相同；主包的原生历法依赖仍有平台限制。
使用独立虚拟环境，详见[安装要求](https://github.com/0xf3cd/ziwei#安装要求)。
