Skip to main content

Qimendunjia (奇門遁甲) is one of the three greatest Chinese Divination systems ever.

Project description

Python Qimendunjia Kinqimen Python 奇門遁甲 堅奇門

簡單時家奇門起盤 A simple Qimendunjia in Chinese hour-based system for prediction.

Python PIP Downloads TG Donate 

alt text

1. 導讀 Introduction

奇門遁甲與大六壬、太乙神數並稱三式。為中國神秘學中預測學的一個特有門類。乃利用洛書軌跡,九宮八卦以及五行相生相剋的道理,來預測地理方向的優劣,進而規劃一個人的行程,最終達到對自己最有利的目的,為算命相術所兼用。奇門遁甲以乙、丙、丁稱為三奇;以開、休、生、傷、杜、景、驚、死稱為八門,故名「奇門」。天干中「甲」最尊貴而不顯露,六甲(甲子、甲戌、甲申、甲午、甲辰、甲寅)常隱藏於「戊、己、庚、辛、壬、癸」六儀之內,三奇、六儀分布九宮,而甲不獨占一宮,故名「遁甲」。在古代民間流傳只有帝王附近如軍師、欽天監、國師等重要大臣才通曉奇門遁甲之術。

Qimen 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.

Qimen 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.

2. 安裝套件 Installation

	pip install kinqimen

3. 起課方式 Quickstart

	from kinqimen import kinqimen
	kinqimen.Qimen(year, month, day, hour).pan()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kinqimen, version 0.0.2.6
Filename, size File type Python version Upload date Hashes
Filename, size kinqimen-0.0.2.6-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kinqimen-0.0.2.6.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page