BSD Ports

devel/py-holidays 0.9.12_2 DragonFly

Generate country, province, and state specific holiday sets on the fly

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
86.3 KiB, 721.0 KiB installed

Description

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

In the other systems

SystemPortVersion
DragonFlydevel/py-holidays0.9.12_2
FreeBSDdevel/py-holidays0.9.12_2
OpenBSDdevel/py-holidays0.106
HardenedBSDdevel/py-holidays0.9.12_2
GhostBSDdevel/py-holidays0.9.12_2

Install

Binary package:

pkg install py311-holidays

From DPorts:

cd /usr/dports/devel/py-holidays && make install clean

Dependencies

Run dependencies 1

No port depends on this one.