Metadata-Version: 2.4
Name: hebrewdate
Version: 1.0.0
Summary: A Python package for handling Hebrew dates
Project-URL: Homepage, https://github.com/Isaac-D20/hebrewdate
Project-URL: Bug Tracker, https://github.com/Isaac-D20/hebrewdate/issues
Author-email: Isaac Dovolsky <yidovolsky2@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# hebrewdate
Python module for handling Hebrew dates

This module provides classes and functions for handling Hebrew calendar dates and conversions.

It offers four main classes:

- ``HebrewDate``: Represents a specific date in the Hebrew calendar, with support for conversions
  to/from Gregorian dates, manipulation of dates (e.g., adding or subtracting days, months, or years),
  and various date-related attributes such as day, month, year, and weekday in the Hebrew calendar.
- ``HebrewYear``: Represents a Hebrew year, managing leap year calculations, month lengths, and
  determining the first weekday of the year.
- ``HebrewCalendar``: Extends the standard Calendar class to provide Hebrew calendar functionality,
  including methods for iterating over month days and converting between Hebrew and Gregorian dates.
- ``HTMLHebrewCalendar``: Provides HTML formatting of Hebrew calendar data with support for both
  Hebrew and Gregorian date display, custom CSS styling, and RTL formatting.

Key Features:
- Conversion between Hebrew and Gregorian dates.
- Computation of weekdays, month lengths, and leap years for Hebrew dates.
- Operations for date arithmetic, such as adding and subtracting days, months, and years.
- Methods for obtaining today's Hebrew date or constructing a Hebrew date from a Gregorian date.
- Calendar iteration and formatting for Hebrew dates in HTML format.
- Right-to-left (RTL) HTML calendar display with optional Gregorian date annotations.
- Customizable CSS styling for calendar presentation.
- Support for generating complete calendar pages for months and years.

Note:
This module supports accurate conversions for Hebrew dates corresponding to Gregorian dates on or after the year 1752.
For earlier dates, calculations may have inaccuracies due to historical and calendar system variations.

Author: Isaac Dovolsky
Created: 2025
