Slartibartfast
Slartibartfast

Reputation: 1190

Calendar package which accounts for different world regional calendars

Is there a calendar for python which also includes not just Gregorian but also calendars from other region such as Hindu, Chinese and Arabic? Since the market/national holidays of different world market are dependent on their regional calendars. Is there a calendar package which account for differing calendars?

Thanks

Upvotes: 0

Views: 220

Answers (1)

MLavrentyev
MLavrentyev

Reputation: 1969

You might want to look into convertdate which you can install with pip install convertdate. This package provides a bunch of calendars.

For the Chinese calendar, you might find this LunarCalendar package helpful.

The answer to this SO question may also be helpful.

Upvotes: 1

Related Questions