File: test.py

package info (click to toggle)
python-holidays 0.9.9-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 520 kB
  • sloc: python: 6,696; makefile: 5
file content (7 lines) | stat: -rwxr-xr-x 136 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
#!/usr/bin/python3

import holidays
import sys

us_holidays = holidays.US()
sys.exit(us_holidays.get('2014-01-01') != "New Year's Day")