# china-testing/bazi

python八字排盘软件。清晰看出冲刑合会、阴阳等关系，并有凝聚大师多年经验的评判。另有合婚、风水等功能及手相教程。

Repository: https://github.com/china-testing/bazi
Canonical: https://ross.abutalabs.com/products/bazi
Language: Python
License Family: other
Last push: 2026-08-26T01:42:34+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2722, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1484, forks 481 (observed 2026-08-28T04:04:51.317786+00:00)

## What it is
A Python-based Chinese BaZi (Four Pillars of Destiny) charting application that clearly displays clashes, combinations, punishments, and yin-yang relationships among the heavenly stems and earthly branches, computes five-element scores, and adds commentary drawn from classical texts like San Ming Tong Hui. It also includes zodiac-based marriage compatibility, Luo Hou day/time calculation for feng shui practitioners, and a palmistry tutorial.

## Use cases
- generate a bazi four pillars chart from a birth date
- see clashes, combinations and punishments in a birth chart
- calculate five element scores for a natal chart
- check zodiac compatibility for marriage
- find luo hou days to avoid using a luopan
- learn palmistry basics

## When to choose
- you want a Python tool for Chinese astrology charting with classical commentary
- you need clear visualization of stem-branch relationships like chong, he, xing
- you want zodiac marriage compatibility or feng shui date utilities in one repo

## When to avoid
- you need a polished GUI or mobile fortune-telling app
- you require a maintained library with a license for commercial integration
- you need scientific or astronomical calendar software rather than divination

## Facets
- artifact type: application
- maturity: active
- function: cli, developer-tools
- domain: developer-tools, education
- platform: python, cross-platform
- tags: bazi, chinese-astrology, fortune-telling, feng-shui, marriage-compatibility, palmistry, chinese-calendar

## Member repositories
- china-testing/bazi (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:51.317786+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:59.406559+00:00, confidence not recorded.
  - readme: https://github.com/china-testing/bazi (fetched 2026-08-28T04:04:51.317786+00:00, sha 292571251862)
- Data as of 2026-08-30T08:39:29.467469+00:00.
