Jewish
Pure-Python implementations of calculations related to Judaism
Install / Use
/learn @emosenkis/JewishREADME
jewish
Pure-Python implementations of calculations related to Judaism
Example:
import datetime
import jewish
today = datetime.date.today()
jewish_today = jewish.JewishDate.from_date(today)
rosh_hashannah = jewish.JewishDate(jewish_today.year + 1, 1, 1)
days_to_rh = rosh_hashannah.to_sdn() - jewish_today.to_sdn()
print 'Today is %s in the secular calendar and %s in the Jewish calendar.' % (today, jewish_today)
print 'Rosh HaShannah is on %s, which is in %s days.' % (rosh_hashannah.to_date(), days_to_rh)
Outputs:
Today is 2016-08-17 in the secular calendar and 13 Av 5776 in the Jewish calendar.
Rosh HaShannah is on 2016-10-03, which is in 47 days.
Compatibility
jewish works with Python 2.7 and Python 3.
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
