A Date class for the Calendar of Lorelei
Project description
Calmarendian Date
What is It?
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 Calendar of Lorelei
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.
Where to Get It
The source code is hosted on GitHub at: https://github.com/natashamoorfield/npm_calmarendian_date
Installation
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
Usage
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.
Requirements
npm_calmarendian_date
has been tested with Python 3.8, 3.9 and 3.10.
It has no other dependencies.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for npm_calmarendian_date-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4ea38b55fe18d068092e1cb1ac7f7b8a1d17d0e3b95127aa7c507b3bca8af7 |
|
MD5 | 29bb8ad2d17f24b2044352dc82a5e101 |
|
BLAKE2b-256 | 2c3d291e371d2566eb4158e0b4bdbcfe5a781bd6c1bab140dbb1a5b8148d5345 |
Hashes for npm_calmarendian_date-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaa98c53002bb264299f0f063c3f9c9912dfd26956ce2a005fa9bfbf5e327a4f |
|
MD5 | 37110bdfb4af66ce1bad22b8c84c5f9a |
|
BLAKE2b-256 | dddbd4155c2cc7ed0dc0c34e337db2f8ec0a7a0e52f4485df7cec59d2175d97f |