{"repo":"OPN48/cnlunar","free":true,"listed":false,"github":"https://github.com/OPN48/cnlunar","clone":"git clone https://github.com/OPN48/cnlunar.git","description":"农历，中国农历历法项目，无需数据库环境，以《钦定协纪辨方书》为核心的python3 农历、黄历、二十四节气、节假日、星次、每日凶煞、每日值神、农历建除十二神、农历每日宜忌、彭祖百忌、每日五行、二十八星宿、天干地支、农历生辰八字、时辰凶吉等开源项目。","language":"Python","stars":827,"topics":["lunarcalendar","lunar","python","calendar","python3","cnlunar","chinese-lunar-calendar"],"license":"MIT","category":"productivity","readme_excerpt":"cnlunar 项目优点 1、不使用寿星通式[Y D+C]-L，而使用香港天文台数据（阴阳合历，节气准农历日期才能准） 2、无数据库，依赖库少，运行快速，提供内容丰富 3、主要内容来自于《钦定协纪辨方书》，每一个神煞宜忌都有依据，遵循宜忌等第表，包含民用、御用事宜，且支持港式（通书配图）八字月柱算法-默认，通书原文文字农历月份算法，具体看demo.py 4、不盈利，开源免费，长期有人维护 5、民俗社会科学项目，不搞封建迷信，宜忌意义在于民间是将红白事合理分开，避免今日您宴请宾客，邻居办白事情况出现，引起邻里纠纷社会分裂。 特别鸣谢 contributor @zither (https://github.com/zither) issues/54 55 @DarkmoonRabbit (https://github.com/DarkmoonRabbit) @JeremyYoungCai (https://github.com/JeremyYoungCai) issues/37 @kingsoen (https://github.com/kingsoen) issues/40 @Sonic853 (https://github.com/Sonic853) issues/41 @IcyTide (https://github.com/IcyTide) issues/53 其他与本项目关联项目： @zither 的 Flutter 离线版 https://github.com/zither/rishu @zither 的 js版本 https://github.com/zither/cnlunar-js @m11v 的 Dart/Flutter版本 https://github.com/m11v/chinese lunar calendar @Crazydear 的kotlin版本 https://github.com/Crazydear/Android-Project/tree/main/cnLunar @jymusic0663 的 flask 版本 https://github.com/jymusic0663/cnlunar/ @Sonic853 的 C# VRChat 版本 https://github.com/Sonic853/UdonCnLunar 使用本开源项目的相关产品： 协纪·日书 https://rishu.pages.dev/ 翻黄历 https://www.fanhuangli.com/ 万年历-最新专业桌面老黄‪历 https://apps.apple.com/cn/app/id1555822960 其他优秀的无依赖农历项目： @6tail 的 https://github.com/6tail/lunar-python 快速上手 一、序言 历法是基于人们生产活动需要，依据太阳、月亮等天象而制订计算时间的方法，根据月亮的周期变化所订立的历法称为阴历，根据太阳在不同季节的位置的周期变化所订立的历法称为阳历。 因为月亮的周期变化较短，观测方式较为简单，所以阴历在世界各地普遍比阳历更早出现，比如我国的上古六历：黄帝历、夏历、殷历、周历、鲁历、颛顼历，古希腊的希腊历等。大约公元前104年至84年，以农耕文化为主的中国西汉，汉武帝刘彻责成邓平、唐都、落下闳等人编写了《太初历》，中国农历经历了第一次重大改革，引入二十四节气正式成为阴阳合历，历法在中国也成为了一门较为独立的科学技术。与之同一时期，公元前46年，罗马统帅凯撒大帝（Gaius Jul","default_branch":null,"files":null,"tree":[],"storefront":"/r/OPN48","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OPN48/cnlunar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}