Based on nequibc /colombia-holidays and adapted to use as a python module to return the list of holidays existing on a determined year in Colombia.
It also returns a boolean that indicates if today is a holiday.
pip install colombiaHolidays
You can import the package and call each one of the following methods depending on your need. To import the functions import the package this way
from colombiaHolidays import holidays
Then you can run any function by using
holidays.<function_name>
Returns a list of holidays existing on a determined year in Colombia between 1970 and 99999, and each holiday has the following structure:
{
'holiday': '2021-01-01',
'celebrationDay': '2021-01-01',
'celebration': 'Año Nuevo'
}
Returns a boolean (True or False) that indicates whether is this day a holiday or not.
Oscar Cely - oscarcej@gmail.com