{"id":20027571,"url":"https://github.com/gothenburgbitfactory/holidata","last_synced_at":"2025-04-04T21:11:41.881Z","repository":{"id":36917814,"uuid":"167205573","full_name":"GothenburgBitFactory/holidata","owner":"GothenburgBitFactory","description":"Holidata is the core of holidata.net, a no-nonsense, ad-free provider of international holiday data.","archived":false,"fork":false,"pushed_at":"2025-03-25T21:53:29.000Z","size":990,"stargazers_count":50,"open_issues_count":27,"forks_count":14,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-28T20:11:27.545Z","etag":null,"topics":["calendar","holiday","holiday-calculation","holidays"],"latest_commit_sha":null,"homepage":"https://holidata.net","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GothenburgBitFactory.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-23T15:27:32.000Z","updated_at":"2025-03-25T21:50:28.000Z","dependencies_parsed_at":"2023-12-11T22:56:47.132Z","dependency_job_id":"94e1dfc9-c0f5-4674-81fe-5f61f41882be","html_url":"https://github.com/GothenburgBitFactory/holidata","commit_stats":{"total_commits":245,"total_committers":16,"mean_commits":15.3125,"dds":0.3142857142857143,"last_synced_commit":"26f1d734c4090862635acab54523d2c50fd50a8e"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GothenburgBitFactory%2Fholidata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GothenburgBitFactory%2Fholidata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GothenburgBitFactory%2Fholidata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GothenburgBitFactory%2Fholidata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GothenburgBitFactory","download_url":"https://codeload.github.com/GothenburgBitFactory/holidata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249536,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calendar","holiday","holiday-calculation","holidays"],"created_at":"2024-11-13T09:10:49.783Z","updated_at":"2025-04-04T21:11:41.865Z","avatar_url":"https://github.com/GothenburgBitFactory.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Holidata\n\n`holidata` is a utility for algorithmically producing holiday data.\n\nIt is used e.g. by [Taskwarrior](https://taskwarrior.org) and [Timewarrior](https://timewarrior.net),\nas well as for [holidata.net](https://holidata.net).\n\nHoliday data can be produced for a given year in a supported locale and output format.\n\n## Usage\n\n```\nholidata --year=\u003cvalue\u003e --locale=\u003cvalue\u003e [--output=\u003cvalue\u003e]\nholidata --year=\u003cvalue\u003e --country=\u003cvalue\u003e [--lang=\u003cvalue\u003e] [--output=\u003cvalue\u003e]\n```\nCall `holidata` with the `--help` option to more detailed information.\n\n### Examples\n* Create holiday data of year `2022` for locale `de-DE`:\n  ```\n  $ holidata --year=2022 --locale=de-DE\n  ```\n  \n* Create holiday data of year `2022` for country `BE` and language `fr`:\n  ```\n  $ holidata --year=2022 --country=BE --lang=fr\n  ```\n  \n* Create holiday data of year `2022` for country `US` (default language `en`):\n  ```\n  $ holidata --year=2022 --country=US\n  ```\n\n## Data\n\nFor each holiday the following data is provided:\n* `locale` - language and country the holiday is defined for\n* `region` - region code of the given subdivision the holiday is defined for\n* `date` - actual date the holiday takes place\n* `description` - name of the holiday in the given language\n* `type` - holiday type flags\n* `notes` - additional information\n\n## Locales\n\nHolidata provides holiday data in different locales, i.e. for a given country and in a given language.\nSee [holidata.net](https://holidata.net/locales/) for a complete overview of the currently provided locales.\n\nIf you think a locale is missing, [open a feature request on GitHub](https://github.com/GothenburgBitFactory/holidata/issues).\n\n## Output Formats\n\nHolidata supports different output formats, currently `csv`, `jsonline`, `yaml`, and `xml`.\n\n## Limitations\n\nHolidata focuses on holidays which are _defined by law on which business or work are suspended or reduced_ (there may be some exceptions to that rule).\n\nHolidata only provides data for countries and their principal subdivisions (both as they are defined in ISO 3166).\nHolidays for other subdivisions are either merged or ignored.\nThere is also no explicit representation of partial holidays.\n\n## License\n\n`holidata` is released under the MIT license.\nFor details check the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgothenburgbitfactory%2Fholidata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgothenburgbitfactory%2Fholidata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgothenburgbitfactory%2Fholidata/lists"}