$npx skillfedfor your agent

workalendar

Worldwide holidays and working days helper and toolkit.

With conditionsPyPI UtilitiesReleased Jan 20231.5M downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — workalendar-17.0.0-py3-none-any.whl
v17.0.0 · released 2023-01-01 · Python >=3.7 · 7 runtime deps: python-dateutil, lunardate, convertdate, pyluach, tzdata, importlib-metadata, backports.zoneinfo

Yes, if you need working-day arithmetic or holiday lookups for one or more countries. The package is production-stable, has low install friction, carries no known vulnerabilities, and covers a wide geographic scope. However, maintenance is dormant (last release January 2023), so be aware that calendar updates may lag behind official changes; verify accuracy for mission-critical use cases against official sources.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7+.
  • On Python 3.7–3.8, backports.zoneinfo and tzdata (Windows only) are conditional dependencies; Python 3.9+ uses stdlib zoneinfo.
  • Low install friction: pure Python wheel with seven runtime dependencies (date utilities, lunar/solar calendar support, timezone data).

License · maintenance · safety

MIT License (permissive) — MIT License is permissive; you may use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

last release 2023-01-01 (1321 days) · last repo commit 2024-04-12 · 951 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,467,370 downloads/mo, #3,875 on PyPI

Verify before relying

pip install workalendar

from datetime import date
from workalendar.europe import France
cal = France()
print(cal.is_working_day(date(2012, 12, 25)))  # False (Christmas)
print(cal.add_working_days(date(2012, 12, 23), 5))  # date(2012, 12, 31)
  • Accuracy of Islamic calendar and other computed holidays relative to official religious authority decisions
  • Completeness of calendar coverage—documentation notes some calendars may not be fully up-to-date and not all countries are covered
Same gist for agents: .md · .json

What it is and what it does

Workalendar is a Python library that maintains holiday calendars for countries and regions worldwide and provides utilities to work with working days. It lets you query whether a specific date is a working day (accounting for weekends and holidays), retrieve lists of holidays for a given year, and perform arithmetic on dates by adding or subtracting working days. The library bundles pre-computed astronomical values for calendars that depend on equinoxes or solar terms (such as Asian calendars) for years 1991–2051, with optional support for computing these values dynamically via the astronomy extra.

The package is built on date utilities (python-dateutil), lunar and solar calendar libraries (lunardate, convertdate, pyluach), and timezone support (tzdata, backports.zoneinfo, importlib-metadata). It covers a broad geographic scope—Europe, the Americas, Asia, Oceania, and Africa—with support for regional and sub-regional calendars (e.g., Swiss cantons, US states, Brazilian cities). The library is marked production-ready but carries a caveat that some calendars may not be 100% accurate, particularly Islamic calendars, and not all countries are yet supported.

Use it for

  • Calculate SLA deadlines by adding working days to a ticket creation date, excluding weekends and country-specific holidays.
  • Validate whether a given date falls on a working day for payroll, scheduling, or business logic in multi-country applications.
  • Generate holiday lists for a year to populate calendars, planning tools, or HR systems for a specific country or region.
  • Compute business day offsets for financial settlement dates, delivery windows, or project timelines across different jurisdictions.
  • Build international scheduling systems that respect local holidays and working-day conventions without hardcoding dates.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need working-day arithmetic or holiday lookups for one or more countries.

The package is production-stable, has low install friction, carries no known vulnerabilities, and covers a wide geographic scope. However, maintenance is dormant (last release January 2023), so be aware that calendar updates may lag behind official changes; verify accuracy for mission-critical use cases against official sources.

Install

workalendar on PyPI

Before you install

Low install friction: pure Python wheel with seven runtime dependencies (date utilities, lunar/solar calendar support, timezone data). Maintenance is dormant—last release was January 2023, over a year ago, though the repository remains active with recent commits and no archived status.

Requires Python 3.7+. On Python 3.7–3.8, backports.zoneinfo and tzdata (Windows only) are conditional dependencies; Python 3.9+ uses stdlib zoneinfo.

License in practice

MIT License is permissive; you may use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install workalendar

from datetime import date
from workalendar.europe import France
cal = France()
print(cal.is_working_day(date(2012, 12, 25)))  # False (Christmas)
print(cal.add_working_days(date(2012, 12, 23), 5))  # date(2012, 12, 31)

Verify before relying

  • Accuracy of Islamic calendar and other computed holidays relative to official religious authority decisions
  • Completeness of calendar coverage—documentation notes some calendars may not be fully up-to-date and not all countries are covered

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
python-dateutillunardateconvertdatepyluachtzdataimportlib-metadatabackports.zoneinfo
MaintenanceDormant 1,321 days since the last release
Last repo commit
First released
Downloads1,467,370 / month, #3,875 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: workalendar-17.0.0-py3-none-any.whl

Tags

Capabilities
holiday calendar libraryworking day calculationsinternational holidaysbusiness day arithmeticcountry-specific calendarsskip weekends and holidaysdate offset working days
Topics
calendar-holidaysbusiness-daysinternational

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “working day calculations”

  • workalendarWorkalendar provides holiday calendars and working-day calculations…
  • dateutilsProvides date and time arithmetic operations, including range…
  • yearfracComputes fractional year differences between dates using various…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also holidays · tkcalendar · workadays · chinese-calendar · jpholiday · govuk-bank-holidays · pandas_market_calendars · business-duration · convertdate · exchange_calendars