This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Transdate provides a lunardate class, which interface is compatible to a built-in but supports additional methods for the Asian lunisolar calendar.

Interface summary:

  • lunardate.fromsolardate(date) class method and tosolardate() method converts a solar date to a lunar date and vice versa.
  • lunaryear, lunarmonth, lunarday properties are direct analogues to year, month, day.
  • 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.
  • 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.

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

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
transdate-1.1.1.tar.gz (17.5 kB) Copy SHA256 Checksum SHA256 Source Jun 17, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting