Gormanian
Gormanian Calendar Calculator/Converter
What is it?
Put simply, it is a library to calculate an alternative date structure based on the comedic sketch of Dave Gorman. In an episode of 'Modern Life is Goodish', Dave Gorman proposed a new calendar format to replace the existing Gregorian calendar. In particular, he takes umbridge at the fact that the length of a month varies, when all other units of time are fixed and identical.
You can watch the video in question here on Dave Gorman's official YouTube channel.
But why?
Why not? I happen to agree with the calendar, and decided to write this for a laugh.
How to Use
To convert the current date
import gormanian
response = gormanian.now()
print(response.as_string)
To convert a specific date
Use the standard datetime format for any given date.
from datetime import datetime
import gormanian
response = gormanian.convert(datetime(2000, 12, 1))
print(response.as_string)
ISO-8601 format:
You can also retrieve the date in ISO-8601 basic format.
from datetime import datetime
import gormanian
response = gormanian.convert(datetime(2000, 12, 31))
print(response.isoformat)
Release files for gormanian 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gormanian-0.0.7.tar.gz | 3.0 kB | Details |
Release files / gormanian-0.0.7.tar.gz
| Download URL | gormanian-0.0.7.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5745ad0ded4cf0eadb50fc82332fc500837cfc106e5b53e1bcaf3ed00beeb30
|
|
BLAKE2b-256 checksum How to use checksums |
943ed8f788194381193002eb52827e7f0c3c46dbf867824483ba7d73d6015c89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0
|