Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emasaka/jpholidayp
Is it holiday today in Japan?
https://github.com/emasaka/jpholidayp
Last synced: 3 months ago
JSON representation
Is it holiday today in Japan?
- Host: GitHub
- URL: https://github.com/emasaka/jpholidayp
- Owner: emasaka
- Created: 2013-02-12T01:21:37.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T08:19:49.000Z (over 6 years ago)
- Last Synced: 2024-08-02T16:47:10.743Z (6 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 48
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesome-starred - emasaka/jpholidayp - Is it holiday today in Japan? (Python)
README
# jpholidayp
Is it holiday today in Japan?
## SYNOPSIS
jpholidayp
## DESCRIPTION
Check "Is it holiday today?" in Japan.
No arguments, and no output.
Reports as exit status:* 0 (success): holiday
* 1: not holiday"Holiday" means:
* Sunday and Saturday
* In [holiday_jp](https://github.com/holiday-jp/holiday_jp)It creates cache file at ~/.jpholidayp directory.
## EXAMPLES
usages in crontab.
jpholidayp && some-command
Run some-command in holiday.
jpholidayp || some-command
Run some-command in weekday.
## REQUIRES
* Python
* PyYAML## PROXY
This program accesses internet server once in 5 days.
If you have to use proxy to access internet, set `https_proxy`
environment variable.## AUTHOR
emasaka