lunardate is a Chinese Calendar Library implemented purely in Python. It provides functionalities to convert between solar and lunar dates, handle leap months, and perform date arithmetic. The library is currently at version 0.2.2 and sees infrequent but consistent updates, with recent fixes and year range extensions.
pip install lunardateVerified import paths — ran on the pinned version, not inferred.
Demonstrates converting between solar and lunar dates, getting the current lunar date, and checking for leap months.
Ensure that all solar and lunar dates used with the library fall within the 1900-2099 range. Consider alternative libraries for dates outside this range.
Upgrade to version 0.2.0 or newer to utilize the extended year range (up to 2099).
Always use the latest stable version (0.2.2 or newer) to benefit from bug fixes and ensure accuracy for specific dates and operations.
Review the GPLv3 license terms to confirm compatibility with your project's legal requirements.
Ensure that all dates used with the lunardate library fall within the 1900-2099 range. For dates outside this range, consider using an alternative library.
Ensure the lunardate library is installed using 'pip install lunardate', and import it correctly: 'from lunardate import LunarDate'.
Convert 'LunarDate' to 'datetime.date' using 'toSolarDate()' before performing arithmetic operations.
Ensure the solar or lunar date you are trying to convert or create falls within the library's supported range (1900-2100 by default).
Install the library using pip: `pip install lunardate`
No dependency data recorded yet.