python-holidays icon indicating copy to clipboard operation
python-holidays copied to clipboard

Multi-Selection Interface for Consolidating and Downloading Holiday Calendars in Bulk

Open davidhedlund opened this issue 4 months ago • 5 comments

Is your feature request related to a problem?

Currently, the Download Holiday Calendars page only allows users to access one calendar at a time. This is inefficient when users need to aggregate holiday schedules across multiple regions, categories, or years, as it requires repetitive navigation and manual tracking.

Describe the solution you'd like

I propose adding a multi-selection interface to the "Download Holiday Calendars" page. Users should be able to select multiple items simultaneously and click a new "List calendars" button to generate a consolidated table. This table would display the available formats (ICS, JSON, Webcal) for all selected items, leveraging the index structure proposed in:

  • https://github.com/vacanza/holidays/issues/3684

Example Workflow:

  1. Selection: User selects Denmark, Sweden, United States (Countries), Public, Optional (Categories), and ICS, JSON, Webcal (proposed Format listing: #3669)
  2. Action: User clicks "List calendars."
  3. Output: A summary table is generated dynamically:
Language / Region Public Optional
Denmark ICS | JSON | Webcal[1] ICS | JSON | Webcal[2]
Sweden ICS | JSON | Webcal[3] ICS | JSON | Webcal[4]
United States ICS | JSON | Webcal[5] ICS | JSON | Webcal[6]
  1. webcal://vacanza.github.io/holidays/downloads/ics/countries/DK/ALL_da_public.ics
  2. webcal://vacanza.github.io/holidays/downloads/ics/countries/DK/ALL_da_optional.ics
  3. webcal://vacanza.github.io/holidays/downloads/ics/countries/SE/ALL_sv_public.ics
  4. webcal://vacanza.github.io/holidays/downloads/ics/countries/SE/ALL_sv_optional.ics
  5. webcal://vacanza.github.io/holidays/downloads/ics/countries/US/ALL_en_US_public.ics
  6. webcal://vacanza.github.io/holidays/downloads/ics/countries/US/ALL_en_US_optional.ics

Describe alternatives you've considered

  • Manual Batch Processing: I considered creating a local script to scrape the existing directory structure, but this is inefficient for the average user and fails to utilize the project's existing data infrastructure.

  • External Calendar Aggregators: Relying on third-party calendar aggregator services often introduces latency or privacy concerns. Providing this functionality natively within the library’s own download page is the most robust and trustworthy solution.

Additional context

This feature is a natural evolution of the current download page and aligns perfectly with the data-structuring goals outlined in:

  • https://github.com/vacanza/holidays/issues/3684

By enabling batch selection, we significantly reduce the friction for users who manage cross-border teams or global operations.

davidhedlund avatar Jul 28 '26 20:07 davidhedlund

Hey! The above comment by "backend-sys" was mistakenly made by me, sorry I'll remove it asap!

VishalRaj0 avatar Sep 02 '26 20:09 VishalRaj0

Hey @VishalRaj0 are you still working on it? if not, i will be happy to work on it.

yashgoyal0110 avatar Oct 05 '26 15:10 yashgoyal0110

Hey @VishalRaj0 are you still working on it? if not, i will be happy to work on it.

Hey Yash, I'm almost done with this issue along with some other issues related to this. I'd advice you to pick a fresh issue which you can work on from scratch.

VishalRaj0 avatar Oct 05 '26 17:10 VishalRaj0

@KJhellico this issue is pending since long I am ready to solve this issue can you assign this issue to me?

RAJJADHAV10 avatar Oct 12 '26 15:10 RAJJADHAV10

5. > Hey @VishalRaj0 are you still working on it? if not, i will be happy to work on it.

    Hey Yash, I'm almost done with this issue along with some other issues related to this. I'd advice you to pick a fresh issue which you can work on from scratch.

@RAJJADHAV10 With respect, did you read this?

davidhedlund avatar Oct 12 '26 23:10 davidhedlund