holidays_co
Portado a módulo de Python desde colombia-holidays
Días festivos no laborables en Colombia. Calculados con base en la ley 51 de 1983
Última vez modificado: 2026-07-07
Desde: 2019-06-29
Version: 1.1.1
Autor: Javier Mejía <jmjaviermejiaest@gmail.com>
Instalación
$ pip install holidays_co
Ejemplo
import holidays_co
holidays = holidays_co.get_colombia_holidays_by_year(2019)
o
from holidays_co import get_colombia_holidays_by_year
holidays = get_colombia_holidays_by_year(2019)
Métodos disponibles
-
get_colombia_holidays_by_year(year): Devuelve la lista de festivos no laborables en Colombia para un año
Input:
type(int)
Output:list(Holiday(date=datetime.date, celebration=str)) -
is_holiday_date(date): Returna
True, si la fecha ingresada corresponde a un día festivo,Falseen caso contrario.
Input:type(date)
Output:type(bool)
Metadata
Release files for holidays-co 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| holidays_co-1.1.1.tar.gz | 15.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| holidays_co-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.6 kB
Release files / holidays_co-1.1.1.tar.gz
| Download URL | holidays_co-1.1.1.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcd968a106e75e7ea0f8c42069ded657e96b536495e484bb80e7f6ad1b948946
|
|
BLAKE2b-256 checksum How to use checksums |
e5a005a211b6e4e6d09b43871acd4f696d28f9200660e2f99e406db37ae115e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / holidays_co-1.1.1-py3-none-any.whl
| Download URL | holidays_co-1.1.1-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb0a746a538daf1d3378925f5ec4b6782a0ca28e052dece43292d1390aad31e2
|
|
BLAKE2b-256 checksum How to use checksums |
03888a3f2e5b86e9b839533d11ccb9995355e68d242424a6f6f17d0b8135142e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|