Convert from the current or given Gregorian date to Absalom Reckoning from Paizo's Pathfinder RPG
Project description
Absalom Reckoning Converter
Evan Young 2025
Copyright Note
This library uses trademarks and/or copyrights owned by Paizo Inc., used under Paizo's Fan Content Policy (paizo.com/licenses/fancontent). This library is not published, endorsed, or specifically approved by Paizo. For more information about Paizo Inc. and Paizo products, visit paizo.com.
Project Description
The Absalom Reckoning is a calendar used in the Pathfinder Roleplaying Game.
A quick little project that I am making into my first deployed package on pypi. It converts standard dates into the Absalom Reckoning Calendar used in the Pathfinder Roleplaying Game.
ArDate Attributes
month: Full month name in AR calendar (e.g. "Erastus")monthShort: Abbreviated month name (e.g. "Era")commonMonth: Common folk month name (e.g. "Fletch")day: Day of the month (1-31)year: Year in AR calendarweekday: Full weekday name (e.g. "Moonday")weekdayShort: Abbreviated weekday name (e.g. "Moon")weekdayNum: Day of week number (1-7, starts with Moonday)monthNum: Month number (1-12)season: Current season (Winter, Spring, Summer, Fall)
Methods
convert(): Converts a datetime object into an ArDate objectshort_date(): Returns date in format "Era 10, 4723"long_date(): Returns date in format "Erastus 10, 4723"weekday_date(): Returns date in format "Moonday Erastus 10, 4723"common_long_month(): Returns date with common month in format "Fletch 10, 4723"month_season(): Returns current season as string
Installation
pip install arconverter
Or with uv:
uv tool install arconverter
Usage
from datetime import datetime
from arconverter import convert
# Convert a date to Absalom Reckoning
ar_date = convert(datetime(2023, 7, 10))
# Print the date in various formats
print(ar_date.long_date()) # "Erastus 10, 4723"
print(ar_date.short_date()) # "Era 10, 4723"
print(ar_date.weekday_date()) # "Moonday Erastus 10, 4723"
print(ar_date.common_long_month())# "Fletch 10, 4723"
print(ar_date.month_season()) # "Summer"
Ω
Development (with uv)
# Create and sync a dev environment
uv sync --all-extras --dev
# Run tests
uv run pytest
# Lint
uv run ruff check .
# Run the CLI
uv run arconverter
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file absalomreckoningconverter-1.0.1.tar.gz.
File metadata
- Download URL: absalomreckoningconverter-1.0.1.tar.gz
- Upload date:
- Size: 108.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
692947e6f4f7f3c16b3e2ff5f45a78e1e2df430ad243f19785224b67e0ca657f
|
|
| MD5 |
4d6cf2739b10755e67e72be421e6c796
|
|
| BLAKE2b-256 |
8abac129f6914f09d8f9e6d01953bb50f8559c9783adbd38936a500da28cb9f8
|
File details
Details for the file absalomreckoningconverter-1.0.1-py3-none-any.whl.
File metadata
- Download URL: absalomreckoningconverter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04aa528d8c0109cd03d746d875a32ecca87f482807dc71f5baed1c4531107eb0
|
|
| MD5 |
f3b999b9d5fe422a53b43ec8a1457ffd
|
|
| BLAKE2b-256 |
95eefb01426e9fc5bcacb17da68a1e1dd9f4f79928442572e8508487e6db54bf
|