Mdate is a commandline Mayan date utility. It is designed for simple use and features a clean API for use in other projects.