Skip to content

python library for calculating prayertimes and qibla direction.

License

Notifications You must be signed in to change notification settings

xmonader/prayertime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prayertime

python library for calculating prayertimes and qibla direction.

Example

pt = Prayertime(31.2599, 30.0599, 2, 2010, 8, 6, Calendar.EgyptianGeneralAuthorityOfSurvey, Mazhab.Default, Season.Summer)
print(pt.get_qibla())
pt.calculate()
pt.report()
    

API

  • To initialize prayertime object, you need to passlongitude, latitude, zone, year, month, day, calendar, mazhab ,season
  • Seasons (Summer, Winter)
  • Mazhab (Default, Hanafy)
  • Calendar (UmmAlQuraUniv, EgyptianGeneralAuthorityOfSurvey UnivOfIslamicSciencesKarachi, IslamicSocietyOfNorthAmerica)

About

python library for calculating prayertimes and qibla direction.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages