{"id":37074285,"url":"https://github.com/kentang2017/kinqimen","last_synced_at":"2026-01-14T08:45:10.302Z","repository":{"id":52716909,"uuid":"233357133","full_name":"kentang2017/kinqimen","owner":"kentang2017","description":"Python 奇門遁甲，占卜用，運籌帷幄。包含金函玉鏡日家奇門、拆補置閏時家奇門、刻家奇門排盤。A Python package of Qimendunjia, one of the three greatest Ancient Chinese Divination Tools ever. ","archived":false,"fork":false,"pushed_at":"2025-06-23T10:18:03.000Z","size":1303,"stargazers_count":31,"open_issues_count":28,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-24T11:56:46.898Z","etag":null,"topics":["divination","prediction","python","qimen"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/kinqimen","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-01-12T07:52:19.000Z","updated_at":"2025-07-28T08:52:59.000Z","dependencies_parsed_at":"2023-11-27T03:26:05.459Z","dependency_job_id":"1be940cd-df55-4201-ab26-2c5099856436","html_url":"https://github.com/kentang2017/kinqimen","commit_stats":{"total_commits":290,"total_committers":1,"mean_commits":290.0,"dds":0.0,"last_synced_commit":"ef95715cfad5f9d9f7581ccf6bd0399beb2b3f59"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kentang2017/kinqimen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Fkinqimen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Fkinqimen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Fkinqimen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Fkinqimen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentang2017","download_url":"https://codeload.github.com/kentang2017/kinqimen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentang2017%2Fkinqimen/sbom","scorecard":{"id":555652,"data":{"date":"2025-08-11","repo":{"name":"github.com/kentang2017/kinqimen","commit":"d9eeea6ac4fe66a136e7e260838a300ff455b960"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"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":"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":"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":"Maintained","score":5,"reason":"4 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5","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":"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":"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":"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":"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":"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":"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":"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:57.066Z","repository_id":52716909,"created_at":"2025-08-20T12:15:57.066Z","updated_at":"2025-08-20T12:15:57.066Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["divination","prediction","python","qimen"],"created_at":"2026-01-14T08:45:09.745Z","updated_at":"2026-01-14T08:45:10.294Z","avatar_url":"https://github.com/kentang2017.png","language":"Python","funding_links":["https://www.paypal.me/kinyeah)"],"categories":[],"sub_categories":[],"readme":"﻿# **Python Qimendunjia Kinqimen Python 奇門遁甲 堅奇門**\r\n\r\n![alt text](https://github.com/kentang2017/kinqimen/blob/master/pic/Untitled-22.png)\r\n簡單金函玉鏡、時家奇門、刻家奇門的奇門遁甲起盤 A simple python package of Qimendunjia in Chinese hour-based system, minute-based system and golden letter jade mirror style Qimendunjia for prediction.\r\n\r\n堅奇門排盤 https://kinqimen.streamlitapp.com\r\n\r\n[![Python](https://img.shields.io/pypi/pyversions/kinqimen)](https://pypi.org/project/kinqimen/)\r\n[![PIP](https://img.shields.io/pypi/v/kinqimen)](https://pypi.org/project/kinqimen/)\r\n[![Downloads](https://img.shields.io/pypi/dm/kinqimen)](https://pypi.org/project/kinqimen/)\r\n[![TG](https://img.shields.io/badge/chat-on%20telegram-blue)](https://t.me/haizhonggum)\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\r\n\r\n\r\n\r\n## **1. 導讀 Introduction**︰\r\n奇門遁甲與大六壬、太乙神數並稱三式。為中國神秘學中預測學的一個特有門類。乃利用洛書軌跡，九宮八卦以及五行相生相剋的道理，來預測地理方向的優劣，進而規劃一個人的行程，最終達到對自己最有利的目的，為算命相術所兼用。奇門遁甲以乙、丙、丁稱為三奇；以開、休、生、傷、杜、景、驚、死稱為八門，故名「奇門」。天干中「甲」最尊貴而不顯露，六甲(甲子、甲戌、甲申、甲午、甲辰、甲寅)常隱藏於「戊、己、庚、辛、壬、癸」六儀之內，三奇、六儀分布九宮，而甲不獨占一宮，故名「遁甲」。在古代民間流傳只有帝王附近如軍師、欽天監、國師等重要大臣才通曉奇門遁甲之術。\r\n\r\nQimen Dunjia is an ancient form of divination from China. It is one of the Three Styles (三式; sānshì; 'three rites') of Chinese divination, with DaLiuRen and TaiYi Shen Shu. Over the centuries of Chinese history, Qimen Dunjia grew in popularity and was expanded to include a number of other types of divination, including medical divination, matchmaking, childbirth, travel, personal fortunes, and today includes contemporary applications, most notably that of business and finance. \r\n\r\nQimen Dunjia is based on astronomical observations, and consists of various aspects of Chinese metaphysics, including the doctrines of yin and yang, five elements, the eight trigrams, the ten Heavenly Stems and the twelve Earthly Branches, as well as the twenty-four solar terms. The Qimen Dunjia cosmic board consists of a 3 × 3 magic square of nine palaces (九宫), which includes a Heaven and Earth plate, a spirit plate, eight gates and a star plate. The various symbols rotate around the palaces with each double-hour of the day, making a total of 1,080 different configurations of the Qimen Dunjia cosmic board. These situations (局; jú) are recycled four times per year, and are divided between the Yin and Yang halves of the year. Qimen Dunjia is time-sensitive. The analyst makes reference to the configuration of the cosmic board at the time when a question is posed, or for birth times of individuals or corporate entities, such as businesses or nations. At times, the same or very similar configurations of the cosmic board will appear in relation to the same series of questions or problems.\r\n\r\n## **2. 安裝套件 Installation**\r\n\r\n```python\r\n\tpip install sxtwl\r\n\tpip install kinqimen\r\n```\r\n\r\n## **3. 起課方式 Quickstart**\r\n```python\r\n\tfrom kinqimen import kinqimen\r\n\r\n\tkinqimen.Qimen(year, month, day, hour).pan(1) #1:拆補 2:置閏\r\n\tkinqimenQimen(year, month, day, hour).gpan() (金函日家)\r\n\tkinqimen.Qimen(year, month, day, hour).overall() (時家奇門 + 金函日家)\r\n\t\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentang2017%2Fkinqimen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentang2017%2Fkinqimen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentang2017%2Fkinqimen/lists"}