widetorah 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- widetorah-0.1.0/LICENSE +21 -0
- widetorah-0.1.0/PKG-INFO +360 -0
- widetorah-0.1.0/README.md +322 -0
- widetorah-0.1.0/pyproject.toml +87 -0
- widetorah-0.1.0/src/widetorah/__init__.py +22 -0
- widetorah-0.1.0/src/widetorah/cli.py +252 -0
- widetorah-0.1.0/src/widetorah/client.py +248 -0
- widetorah-0.1.0/src/widetorah/py.typed +0 -0
- widetorah-0.1.0/tests/__init__.py +0 -0
- widetorah-0.1.0/tests/test_client.py +32 -0
- widetorah-0.1.0/uv.lock +1139 -0
widetorah-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 WideHoly
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
widetorah-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: widetorah
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Python SDK for WideTorah — Torah, Talmud, Rashi commentary, parashot, Jewish holidays
|
|
5
|
+
Project-URL: Homepage, https://widetorah.com
|
|
6
|
+
Project-URL: Documentation, https://widetorah.com/developers/
|
|
7
|
+
Project-URL: Repository, https://github.com/dobestan/widetorah
|
|
8
|
+
Project-URL: API Reference, https://widetorah.com/api/schema/
|
|
9
|
+
Author: WideHoly
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: bible-hebrew,daf-yomi,jewish-api,jewish-holidays,jewish-studies,mishnah,parashah,rashi,scripture,talmud,tanakh,torah,torah-api,torah-sdk
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
|
+
Classifier: Topic :: Religion
|
|
24
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
25
|
+
Classifier: Typing :: Typed
|
|
26
|
+
Requires-Python: >=3.10
|
|
27
|
+
Requires-Dist: httpx>=0.27
|
|
28
|
+
Provides-Extra: all
|
|
29
|
+
Requires-Dist: mcp>=1.0; extra == 'all'
|
|
30
|
+
Requires-Dist: rich>=13.0; extra == 'all'
|
|
31
|
+
Requires-Dist: typer>=0.15; extra == 'all'
|
|
32
|
+
Provides-Extra: cli
|
|
33
|
+
Requires-Dist: rich>=13.0; extra == 'cli'
|
|
34
|
+
Requires-Dist: typer>=0.15; extra == 'cli'
|
|
35
|
+
Provides-Extra: mcp
|
|
36
|
+
Requires-Dist: mcp>=1.0; extra == 'mcp'
|
|
37
|
+
Description-Content-Type: text/markdown
|
|
38
|
+
|
|
39
|
+
# widetorah
|
|
40
|
+
|
|
41
|
+
[](https://pypi.org/project/widetorah/)
|
|
42
|
+
[](https://pypi.org/project/widetorah/)
|
|
43
|
+
[](https://opensource.org/licenses/MIT)
|
|
44
|
+
|
|
45
|
+
Python SDK for **[WideTorah](https://widetorah.com)** — access Torah verses, Talmud daf pages, Rashi commentary, weekly parashot, Jewish holidays, biblical figures, and glossary terms through a clean Python API. Built on `httpx` with full type hints and a rich CLI.
|
|
46
|
+
|
|
47
|
+
WideTorah provides structured access to the Jewish scriptural canon: **24 books** of the Tanakh with **69,616 verses** across 3 translations (Masoretic Hebrew, JPS-1917, Koren), **54 weekly parashot**, **2,121 Talmud daf** pages across 63 tractates, **3,901 Rashi commentary** entries, and **10 Jewish holidays** — all from the [widetorah.com](https://widetorah.com) REST API.
|
|
48
|
+
|
|
49
|
+
> **Explore the Torah online at [widetorah.com](https://widetorah.com)** — verse-by-verse reading, Talmud daf browser, parashah calendar, and Jewish encyclopedia.
|
|
50
|
+
|
|
51
|
+
## Table of Contents
|
|
52
|
+
|
|
53
|
+
- [Install](#install)
|
|
54
|
+
- [Quick Start](#quick-start)
|
|
55
|
+
- [What You'll Find on WideTorah](#what-youll-find-on-widetorah)
|
|
56
|
+
- [Tanakh Structure](#tanakh-structure)
|
|
57
|
+
- [Weekly Parashot](#weekly-parashot)
|
|
58
|
+
- [Talmud & Mishnah](#talmud--mishnah)
|
|
59
|
+
- [Rashi Commentary](#rashi-commentary)
|
|
60
|
+
- [Jewish Holidays & Biblical Figures](#jewish-holidays--biblical-figures)
|
|
61
|
+
- [Command-Line Interface](#command-line-interface)
|
|
62
|
+
- [API Reference](#api-reference)
|
|
63
|
+
- [API Endpoints](#api-endpoints)
|
|
64
|
+
- [WideHoly Developer Tools](#wideholy-developer-tools)
|
|
65
|
+
- [License](#license)
|
|
66
|
+
|
|
67
|
+
## Install
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# Core SDK (httpx)
|
|
71
|
+
pip install widetorah
|
|
72
|
+
|
|
73
|
+
# With CLI (rich tables in your terminal)
|
|
74
|
+
pip install widetorah[cli]
|
|
75
|
+
|
|
76
|
+
# Everything
|
|
77
|
+
pip install widetorah[all]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Quick Start
|
|
81
|
+
|
|
82
|
+
```python
|
|
83
|
+
from widetorah import WideTorah
|
|
84
|
+
|
|
85
|
+
with WideTorah() as client:
|
|
86
|
+
# Get Genesis 1:1 in JPS-1917 translation
|
|
87
|
+
verse = client.get_verse("genesis", 1, 1)
|
|
88
|
+
print(verse)
|
|
89
|
+
# {'results': [{'reference': 'Genesis 1:1', 'text': 'In the beginning God created...', 'text_hebrew': 'בְּרֵאשִׁית בָּרָא אֱלֹהִים...'}]}
|
|
90
|
+
|
|
91
|
+
# Browse weekly Torah portions
|
|
92
|
+
parashot = client.list_parashot(book="genesis")
|
|
93
|
+
print(parashot)
|
|
94
|
+
# {'results': [{'name': 'Bereshit', 'hebrew_name': 'בראשית', 'reference': 'Genesis 1:1–6:8'}, ...]}
|
|
95
|
+
|
|
96
|
+
# Study Talmud — Berakhot 2a
|
|
97
|
+
daf = client.get_talmud_daf("berakhot", 2, side="a")
|
|
98
|
+
print(daf)
|
|
99
|
+
# {'results': [{'tractate_slug': 'berakhot', 'number': 2, 'side': 'a', 'text_hebrew': '...', 'text_english': '...'}]}
|
|
100
|
+
|
|
101
|
+
# Search for verses about covenant
|
|
102
|
+
results = client.search("covenant", limit=5)
|
|
103
|
+
for v in results.get("results", []):
|
|
104
|
+
print(f"{v['reference']}: {v['text'][:80]}...")
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## What You'll Find on WideTorah
|
|
108
|
+
|
|
109
|
+
### Tanakh Structure
|
|
110
|
+
|
|
111
|
+
The Hebrew Bible (Tanakh) is organized into three divisions containing 24 books:
|
|
112
|
+
|
|
113
|
+
| Division | Hebrew | Books | Description |
|
|
114
|
+
|----------|--------|-------|-------------|
|
|
115
|
+
| **Torah** | תורה | 5 | The Five Books of Moses — Genesis through Deuteronomy |
|
|
116
|
+
| **Nevi'im** | נביאים | 8 | The Prophets — Joshua, Judges, Samuel, Kings, Isaiah, Jeremiah, Ezekiel, Twelve |
|
|
117
|
+
| **Ketuvim** | כתובים | 11 | The Writings — Psalms, Proverbs, Job, Song of Songs, Ruth, Lamentations, Ecclesiastes, Esther, Daniel, Ezra-Nehemiah, Chronicles |
|
|
118
|
+
|
|
119
|
+
WideTorah serves 69,616 verses across 3 translations:
|
|
120
|
+
|
|
121
|
+
| Translation | Code | Language | Notes |
|
|
122
|
+
|-------------|------|----------|-------|
|
|
123
|
+
| **Masoretic Hebrew** | `masoretic` | Hebrew | Original consonantal text with vowel pointing (nikkud) |
|
|
124
|
+
| **JPS 1917** | `jps-1917` | English | Jewish Publication Society classic English translation |
|
|
125
|
+
| **Koren** | `koren` | English | Modern Koren Publishers Jerusalem translation |
|
|
126
|
+
|
|
127
|
+
```python
|
|
128
|
+
# List all books in the Torah (Pentateuch)
|
|
129
|
+
torah_books = client.list_books(section="torah")
|
|
130
|
+
for book in torah_books["results"]:
|
|
131
|
+
print(f"{book['name']} ({book['hebrew_name']}) — {book['chapter_count']} chapters, {book['verse_count']} verses")
|
|
132
|
+
# Genesis (בראשית) — 50 chapters, 1533 verses
|
|
133
|
+
# Exodus (שמות) — 40 chapters, 1213 verses
|
|
134
|
+
# ...
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Weekly Parashot
|
|
138
|
+
|
|
139
|
+
The Torah is divided into **54 weekly reading portions** (parashot, singular parashah), completing the entire Torah in an annual cycle. Each Shabbat, a designated portion is read publicly in synagogue from the Torah scroll.
|
|
140
|
+
|
|
141
|
+
The annual reading cycle begins and ends on Simchat Torah. In leap years all 54 portions are read individually; in regular years some portions are combined (doubled) to fit the shorter calendar.
|
|
142
|
+
|
|
143
|
+
| Book | Parashot | Example |
|
|
144
|
+
|------|----------|---------|
|
|
145
|
+
| Genesis | 12 portions | Bereshit, Noach, Lech Lecha, Vayera... |
|
|
146
|
+
| Exodus | 11 portions | Shemot, Va'era, Bo, Beshalach... |
|
|
147
|
+
| Leviticus | 10 portions | Vayikra, Tzav, Shemini... |
|
|
148
|
+
| Numbers | 10 portions | Bamidbar, Naso, Beha'alotcha... |
|
|
149
|
+
| Deuteronomy | 11 portions | Devarim, Va'etchanan, Eikev... |
|
|
150
|
+
|
|
151
|
+
```python
|
|
152
|
+
# Get details of the first parashah — Bereshit (Genesis 1:1–6:8)
|
|
153
|
+
bereshit = client.get_parashah("bereshit")
|
|
154
|
+
print(f"{bereshit['name']} ({bereshit['hebrew_name']})")
|
|
155
|
+
print(f"Reference: {bereshit['reference']}")
|
|
156
|
+
# Bereshit (בראשית)
|
|
157
|
+
# Reference: Genesis 1:1–6:8
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Talmud & Mishnah
|
|
161
|
+
|
|
162
|
+
The **Talmud** (Babylonian Talmud, Talmud Bavli) is the central text of Rabbinic Judaism, consisting of the **Mishnah** (oral law codified c. 200 CE) and the **Gemara** (rabbinical analysis and commentary, c. 500 CE). It is organized into 6 orders (sedarim) containing 63 tractates.
|
|
163
|
+
|
|
164
|
+
| Seder | Hebrew | Tractates | Subject |
|
|
165
|
+
|-------|--------|-----------|---------|
|
|
166
|
+
| **Zeraim** | זרעים | 11 | Agriculture, blessings, tithes |
|
|
167
|
+
| **Moed** | מועד | 12 | Shabbat, festivals, fast days |
|
|
168
|
+
| **Nashim** | נשים | 7 | Marriage, divorce, vows |
|
|
169
|
+
| **Nezikin** | נזיקין | 10 | Civil/criminal law, ethics (Avot) |
|
|
170
|
+
| **Kodashim** | קדשים | 11 | Temple service, sacrifices, kashrut |
|
|
171
|
+
| **Tohorot** | טהרות | 12 | Ritual purity and impurity |
|
|
172
|
+
|
|
173
|
+
The Talmud is studied page by page — each folio (daf) has two sides (amud aleph/bet, or a/b). The worldwide **Daf Yomi** program completes the entire Talmud in a 7.5-year cycle, studying one daf per day (2,711 pages total).
|
|
174
|
+
|
|
175
|
+
```python
|
|
176
|
+
# Browse tractates in Seder Moed (Festivals)
|
|
177
|
+
moed = client.list_tractates(seder="moed")
|
|
178
|
+
for t in moed["results"]:
|
|
179
|
+
print(f"{t['name']} ({t['hebrew_name']}) — {t['daf_count']} daf")
|
|
180
|
+
# Shabbat (שבת) — 157 daf
|
|
181
|
+
# Eruvin (עירובין) — 105 daf
|
|
182
|
+
# ...
|
|
183
|
+
|
|
184
|
+
# Read Talmud Berakhot 2a — the very first page of the Talmud
|
|
185
|
+
daf = client.get_talmud_daf("berakhot", 2, side="a")
|
|
186
|
+
# Contains text_hebrew, text_english, text_aramaic
|
|
187
|
+
|
|
188
|
+
# List Mishnah chapters for a tractate
|
|
189
|
+
mishnah = client.list_mishnah(tractate="berakhot")
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Rashi Commentary
|
|
193
|
+
|
|
194
|
+
**Rashi** (Rabbi Shlomo Yitzchaki, 1040–1105 CE, Troyes, France) wrote the most widely studied commentary on the Torah and Talmud. His Torah commentary is printed alongside the biblical text in virtually every edition of the Chumash.
|
|
195
|
+
|
|
196
|
+
Rashi's commentary is known for its conciseness, drawing on Midrash and Talmud to explain the plain meaning (peshat) of the text. WideTorah provides **3,901 Rashi commentary entries** covering the Five Books of Moses, with both the original Hebrew and English translation.
|
|
197
|
+
|
|
198
|
+
```python
|
|
199
|
+
# Get Rashi's commentary on Genesis chapter 1
|
|
200
|
+
rashi_gen1 = client.list_rashi(book="genesis", chapter=1)
|
|
201
|
+
for entry in rashi_gen1["results"]:
|
|
202
|
+
print(f" Verses {entry['verse_start']}–{entry['verse_end']}: {entry['text_english'][:100]}...")
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Jewish Holidays & Biblical Figures
|
|
206
|
+
|
|
207
|
+
WideTorah covers the major Jewish holidays with their Torah readings, haftarah portions, and Hebrew calendar dates:
|
|
208
|
+
|
|
209
|
+
| Holiday | Hebrew | Category | Torah Reading |
|
|
210
|
+
|---------|--------|----------|---------------|
|
|
211
|
+
| **Rosh Hashanah** | ראש השנה | Biblical | Genesis 21–22 |
|
|
212
|
+
| **Yom Kippur** | יום כיפור | Biblical | Leviticus 16 |
|
|
213
|
+
| **Sukkot** | סוכות | Biblical | Leviticus 22:26–23:44 |
|
|
214
|
+
| **Pesach** | פסח | Biblical | Exodus 12:21–51 |
|
|
215
|
+
| **Shavuot** | שבועות | Biblical | Exodus 19–20 |
|
|
216
|
+
| **Hanukkah** | חנוכה | Rabbinic | Numbers 7 |
|
|
217
|
+
| **Purim** | פורים | Rabbinic | Exodus 17:8–16 |
|
|
218
|
+
| **Tisha B'Av** | תשעה באב | Rabbinic | Deuteronomy 4:25–40 |
|
|
219
|
+
|
|
220
|
+
Biblical figures span the entire narrative from the Patriarchs through the Second Temple period — Abraham, Moses, David, Solomon, Elijah, Isaiah, Esther, Daniel, and more.
|
|
221
|
+
|
|
222
|
+
```python
|
|
223
|
+
# List biblical holidays
|
|
224
|
+
holidays = client.list_holidays(category="biblical")
|
|
225
|
+
|
|
226
|
+
# Explore the patriarchs
|
|
227
|
+
patriarchs = client.list_figures(era="patriarchs")
|
|
228
|
+
for f in patriarchs["results"]:
|
|
229
|
+
print(f"{f['name']} ({f['hebrew_name']}) — {f['era']}")
|
|
230
|
+
|
|
231
|
+
# Get details of a specific figure
|
|
232
|
+
moses = client.get_figure("moses")
|
|
233
|
+
print(f"{moses['name']}: {moses['description']}")
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
## Command-Line Interface
|
|
237
|
+
|
|
238
|
+
Install with CLI extras: `pip install widetorah[cli]`
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
# Look up a specific verse
|
|
242
|
+
widetorah verse genesis 1 1
|
|
243
|
+
# Genesis 1:1
|
|
244
|
+
# בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ
|
|
245
|
+
# In the beginning God created the heaven and the earth.
|
|
246
|
+
|
|
247
|
+
# Get parashah details
|
|
248
|
+
widetorah parashah bereshit
|
|
249
|
+
|
|
250
|
+
# Read Talmud daf
|
|
251
|
+
widetorah daf berakhot 2 a
|
|
252
|
+
|
|
253
|
+
# Search Torah verses
|
|
254
|
+
widetorah search "covenant" --limit 10
|
|
255
|
+
|
|
256
|
+
# List Tanakh books (filter by section)
|
|
257
|
+
widetorah books --section torah
|
|
258
|
+
|
|
259
|
+
# List Talmud tractates (filter by seder)
|
|
260
|
+
widetorah tractates --seder moed
|
|
261
|
+
|
|
262
|
+
# List Jewish holidays
|
|
263
|
+
widetorah holidays --category biblical
|
|
264
|
+
|
|
265
|
+
# List biblical figures
|
|
266
|
+
widetorah figures --era patriarchs
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
## API Reference
|
|
270
|
+
|
|
271
|
+
### Client Methods
|
|
272
|
+
|
|
273
|
+
| Method | Description | Returns |
|
|
274
|
+
|--------|-------------|---------|
|
|
275
|
+
| `list_books(section=)` | List 24 Tanakh books, filter by section | Paginated list |
|
|
276
|
+
| `get_book(slug)` | Book details (name, hebrew_name, chapter/verse counts) | Single book |
|
|
277
|
+
| `list_translations()` | Available translations (JPS-1917, Koren, Masoretic) | Paginated list |
|
|
278
|
+
| `list_chapters(book=)` | Chapters, filter by book slug | Paginated list |
|
|
279
|
+
| `get_verse(book, chapter, verse, translation=)` | Specific verse with Hebrew and translation | Verse result |
|
|
280
|
+
| `search(query, limit=)` | Full-text search across Torah verses | Paginated list |
|
|
281
|
+
| `list_parashot(book=)` | 54 weekly Torah portions, filter by book | Paginated list |
|
|
282
|
+
| `get_parashah(slug)` | Parashah details with reference range | Single parashah |
|
|
283
|
+
| `list_tractates(seder=)` | 63 Talmud tractates, filter by seder | Paginated list |
|
|
284
|
+
| `get_talmud_daf(tractate, daf, side=)` | Talmud folio page (Hebrew, English, Aramaic) | Daf result |
|
|
285
|
+
| `list_mishnah(tractate=)` | Mishnah chapters, filter by tractate | Paginated list |
|
|
286
|
+
| `list_rashi(book=, chapter=)` | 3,901 Rashi commentaries, filter by book/chapter | Paginated list |
|
|
287
|
+
| `list_holidays(category=)` | Jewish holidays, filter by category | Paginated list |
|
|
288
|
+
| `list_figures(era=)` | Biblical figures, filter by era | Paginated list |
|
|
289
|
+
| `get_figure(slug)` | Figure details (name, hebrew_name, era, is_prophet) | Single figure |
|
|
290
|
+
| `list_topics()` | Thematic topics (covenant, creation, law) | Paginated list |
|
|
291
|
+
| `list_glossary()` | Hebrew/Aramaic glossary terms | Paginated list |
|
|
292
|
+
|
|
293
|
+
## API Endpoints
|
|
294
|
+
|
|
295
|
+
All endpoints are under `https://widetorah.com/api/v1/torah/`:
|
|
296
|
+
|
|
297
|
+
| Method | Endpoint | Description |
|
|
298
|
+
|--------|----------|-------------|
|
|
299
|
+
| GET | `/books/` | List Tanakh books (filter: `section`) |
|
|
300
|
+
| GET | `/books/{slug}/` | Book details |
|
|
301
|
+
| GET | `/translations/` | List translations |
|
|
302
|
+
| GET | `/translations/{code}/` | Translation details |
|
|
303
|
+
| GET | `/chapters/` | List chapters (filter: `book__slug`) |
|
|
304
|
+
| GET | `/verses/` | List/search verses (filter: `chapter__book__slug`, `translation__code`, `search`) |
|
|
305
|
+
| GET | `/parashot/` | List parashot (filter: `book__slug`) |
|
|
306
|
+
| GET | `/parashot/{slug}/` | Parashah details |
|
|
307
|
+
| GET | `/tractates/` | List tractates (filter: `seder`) |
|
|
308
|
+
| GET | `/tractates/{slug}/` | Tractate details |
|
|
309
|
+
| GET | `/dapim/` | List Talmud daf (filter: `tractate__slug`, `number`, `side`) |
|
|
310
|
+
| GET | `/mishnah/` | List Mishnah chapters (filter: `tractate__slug`) |
|
|
311
|
+
| GET | `/rashi/` | List Rashi commentary (filter: `book__slug`, `chapter`) |
|
|
312
|
+
| GET | `/holidays/` | List holidays (filter: `category`) |
|
|
313
|
+
| GET | `/holidays/{slug}/` | Holiday details |
|
|
314
|
+
| GET | `/figures/` | List biblical figures (filter: `era`, `is_prophet`) |
|
|
315
|
+
| GET | `/figures/{slug}/` | Figure details |
|
|
316
|
+
| GET | `/topics/` | List topics |
|
|
317
|
+
| GET | `/topics/{slug}/` | Topic details |
|
|
318
|
+
| GET | `/glossary/` | List glossary terms |
|
|
319
|
+
| GET | `/glossary/{slug}/` | Glossary term details |
|
|
320
|
+
|
|
321
|
+
### Example
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
curl -s "https://widetorah.com/api/v1/torah/books/genesis/"
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
```json
|
|
328
|
+
{
|
|
329
|
+
"id": 1,
|
|
330
|
+
"name": "Genesis",
|
|
331
|
+
"slug": "genesis",
|
|
332
|
+
"hebrew_name": "בראשית",
|
|
333
|
+
"number": 1,
|
|
334
|
+
"section": "torah",
|
|
335
|
+
"chapter_count": 50,
|
|
336
|
+
"verse_count": 1533,
|
|
337
|
+
"description": "The first book of the Torah...",
|
|
338
|
+
"url": "/torah/genesis/"
|
|
339
|
+
}
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Full API documentation at [widetorah.com/developers/](https://widetorah.com/developers/).
|
|
343
|
+
OpenAPI 3.1.0 spec: [widetorah.com/api/schema/](https://widetorah.com/api/schema/).
|
|
344
|
+
|
|
345
|
+
## WideHoly Developer Tools
|
|
346
|
+
|
|
347
|
+
| Package | PyPI | Description |
|
|
348
|
+
|---------|------|-------------|
|
|
349
|
+
| **widetorah** | [PyPI](https://pypi.org/project/widetorah/) | Torah, Talmud, Rashi commentary — [widetorah.com](https://widetorah.com) |
|
|
350
|
+
| widebible | [PyPI](https://pypi.org/project/widebible/) | Bible verses, cross-references, study tools — [widebible.com](https://widebible.com) |
|
|
351
|
+
| widequran | [PyPI](https://pypi.org/project/widequran/) | Quran, Hadith, Tafsir commentary — [widequran.com](https://widequran.com) |
|
|
352
|
+
| widesutra | [PyPI](https://pypi.org/project/widesutra/) | Buddhist sutras, Tipitaka, Pali Canon — [widesutra.com](https://widesutra.com) |
|
|
353
|
+
| widegita | [PyPI](https://pypi.org/project/widegita/) | Bhagavad Gita, Vedic philosophy — [widegita.com](https://widegita.com) |
|
|
354
|
+
| wideholy | [PyPI](https://pypi.org/project/wideholy/) | Unified multi-religion scripture SDK — [wideholy.com](https://wideholy.com) |
|
|
355
|
+
|
|
356
|
+
Part of the [WideHoly](https://wideholy.com) open-source scripture tools ecosystem.
|
|
357
|
+
|
|
358
|
+
## License
|
|
359
|
+
|
|
360
|
+
MIT License — see [LICENSE](LICENSE) for details.
|