Socket
Socket
Sign inDemoInstall

holidays-co

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

holidays-co

Módulo de utilidades para festivos en Colombia


Maintainers
1

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: 2019-06-30
Desde: 2019-06-29
Version: 0.0.2
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(namedtuple("Holiday", ["date", "celebration"]))

  • is_holiday_date(date): Returna True, si la fecha ingresada corresponde a un día festivo, False en caso contrario.
    Input: type(date)
    Output: type(bool)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc