Skip to main content

doushu(斗数)

doushu是ziwei的安装与导入别名,提供紫微斗数排盘和有出处的知识查询。 它安装同版本的ziwei,从对应子模块转发公开函数、类型、枚举与数据,不包含另一套排盘实现。

python -m pip install doushu
from doushu.knowledge import load_catalog

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

输出为concept.star.ziwei。排盘所需的出生资料与口径配置见完整命盘指南。 原有ziwei.*导入继续可用,两种路径的公开对象相同。 请从对应子模块路径导入,不依赖包入口自动加载子模块;公开模块见API参考。

只提供纯Python wheel,Python与平台范围和主包相同;主包的原生历法依赖仍有平台限制。 使用独立虚拟环境,详见安装要求。

Metadata

Release files for doushu 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for doushu 0.5.0
File Interpreter ABI Platform Actions
doushu-0.5.0-py3-none-any.whl Python 3 none any Details for doushu-0.5.0-py3-none-any.whl

Release files / doushu-0.5.0-py3-none-any.whl

Download URL doushu-0.5.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3206ba513aa61cf7d9a3b1bd693559b497e0a94b88e0bf52da3126bd80ef3652
BLAKE2b-256 checksum
How to use checksums
d365d30cb5a10fc9597e2d143806ff6bc95a237354dd7266485caf19d318408e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for doushu 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for doushu-0.5.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page