Skip to main content

A python package for calculating Ethiopian holidays and fasting seasons

Project description

About

Overview

Ethiopia has its own ancient calendar based on the system called Baher Hasab - ባሕረ ሃሳብ which means the Sea of Ideas. Baher Hasab also known as Abushakir is a chronological system used for calculating the times of festivals and the beginning and ending of the fasting days throughout the year.

The baher_hasab is a Python package that simplifies the process of working with the Baher Hasab (also known as Abushakir) calendar. This package provides a set of tools and functions to help users easily calculate the dates of festivals and the beginning and ending of fasting days throughout the year.

Key Features

  • Calendar Conversion: Easily convert between the Gregorian calendar and the Ethiopian calendar.
  • Festival Calculations: Automatically determine the dates of major festivals and holidays based on the Baher Hasab calculations.
  • Fasting Day Tracking: Effortlessly track the start and end dates of fasting periods throughout the year.

Installation

To install the package, you can use pip:

pip install baher_hasab

Usage

Here's a simple example of how to use the package:

from baher_hasab import BaherHasab

# Create a Bahire Hasab instance
bh = BaherHasab(given_year=2016)

# Get the date of a specific festival
event_date = bh.get_event_date('hudade')
print(event_date) # Outputs Megabit 2

Contribution

Contributions to the baher_hasab package are welcome! If you encounter any issues or have suggestions for new features, please feel free to open an issue or submit a pull request on the GitHub repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

baher_hasab-1.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

baher_hasab-1.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file baher_hasab-1.1.0.tar.gz.

File metadata

  • Download URL: baher_hasab-1.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for baher_hasab-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1d27cd68c001857d17c2d5389620d16c2ab3db36d33e6f7fd3fc559e96fe239f
MD5 c7affb18a29e8e05a505aa451b842deb
BLAKE2b-256 4fc7917a136f3c90b3481d30b72cedbca3dc0734da1a91ead4448bec7a6b4bbf

See more details on using hashes here.

File details

Details for the file baher_hasab-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: baher_hasab-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for baher_hasab-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f792da88740d0cb04306bb8ce7fbcfa033bf4cbd05206cf28e617c066b69cb5
MD5 76534265ac712d88f2c7e0e94cedbf18
BLAKE2b-256 257ad422de73e1271cc8c8da837fc127d0ac7d3b9d95c49732666475dab6b3a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page