Skip to main content

GaianCalendar

A pure-Python library for the Gaian Calendar — a perpetual 13-month solar calendar based on ISO week-year arithmetic.

from gaian_calendar import GaianDate

today = GaianDate.today()
print(today)                    # e.g. "Aquarius 22, 12026 GE"
print(today.day_of_year)        # e.g. 78
print(today.is_leap_year)       # True
print(today.format("WWWW, MMMM d, yyyy GE"))  # "Sunday, Aquarius 22, 12026 GE"

Status

Pre-release — planning phase. See planning/ for design documents.


What is the Gaian Calendar?

The Gaian Calendar is a perpetual reform calendar with these properties:

  • 13 regular months of exactly 28 days (4 weeks × 7 days), named after zodiac constellations
  • 1 intercalary month (Horus, 7 days) in leap years only — years with ISO week 53
  • Perpetual: every calendar date always falls on the same weekday, every year
  • Year numbering: Gaian year = ISO week-year + 10,000 (so 2026 CE = 12026 GE)
  • Zero weekday drift: recurring events stay on the same day of week indefinitely

The 13 months in order: Sagittarius · Capricorn · Aquarius · Pisces · Aries · Taurus · Gemini · Cancer · Leo · Virgo · Libra · Scorpius · Ophiuchus · (Horus in leap years)


Installation

pip install gaian-calendar

(Not yet published — coming soon)


Usage

from datetime import date, timedelta
from gaian_calendar import GaianDate, GaianMonth, is_leap_year

# Today
d = GaianDate.today()

# From Gregorian
d = GaianDate.from_gregorian(date(2026, 2, 22))
print(d)                  # "Aquarius 22, 12026 GE"
print(d.to_gregorian())   # 2026-02-22

# Properties
print(d.year)             # 12026
print(d.month)            # 3
print(d.day)              # 22
print(d.month_name)       # "Aquarius"
print(d.month_symbol)     # "♒"
print(d.weekday_name)     # "Sunday"
print(d.weekday_symbol)   # "☉"
print(d.day_of_year)      # 78
print(d.is_leap_year)     # True

# Arithmetic
next_week = d + timedelta(weeks=1)
yesterday = d - timedelta(days=1)
delta = d - GaianDate(12026, 1, 1)   # timedelta

# Parsing
d = GaianDate.parse("Aquarius 22, 12026")
d = GaianDate.parse("12026-03-22")
d = GaianDate.parse("3/22/12026")

# Formatting
d.format("MMMM d, yyyy GE")          # "Aquarius 22, 12026 GE"
d.format("MMM* DDD")                 # "♒ 078"
d.format("yyyy-MM-dd")               # "12026-03-22"
d.format("ddd")                      # "22nd"

# Leap year check
is_leap_year(12026)    # True
is_leap_year(12025)    # False

# Month info
from gaian_calendar import GaianMonth
m = GaianMonth.AQUARIUS
print(m.symbol)    # "♒"
print(m.element)   # "Air"

Similar Libraries

This library is modeled after:


License

MIT

Metadata

Release files for GaianCalendar 0.1.0

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

Source distribution (sdist)

Source distribution for GaianCalendar 0.1.0
File Size Uploaded
gaiancalendar-0.1.0.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GaianCalendar 0.1.0
File Interpreter ABI Platform
gaiancalendar-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.0 kB

Release files / gaiancalendar-0.1.0.tar.gz

Download URL gaiancalendar-0.1.0.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5dbae956bfa89bcab79c85bd0851e8cd17b2f34e1ba0b471552906da3f649d4b
BLAKE2b-256 checksum
How to use checksums
c3838b07bfe7d7fd0815ed5c9bd8607421b85e55f5deaa69ee29d0447ff5b6ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2026.

Transparency log

Release files / gaiancalendar-0.1.0-py3-none-any.whl

Download URL gaiancalendar-0.1.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a95e8463d6881dce91c38d6414547efd0d5bb423647f7d2476918a445ec2c98b
BLAKE2b-256 checksum
How to use checksums
1bb908747201ab828467b13027337b7aa4d18994baaf2a7968fd04b997970f9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 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