{"id":34061011,"url":"https://github.com/kentang2017/taixuanshifa","last_synced_at":"2025-12-14T04:30:48.868Z","repository":{"id":57473239,"uuid":"236671677","full_name":"kentang2017/taixuanshifa","owner":"kentang2017","description":"Python 太玄筮法 太玄蓍法.  A Python package of a divination tool named TaiXuan created by a Chinese Confucian Yang Xiong (BC53 - 18CE) from Xi Han Dynasty","archived":false,"fork":false,"pushed_at":"2025-08-12T08:57:39.000Z","size":499,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-14T23:20:17.495Z","etag":null,"topics":["ancient-chinese-book","chinese","divination","iching","prediction"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/taixuanshifa","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kentang2017.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-28T06:20:54.000Z","updated_at":"2025-09-13T13:59:47.000Z","dependencies_parsed_at":"2024-05-09T15:38:27.226Z","dependency_job_id":"e991ef58-53ab-4bcd-ad9f-bff3b350bc8c","html_url":"https://github.com/kentang2017/taixuanshifa","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"daab151fd590f0ea8fec53b7817c1245d16dadb7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kentang2017/taixuanshifa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Ftaixuanshifa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Ftaixuanshifa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Ftaixuanshifa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Ftaixuanshifa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentang2017","download_url":"https://codeload.github.com/kentang2017/taixuanshifa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Ftaixuanshifa/sbom","scorecard":{"id":555654,"data":{"date":"2025-08-11","repo":{"name":"github.com/kentang2017/taixuanshifa","commit":"ef567081b3bff500320aa8b47051e95498606bfa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-153 / GHSA-rxff-vr5r-8cj5"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T12:15:58.408Z","repository_id":57473239,"created_at":"2025-08-20T12:15:58.408Z","updated_at":"2025-08-20T12:15:58.408Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27717336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ancient-chinese-book","chinese","divination","iching","prediction"],"created_at":"2025-12-14T04:30:45.231Z","updated_at":"2025-12-14T04:30:48.862Z","avatar_url":"https://github.com/kentang2017.png","language":"Python","funding_links":["https://www.paypal.me/kinyeah)"],"categories":[],"sub_categories":[],"readme":"# **Python Taixuanshifa 太玄筮法**\r\n  \r\n[![Python](https://img.shields.io/pypi/pyversions/taixuanshifa)](https://pypi.org/project/taixuanshifa/)\r\n[![PIP](https://img.shields.io/pypi/v/taixuanshifa)](https://pypi.org/project/taixuanshifa/)\r\n[![Downloads](https://img.shields.io/pypi/dm/taixuanshifa)](https://pypi.org/project/taixuanshifa/)\r\n[![TG](https://img.shields.io/badge/chat-on%20telegram-blue)](https://t.me/gnatnek)\r\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?logo=paypal\u0026style=flat-square)](https://www.paypal.me/kinyeah)\u0026nbsp;\r\n\r\n## **1. Introduction 導讀**︰\r\n\r\nAn alternative Iching divination tool named TaiXuan created by a Chinese Confucian Yang Xiong (BC53 - 18CE) from Xi Han Dynasty.\r\n\r\n《太玄》，又稱《太玄經》、《揚子太玄經》或《玄經》，是西漢學者揚雄的一部著作，用來闡述他的哲學體系和宇宙論。《四庫全書》中為避康熙皇帝的名諱，改稱其為《太元經》。《新唐書·藝文志》作十二卷，《文獻通考》作十卷。\r\n\r\n《太玄》糅合了儒家、道家和陰陽家的學說。其首先從《老子》「玄之又玄」中概括出「玄」（玄奧）的概念，以玄為中心，按天地人三道的分類建立了一個形上學體系。《太玄》認為一切事物從發展到旺盛到消亡都可分成九個階段。\r\n\r\n唐朝詩人李白的《俠客行》最後一句「白首太玄經」，即指此書。\r\n\r\n![alt text](https://github.com/kentang2017/taixuanshifa/blob/master/data/pic.png?raw=true)\r\n太元方州部家八十一首圖\r\n\r\n## **2. Installation 安裝套件**\r\n\r\n```python\r\n\tpip install taixuanshifa\r\n```\r\n\r\n## **3. Start Divination 起卦**\r\n```python\r\n\tfrom taixuanshifa import taixuanshifa\r\n\t\r\n\ttaixuanshifa.qigua( )\r\n\t{'卦': {'眾': '陽氣信高懷齊，萬物宣明嫭大眾多。'}, '初一': '冥兵始，火入耳，農輟馬穀，尸將班于田。測曰，「冥兵」之「始」、始則不臧也。', '次二': '兵無刃，師無陳，麟或賓之，溫。測曰，「兵無刃」、德服無方也。', '次三': '軍或纍車，丈人摧孥，內蹈之瑕。測曰，「軍或纍車」、廟戰內傷也。', '次四': '虎虓振廞，豹勝其祕否。測曰，「虎虓振廞」、如鷹之揚也。', '次五': '躆戰喈喈，若熊若螭。測曰，「躆戰喈喈」、恃力作王也。', '次六': '大兵雷霆，震其耳，維用詘腹。測曰，「大兵雷霆」、威震無疆也。', '次七': '旌旗絓羅，干戈蛾蛾，師孕言之，哭且䁲。測曰，「旌旗絓羅」、大恨民也。', '次八': '兵衰衰，見其病，不見輿尸。測曰，「兵衰衰」、不血刃也。', '上九': '斧刃缺，其柯折，可以止，不可以伐，往血。測曰，「刃缺」「柯折」、將不足往也。'}\r\n\t\r\n\t\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentang2017%2Ftaixuanshifa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentang2017%2Ftaixuanshifa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentang2017%2Ftaixuanshifa/lists"}