govuk-bank-holidays
Tool to load UK bank holidays from GOV.UK
Decision gist · record as of 2026-08-14
Yes. The package solves a real, recurring problem (UK bank holiday lookup) with low install friction, active maintenance, no security vulnerabilities, and a permissive license. It is well-suited for any UK-based application that needs to handle holidays or work-day calculations. The regional division support and offline fallback add practical value for production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with a single runtime dependency (requests).
- Actively maintained with recent updates; last commit 2026-08-07.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) allows free use, modification, and distribution with minimal restrictions, provided you include the license notice.
last release 2026-02-25 (170 days) · last repo commit 2026-08-07 · 28 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 262,653 downloads/mo, #8,369 on PyPI
Alternatives
Verify before relying
pip install govuk-bank-holidays
from govuk_bank_holidays.bank_holidays import BankHolidays
bank_holidays = BankHolidays()
for holiday in bank_holidays.get_holidays():
print(holiday['title'], 'is on', holiday['date'])- Whether the cached backup list covers all years a typical user would need to query
- Performance characteristics when querying large date ranges or multiple divisions
What it is and what it does
This package provides a simple interface to retrieve UK bank holidays from the official GOV.UK source, with automatic fallback to a cached list if the network is unavailable or slow. It handles the complexity of regional variation—bank holidays differ between England and Wales, Scotland, and Northern Ireland—so you can query holidays for a specific division or get only those common to all regions.
The library wraps requests to fetch fresh data on demand, but also ships with a cached backup of known holidays for offline use or as a safety net. It supports both English and Welsh locales for holiday titles and notes, and provides methods to find next and previous holidays, generate series of holidays or work days, and check specific dates.
Use it for
- Determine whether a given date is a UK bank holiday in a specific region for payroll or scheduling systems
- Generate lists of upcoming bank holidays for calendar or planning applications
- Calculate work days by excluding bank holidays from date ranges
- Build UK-aware scheduling logic that respects regional holiday differences
- Provide holiday information in Welsh for bilingual UK applications
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package solves a real, recurring problem (UK bank holiday lookup) with low install friction, active maintenance, no security vulnerabilities, and a permissive license. It is well-suited for any UK-based application that needs to handle holidays or work-day calculations. The regional division support and offline fallback add practical value for production use.
Install
govuk-bank-holidays on PyPI
Before you install
Low friction install with a single runtime dependency (requests). Actively maintained with recent updates; last commit 2026-08-07.
License in practice
MIT license (permissive) allows free use, modification, and distribution with minimal restrictions, provided you include the license notice.
Quickstart
pip install govuk-bank-holidays
from govuk_bank_holidays.bank_holidays import BankHolidays
bank_holidays = BankHolidays()
for holiday in bank_holidays.get_holidays():
print(holiday['title'], 'is on', holiday['date'])
Verify before relying
- Whether the cached backup list covers all years a typical user would need to query
- Performance characteristics when querying large date ranges or multiple divisions
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Actively maintained 170 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 262,653 / month, #8,369 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules |
Evidence: govuk_bank_holidays-0.19-py3-none-any.whl
Tags
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 › “uk bank holidays”
- govuk-bank-holidaysFetches and caches the official UK bank holidays from GOV.UK, with…
- holidaysGenerates country- and subdivision-specific government holiday…
- jpholidayQueries Japanese national holidays and substitute holidays based on…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also holidays · workalendar · notifications-python-client · jpholiday · business-duration · convertdate · semantic-link-functions-holidays · businesstimedelta