npm_calmarendian_date is a Python package that provides a CalmarendianDate
class for the Calendar of Lorelei in the same way the Python Standard Library provides a date
class for the Gregorian Calendar.
The planet of Calmarendi takes, from the perspective of an observer from Earth, seven years to orbit its star. The Calendar of Lorelei, which divides this orbital period into seven seasons of fifty weeks of seven days (plus a few days added on to keep everything lined up) is what Calmarendians use to keep track of time.
The source code is hosted on GitHub at: https://github.com/natashamoorfield/npm_calmarendian_date
Binary installers for the latest released version are available at the Python Package Index (PyPI).
We strongly recommend installing our packages in a virtual environment rather than cluttering up your system's Python installation with all this junk.
pip install npm-calmarendian-date
Do not install any versions prior to 0.3.0; they are broken. If you already have an earlier version installed, upgrade using:
pip install --upgrade npm-calmarendian-date
This simple example:
from npm_calmarendian_date import CalmarendianDate
d = CalmarendianDate.from_date_string('777-7-07-7')
print(d.colloquial_date())
will output:
Sunday, Week 7 of Onset 777
Full documentation awaited.
npm_calmarendian_date
has been tested with Python 3.8, 3.9 and 3.10.
It has no other dependencies.