blob: 9abc8d976e8c1545d4309958663cd43f0b9f0833 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
A fast, efficient Python library for generating country, province and state
specific sets of holidays on the fly. It aims to make determining whether a
specific date is a holiday as fast and flexible as possible.
from datetime import date
import holidays
date(2015, 1, 1) in us_holidays # True
date(2015, 1, 2) in us_holidays # False
WWW: https://github.com/dr-prodigy/python-holidays
|