Al-adhan

Latest version: v0.1.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

4.1.0alpha

Added custom exceptions especially for the following return codes:

- 400 Bad Request error: `BadRequestException`
- 429 Rate limited error: `RateLimitedException`
- 500 Internal Server error: `ServerErrorException`

They're avaialble in the `aladhan.exceptions`, could be directly imported from the `aladhan` module.

- New Wiki page: [Exception Handling](https://www.github.com/Kh4lidMD/AlAdhan/wiki/Exception-Handling)

_Started to save a copy of the Wiki pages in every release._

4.0.0alpha

- Removed the `get_prayer_times` method, replaced with `get_today_times`, `get_calendar_times`, and `get_annual_times` methods.
- Fixed missing usage of `year` and `month` arguments in the calendar method.
- Added `callback` and `threaded_wait` arguments to the `Adhan.wait` method.
- Better code structure.
- These Wiki pages have been updated:
- [Get Prayer Times](https://www.github.com/Kh4lidMD/AlAdhan/wiki/Get-Prayer-Times)
- [Adhan Object](https://www.github.com/Kh4lidMD/AlAdhan/wiki/Adhan-Object)

3.0.0alpha

- Changed `get_calendar` name to `get_prayer_times`.
- Added `today_only` parameter to `get_prayer_times`.
- Folder documentation removed.
- New better documentation hosted in the repository [Wiki](https://www.github.com/Kh4lidMD/AlAdhan/wiki).
- All `aladhan.location_types` objects are now available in the main import directly (e.g. `aladhan.location_types.City`_could_ be `aladhan.City`).
- Removed `ValueError` when only one of the year or month parameters is passed to `get_prayer_times`. Because the API does not return an error when one of them is missing.

2.2.0alpha

- Added rakat method for the Adhan object, returns the number of rakat in salah.
- New Documentation

2.0.1alpha

- Fixed import error (renamed `aladhan/location.py` to `aladhan/location_types.py`

2.0.0alpha

- Changed PIP installation to `aladhan-api`

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.