8000 GitHub - warmb2009/sxtwl_swig_py: 使用swig封装的cpp版本sxtwl寿星天文历【部分】 Python
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

使用swig封装的cpp版本sxtwl寿星天文历【部分】 Python

Notifications You must be signed in to change notification settings

warmb2009/sxtwl_swig_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sxtwl 寿星天文历 python扩展

原作者:许建伟先生(福建莆田第十中学),<天文算法>译者.

许建伟先生根据天文算法推算农历,提供了精准的农历年历表,将古代真实日历推算到公元前104年(与实历相符),公元前104年以前及1960年以后的农历使用现代算法.

由于原程序使用js编码,中华农历论坛的坛友lifulinghan [github] 根据js代码实现了c++版本.

为了使用方便,我就将c++版本封装为python版.需要安装[swig]

  • 使用方法:
swig -python -c++ sxtwl.i

python setup.py install

About

使用swig封装的cpp版本sxtwl寿星天文历【部分】 Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0