Skip to content

aladhan.py 1.0.0

Choose a tag to compare

@HETHAT HETHAT released this 30 Jul 18:46
· 54 commits to main since this release

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