{ "info": { "author": "Kang Seonghoon", "author_email": "someone@mearie.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python :: 2" ], "description": "Transdate provides a ``lunardate`` class, which interface is compatible to a built-in ``datetime.date`` but supports additional methods for the Asian lunisolar calendar.\r\n\r\nInterface summary:\r\n\r\n* ``lunardate.fromsolardate(date)`` class method and ``tosolardate()`` method converts a solar date to a lunar date and vice versa.\r\n* ``lunaryear``, ``lunarmonth``, ``lunarday`` properties are direct analogues to ``year``, ``month``, ``day``.\r\n* ``lunerleap`` property returns True when the month is intercalary. For example, April 2012 was followed by *intercalary* April 2012, and then May 2012. Therefore this additional month will be marked via ``lunarleap`` property.\r\n* ``strftime`` method is extended to support ``%LY``/``%LC``/``%Ly``/``%Lm``/``%Ld``/``%Le``/``%Lj`` sequences, which are analogous to ``%Y``/``%C``/``%y``/``%m``/``%d``/``%e``/``%j`` sequences respectively.\r\n\r\nThe dataset is derived from `Korea Astronomy and Space Science Institute `_, and covers from January 1881 to December 2050 (in the lunar date). **Warning:** Various Asian countries use slightly different rules to determine intercalary months, however, so these rules may diverge from each other. The first known date affected by this divergence is July 2033, and thereafter only the Korean rule applies.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://mearie.org/projects/transdate/", "keywords": "lunar, lunisolar, calendar", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "transdate", "package_url": "https://pypi.org/project/transdate/", "platform": "", "project_url": "https://pypi.org/project/transdate/", "project_urls": { "Homepage": "http://mearie.org/projects/transdate/" }, "release_url": "https://pypi.org/project/transdate/1.1.1/", "requires_dist": null, "requires_python": null, "summary": "Python implementation of Asian lunisolar calendar", "version": "1.1.1" }, "last_serial": 800876, "releases": { "1.1.1": [ { "comment_text": "", "digests": { "md5": "ec15374c4b1f3ab58674855824ff84a1", "sha256": "47549cd5d35a60551085e955a336faa956c43193d59c691c9a6d421b103f7c05" }, "downloads": -1, "filename": "transdate-1.1.1.tar.gz", "has_sig": false, "md5_digest": "ec15374c4b1f3ab58674855824ff84a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17480, "upload_time": "2012-06-17T16:25:29", "url": "https://files.pythonhosted.org/packages/ef/1b/b765bb9fa4420ae23c262cf0599859383b01cf6bf57f522d5af520833013/transdate-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec15374c4b1f3ab58674855824ff84a1", "sha256": "47549cd5d35a60551085e955a336faa956c43193d59c691c9a6d421b103f7c05" }, "downloads": -1, "filename": "transdate-1.1.1.tar.gz", "has_sig": false, "md5_digest": "ec15374c4b1f3ab58674855824ff84a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17480, "upload_time": "2012-06-17T16:25:29", "url": "https://files.pythonhosted.org/packages/ef/1b/b765bb9fa4420ae23c262cf0599859383b01cf6bf57f522d5af520833013/transdate-1.1.1.tar.gz" } ] }