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.0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

baher_hasab-1.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: baher_hasab-1.0.2.tar.gz
  • Upload date:
  • Size: 3.0 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.0.2.tar.gz
Algorithm Hash digest
SHA256 8928f12da852b31259d4689840b746b0d0cb1867af6b4c76b047a43decc0b200
MD5 ca45186ecac9a9573485a6c7bb58339f
BLAKE2b-256 61702f86bfd084e1363f8a79b5b8a20da25f860cb43ae701ba2ffc0bb53370b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: baher_hasab-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 067c123c6c166809df62096ccbec56847f1f0a614d2946722ea1096d424673c9
MD5 45dd77527af9096b04dde83e863d0823
BLAKE2b-256 167c833cd70c19ecc67ea35f822774c18aaaa58a758a940d19cb51e18ca24f86

See more details on using hashes here.

Supported by

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