Skip to content

Releases: HETHAT/aladhan.py

aladhan.py v1.2.2

01 Apr 19:58

Choose a tag to compare

aladhan.py 1.2.2

Changelog

Fix errors after an api change by adding:

  • DateType.lunarSighting
  • DateType.adjustedHolidays
  • DateType.method

Full Changelog: v1.2.1...v1.2.2

Links

aladhan.py v1.2.1

19 Apr 04:20

Choose a tag to compare

aladhan.py 1.2.1

Changelog

Changed

  • Fix Prayer.time_utc
  • Fix times being one day behind.
  • Fix Client.get_next_prayer
  • Fix Client.get_islamic_holidays

Removed

  • Remove Prayer.remaining_utc
  • Remove syntax highlighting

Full Changelog: v1.2.0...v1.2.1

Links

aladhan.py v1.2.0

27 Aug 16:51

Choose a tag to compare

aladhan.py 1.2.0

Changelog

Added

  • Covered current event endpoints.
    • Client.get_current_time
    • Client.get_current_date
    • Client.get_current_timestamp
    • Client.get_current_islamic_year
    • Client.get_current_islamic_month
  • Covered holidays endpoints.
    • Client.get_next_hijri_holiday
    • Client.get_hijri_holidays
    • Client.get_islamic_holidays
  • Covered info endpoints
    • Client.get_status
    • Client.get_special_days
    • Client.get_islamic_months
  • Covered next prayer endpoints
    • Client.get_next_prayer_by_address
    • NextPrayerData
  • aladhan.BaseDate
  • aladhan.enums.Shafaq
  • Added a shafaq parameter for Parameters
  • aladhan.exceptions.InvalidShafaq
  • aladhan.exceptions.TooManyRequests
  • Adding the new changes to the api.
    • Timings.first_third
    • Timings.last_third
  • Auto management of rate limits.

Changed

  • Fixed date converters, they were switched around ...
  • Prayer.data is now Union[Data, NextPrayerData]

Removed

  • No longer supports Python v3.6.
  • Prayer.timings

Links

aladhan.py 1.1.0

04 Aug 21:55

Choose a tag to compare

aladhan.py 1.1.0

Changelog

Added

  • Covering more 5 endpoints about date converting
    • Client.get_hijri_from_gregorian
    • Client.get_gregorian_from_hijri
    • Client.get_hijri_calendar_from_gregorian
    • Client.get_gregorian_calendar_from_hijri
    • Client.get_islamic_year_from_gregorian_for_ramadan

Changed

  • The following are now optional
    • Date.data
    • Date.readable
    • Date.timestamp

Links

aladhan.py 1.0.0

30 Jul 18:46

Choose a tag to compare

aladhan.py 1.0.0

Changelog

Added

  • Synchronous usage for the module !
  • __all__ and __slots__ for better performance.
  • Module exceptions.
  • logging is now implemented.
  • Method.params_str a string in "fajr,maghrib,isha" format.

Changed

  • Renamed DefaultArgs to Parameters
    • Renamed Meta.default_args to Meta.parameters
    • Renamed defaults parameter in all getters to params
  • Timings.next_prayer now returns None instead if upcoming prayer wasn't in date. and Its no longer awaitable.
  • Method.params changed to be a property.
  • Schools, MidnightModes, LatitudeAdjustmentMethods are now enums.

Removed

  • AsyncClient. Replaced with Client(is_async=True) instead.

Look into README for more info!

Links

aladhan.py 0.2.0

07 Jul 13:29

Choose a tag to compare

aladhan.py 0.2.0

  • Add method close for AsyncClient
  • Add custom method.
  • Add timezone param for :class:DefaultArgs
  • Add async context manager for AsyncClient
  • Remove beartype.

links

aladhan.py 0.1.4

10 Jun 00:18

Choose a tag to compare

aladhan.py 0.1.4

  • Added Timings.as_dict and __iter__ for Timings.
  • Added __hash__ for the rest of base types.
  • Renamed AsyncClient.__get_res to AsyncClient._get_res.
  • Renamed AsyncClient.__get_timings to AsyncClient._get_timings.

links

aladhan.py 0.1.3

07 May 02:21

Choose a tag to compare

aladhan.py 0.1.3

Whats new ?

  • Added
    • AsyncClient.get_qibla
    • AsyncClient.get_asma
    • AsyncClient.get_all_asma
    • Qibla
    • Ism

links

aladhan.py 0.1.2

02 May 00:59

Choose a tag to compare

aladhan.py 0.1.2

Whats new ?

  • Added

    • Prayer.time_utc Prayer time in utc.
    • Prayer.remaining_utc Remaining time for prayer for utc.
    • Prayer.timings Original Timings obj.
  • Removed

    • Caching
    • AsyncClient.close
  • Fixed

    • RuntimeError Saying event loop is closed.

links

aladhan.py 0.1.1

24 Apr 22:47

Choose a tag to compare

aladhan.py 0.1.1

Whats new ? nothing much just a bug fix.

  • Fixing Timings.next_prayer bug when next prayer is going to be fajr.

links