Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

npm_calmarendian_date-0.3.0.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npm_calmarendian_date-0.3.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file npm_calmarendian_date-0.3.0.tar.gz.

File metadata

  • Download URL: npm_calmarendian_date-0.3.0.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for npm_calmarendian_date-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3a4ea38b55fe18d068092e1cb1ac7f7b8a1d17d0e3b95127aa7c507b3bca8af7
MD5 29bb8ad2d17f24b2044352dc82a5e101
BLAKE2b-256 2c3d291e371d2566eb4158e0b4bdbcfe5a781bd6c1bab140dbb1a5b8148d5345

See more details on using hashes here.

File details

Details for the file npm_calmarendian_date-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for npm_calmarendian_date-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaa98c53002bb264299f0f063c3f9c9912dfd26956ce2a005fa9bfbf5e327a4f
MD5 37110bdfb4af66ce1bad22b8c84c5f9a
BLAKE2b-256 dddbd4155c2cc7ed0dc0c34e337db2f8ec0a7a0e52f4485df7cec59d2175d97f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page