Skip to main content

Absalom Reckoning Converter

Python Version PyPI version License Downloads 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 calendar
  • weekday: 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 object
  • short_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

Metadata

Release files for AbsalomReckoningConverter 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AbsalomReckoningConverter 1.0.1
File Size Uploaded
absalomreckoningconverter-1.0.1.tar.gz 108.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AbsalomReckoningConverter 1.0.1
File Interpreter ABI Platform
absalomreckoningconverter-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 116.5 kB

Release files / absalomreckoningconverter-1.0.1.tar.gz

Download URL absalomreckoningconverter-1.0.1.tar.gz
Size 108.9 kB
Tags Source
SHA-256 checksum
How to use checksums
692947e6f4f7f3c16b3e2ff5f45a78e1e2df430ad243f19785224b67e0ca657f
BLAKE2b-256 checksum
How to use checksums
8abac129f6914f09d8f9e6d01953bb50f8559c9783adbd38936a500da28cb9f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / absalomreckoningconverter-1.0.1-py3-none-any.whl

Download URL absalomreckoningconverter-1.0.1-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04aa528d8c0109cd03d746d875a32ecca87f482807dc71f5baed1c4531107eb0
BLAKE2b-256 checksum
How to use checksums
95eefb01426e9fc5bcacb17da68a1e1dd9f4f79928442572e8508487e6db54bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page