semantic-link-functions-holidays
Semantic link functions for holidays package. Enables enrichment of FabricDataFrame with public holidays.
What it is and what it does
This package extends FabricDataFrame with semantic functions that intelligently expose holiday-checking capabilities. It uses the @semantic_function decorator to automatically discover functions and makes them available in autocomplete only when your data contains the columns they need—in this case, a datetime column and a country column. The is_holiday function leverages the holidays library to determine whether dates fall on public holidays for a given country.
It's built for Power BI and Fabric workflows where data enrichment with domain-specific logic improves the interactive experience. Rather than manually calling holiday functions, developers annotate their logic once and the framework handles visibility and relevance based on the actual schema and metadata of each FabricDataFrame.
Use it for:
- Flag public holidays in a datetime column to exclude them from business-day calculations in Fabric reports.
- Enrich sales or transaction data with holiday indicators to segment analysis by holiday vs. non-holiday periods.
- Automatically surface holiday-checking logic in Fabric notebooks when working with date and country columns.
- Build data quality checks that validate whether expected holidays are correctly marked in a dataset.
- Create semantic layers in Power BI that expose country-specific holiday logic to end users without code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds semantic functions to FabricDataFrame that automatically detect and expose holiday-checking operations based on the presence of datetime and country columns in your data.
Yes, if you work with FabricDataFrame in Microsoft Fabric and need to add holiday logic to datetime columns. The low install friction, active maintenance, and permissive MIT license make it a straightforward addition. No known vulnerabilities. Install only if you're already using semantic-link-sempy; it's a specialized extension, not a general-purpose library.
Install
semantic-link-functions-holidays on PyPI
pip
pip install semantic-link-functions-holidaysuv
uv add semantic-link-functions-holidayspoetry
poetry add semantic-link-functions-holidaysInstalling semantic-link-functions-holidays
Before you install
Active maintenance with a recent release (24 days old). Low install friction; depends only on holidays and semantic-link-sempy. Requires Python 3.10 or later.
License in practice
MIT License permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.
Quickstart
pip install semantic-link-functions-holidays
from sempy.fabric import FabricDataFrame
df = FabricDataFrame(
{"country": ["US", "AT"], "date": ["2023-01-06", "2023-01-06"]},
column_metadata={"country": {"data_category": "Country"}},
)
holiday_series = df.is_holiday(date_col="date", country_col="country")
Requires Python 3.10 or later; designed for use with semantic-link-sempy.
Verify before relying
- Whether the package works outside Microsoft Fabric or requires Fabric-specific infrastructure.
- Performance characteristics when applied to large DataFrames.
- Full list of supported countries beyond the US and AT examples shown.
- Whether datetime conversion is required before calling is_holiday or handled automatically.
Package facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — holidays, semantic-link-sempy |
| Maintenance | actively maintained — 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 473,060/month — #6,471 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: semantic_link_functions_holidays-0.14.2-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
semantic-link-functions-meteostatAdds semantic functions to FabricDataFrame that…
permissive · top 15,000 on PyPI
semantic-link-functions-phonenumbersAdds phone number validation as a semantic…
permissive · top 15,000 on PyPI
woodworkWoodwork adds a typing layer to pandas…
permissive · top 15,000 on PyPI
semantic-link-functions-geopandasAdds geospatial semantic functions to…
permissive · top 15,000 on PyPI
semantic-link-functions-validatorsAdds context-aware validation functions to…
permissive · top 15,000 on PyPI
holidaysGenerates country- and subdivision-specific…
permissive · top 1,000 on PyPI
semantic-linkConnects Python notebooks to Power BI datasets…
unclear · top 15,000 on PyPI
semantic-link-sempyConnects Python notebooks and Spark jobs in…
unclear · top 5,000 on PyPI
jpholidayQueries Japanese national holidays and…
permissive · top 15,000 on PyPI
semantic-link-labsExtends Microsoft Fabric's Semantic Link with…
permissive · top 5,000 on PyPI