Custom Corporate Holidays with holidays package
pypi.org·18h·
Discuss: DEV
Flag this post

I am currently working on a newish personal project. My plan is to create a Python version of a Google Script app
that I am running. I wanted to find a way to determine if a given date is a national holiday. This requires taking into account that National Holidays that fall on a Sunday are moved to the following Monday or to
Tuesday if Monday is already a National Holiday. I also needed to support adding Company holidays. This is important as
it impacts some calculations. Enter the Python package: holidays

The Challenge

I needed to find a way that would allow me to check if a given date was a national holiday in Japan, and also provide support for additional cor...

Similar Posts

Loading similar posts...