A Python module for calculating Faerunian date information based on the Gregorian calendar.
Project description
Faerunian Date Calculator
A Python module for calculating Faerunian date information based on the Gregorian calendar.
Overview
This Python module provides a functionality to calculate various Faerunian date-related information based on a given date or the current date in the Gregorian calendar. It includes information such as the Faerunian date, name, description, and additional year differences.
Installation
Use pip
to install faeruniancalendar
.
pip install faeruniancalendar
Usage
Once installed import the module and use get_raw_farray
. This is currently the only active function. It will return a
data dictionary. See the examples below.
Usage
import faeruniancalendar
print(faeruniancalendar.get_raw_farray('1988-01-24'))
Output
{'g_date': 24, 'f_special': None, 'f_month_name': 'Hammer', 'f_month_desc': 'Deepwinter', 'f_tenday': 3,'f_day_of_week': 4, 'f_day': 24, 'f_short_format': '24 Hammer', 'f_long_format': 'the 24th of Hammer', 'f_poetic_long': 'the 24th of Deepwinter', 'events': [], 'dr_year': 1730, 'cr_year': 1705, 'nr_year': 698, 'wy_year': 2818}
License
This software is distributed under the MIT License. You are free to use, modify, and distribute it according to the terms and conditions of the license.
Development Status
This software is currently in development and is not yet ready for production use. Please be aware of potential changes and updates as development progresses.
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
File details
Details for the file faeruniancalendar-1.0.0.tar.gz
.
File metadata
- Download URL: faeruniancalendar-1.0.0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b5176a3b33781d945ac5c708497dfc685f99c5a3974ddf5597350ff2700f5fb |
|
MD5 | bd5c859706330a41324e84b2391270d9 |
|
BLAKE2b-256 | e7b5a7ee2c534fa959f5d9db595cb8073676eb70437229f9857443c2e37db9ae |
File details
Details for the file faeruniancalendar-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: faeruniancalendar-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53d878d5cfb948a48833bc10aaf71c68733f24fae24eba3e4901108180fa5bf |
|
MD5 | 2ea3521f2e44c2dd76722a16f57bdf39 |
|
BLAKE2b-256 | 52da80b3c16952d34e2fe7109b336eb4a8d20027155d5696c8bf19ac34656204 |