Skip to main content
https://travis-ci.org/mokejp/holidays_jp.svg?branch=master

holidays-jp is a library for calculate holidays. Mainly it has been optimized to Japanese.

It can be used in standalone and does not depend on Google calendar.

Usage:

from holidays_jp import CountryHolidays
# get japanese holidays in 2015.
holidays = CountryHolidays.get('JP', 2015)
# [
#     (datetime.datetime(2015, 1, 1, 0, 0), '元日'),
#     (datetime.datetime(2015, 1, 12, 0, 0), '成人の日'),
#     (datetime.datetime(2015, 2, 11, 0, 0), '建国記念の日'),
#     (datetime.datetime(2015, 3, 21, 0, 0), '春分の日'),
#     (datetime.datetime(2015, 4, 29, 0, 0), '昭和の日'),
#     (datetime.datetime(2015, 5, 3, 0, 0), '憲法記念日'),
#     (datetime.datetime(2015, 5, 4, 0, 0), 'みどりの日'),
#     (datetime.datetime(2015, 5, 5, 0, 0), 'こどもの日'),
#     (datetime.datetime(2015, 5, 6, 0, 0), '振替休日'),
#     (datetime.datetime(2015, 7, 20, 0, 0), '海の日'),
#     (datetime.datetime(2015, 9, 21, 0, 0), '敬老の日'),
#     (datetime.datetime(2015, 9, 22, 0, 0), '国民の休日'),
#     (datetime.datetime(2015, 9, 23, 0, 0), '秋分の日'),
#     (datetime.datetime(2015, 10, 12, 0, 0), '体育の日'),
#     (datetime.datetime(2015, 11, 3, 0, 0), '文化の日'),
#     (datetime.datetime(2015, 11, 23, 0, 0), '勤労感謝の日'),
#     (datetime.datetime(2015, 12, 23, 0, 0), '天皇誕生日')
# ]

# get japanese holidays in 2015-2016.
holidays = CountryHolidays.between('JP', 2015, 2016)

# get USA holidays in 2015
holidays = CountryHolidays.get('US', 2015)

Metadata

Release files for holidays-jp 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for holidays-jp 1.0.2
File Size Uploaded
holidays-jp-1.0.2.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for holidays-jp 1.0.2
File Interpreter ABI Platform
holidays_jp-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / holidays-jp-1.0.2.tar.gz

Download URL holidays-jp-1.0.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5682346b38f4a4188a33df311369befb2ee3c778d6439af8f499933477949261
BLAKE2b-256 checksum
How to use checksums
66c2cfd9869b10224976dfb4c23f949d16115d13362b491c82e4b90c981a77bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.1

Release files / holidays_jp-1.0.2-py3-none-any.whl

Download URL holidays_jp-1.0.2-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3b017cc99f8aeb021fa894145387d9d678dc3a61f3c5e19b12a9eb5f937dd09
BLAKE2b-256 checksum
How to use checksums
d65a2a395ebd2d4f63bee020e33c6d20640f128dd56e0f3abba0df6be9616c2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.1

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page