isnady 0.7.1 → 0.7.3
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.
- package/README.md +59 -18
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://pypi.org/project/isnady/">
|
|
11
|
-
<img src="https://img.shields.io/badge/PyPI-v0.7.
|
|
11
|
+
<img src="https://img.shields.io/badge/PyPI-v0.7.3-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
|
|
12
12
|
</a>
|
|
13
13
|
<img src="https://img.shields.io/pypi/pyversions/isnady?style=for-the-badge&color=A47E24&logo=python&logoColor=white" alt="Python">
|
|
14
14
|
<img src="https://img.shields.io/badge/Platform-Windows%20%7C%20Linux%20%7C%20macOS-5B6878?style=for-the-badge" alt="Platform">
|
|
15
15
|
<a href="https://www.npmjs.com/package/isnady">
|
|
16
|
-
<img src="https://img.shields.io/badge/npm-v0.7.
|
|
16
|
+
<img src="https://img.shields.io/badge/npm-v0.7.3-14304F?style=for-the-badge&logo=npm" alt="npm">
|
|
17
17
|
</a>
|
|
18
18
|
<a href="https://github.com/bayramkotan/isnady-data">
|
|
19
19
|
<img src="https://img.shields.io/badge/data-isnady--data-2E6B4F?style=for-the-badge&logo=github" alt="isnady-data">
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/search-arabic.png" alt="Searching النيات finds بالنيات in Sahih al-Bukhari 1, with the chain above the text" width="850">
|
|
49
49
|
</p>
|
|
50
50
|
|
|
51
|
-
> **Pre-alpha (0.7.
|
|
51
|
+
> **Pre-alpha (0.7.3).** Search, chains of transmission, narrators, books, scholars, statistics and
|
|
52
52
|
> the glossary work today, Sunni and Shia, on data you import in one click. Everything is built in
|
|
53
53
|
> the open, one piece at a time.
|
|
54
54
|
|
|
@@ -83,8 +83,8 @@ isnady is two repositories that work as one:
|
|
|
83
83
|
─────────────────────── ──────────────────
|
|
84
84
|
catalog.json ─────────────── Data sources ───▶ import ─▶ isnady.db ─▶ search · chains · narrators
|
|
85
85
|
quran/ (your data folder) books · scholars · statistics
|
|
86
|
-
sunni
|
|
87
|
-
sira/ tabaqat/
|
|
86
|
+
hadith/sunni/ hadith/shia/ window and command line
|
|
87
|
+
sahifa/sunni|shia/ sira/sunni/ tabaqat/sunni/ rijal/sunni|shia/
|
|
88
88
|
Releases: isnady-db-<date>.zip ── Use a ready database… ──▶ isnady.db
|
|
89
89
|
```
|
|
90
90
|
|
|
@@ -253,6 +253,7 @@ listed in **Data sources** and imported from there with one click — or all of
|
|
|
253
253
|
|---|---|---|
|
|
254
254
|
| 📖 **The Qur'an** | The Arabic (Tanzil's text, verbatim) and **60 translations in 18 languages** — Turkish 20 (Diyanet İşleri, Diyanet Vakfı, Elmalılı Hamdi Yazır, Ali Bulaç, Süleyman Ateş, Hasan Basri Çantay …), English 12 (Saheeh International, Abdel Haleem, Mustafa Khattab …), Urdu, Indonesian, Bengali, French, Russian, Tamil, German, Persian, Spanish, Bosnian, Albanian, Azerbaijani, Uzbek, Kazakh, Tatar, Malay | Books → The Qur'an: each verse with the translations chosen, and the hadith that name it |
|
|
255
255
|
| 📚 **Hadith** | 17 Sunni and 16 Shia collections — 99,746 hadith (below) | Search, Books, Isnad Chains, Statistics |
|
|
256
|
+
| 📜 **Written sources** | 6 Sunni (the Sahifa of Hammam b. Munabbih 138, al-Sahifa al-Sadiqa 253, the sahifa of 'Ali, Abu Bakr's letter on zakat, the letter for 'Amr b. Hazm, writing in the chains) and 4 Shia (the Book of 'Ali, al-Jami'a, Mushaf Fatima as the Shia books relate it, the letters to the Imams) — each a list of where its hadith stand in the collections | Books, as a book of its own; Written sources |
|
|
256
257
|
| 🕌 **Sira** | Ibn Hisham, *al-Sira al-Nabawiyya* (from Ibn Ishaq) — 264 chapters, 2,109 sections | Books, chapter by chapter |
|
|
257
258
|
| 👥 **Tabaqat** | al-Dhahabi, *Siyar A'lam al-Nubala'* (5,851 lives) and *Tadhkirat al-Huffaz* (1,176 huffaz in 21 generations) | Books; the text beside a narrator's written life; Hadith Scholars → Huffaz |
|
|
258
259
|
| ⚖ **Rijal** | Ibn Hajar, *Taqrib al-Tahdhib* (8,824) · al-Najashi, *Rijal* (1,266) | Narrators, and every chain's narrators identified |
|
|
@@ -267,17 +268,23 @@ The hadith collections, Sunni and Shia apart:
|
|
|
267
268
|
### How it is laid out
|
|
268
269
|
|
|
269
270
|
```
|
|
270
|
-
isnady-data/
|
|
271
|
+
isnady-data/ each KIND in its folder, each ROAD in its own under it
|
|
271
272
|
├── catalog.json the list isnady reads (isnady-catalog/1): "entries" and the "library"
|
|
272
|
-
├── quran/ suras.json,
|
|
273
|
-
├──
|
|
274
|
-
├── sunni/
|
|
275
|
-
├──
|
|
276
|
-
|
|
277
|
-
├──
|
|
278
|
-
├──
|
|
279
|
-
|
|
280
|
-
├──
|
|
273
|
+
├── quran/ the Qur'an, both roads': suras.json, ara/, tur/tur-diyanetisleri.json …
|
|
274
|
+
├── hadith/
|
|
275
|
+
│ ├── sunni/sahih_al_bukhari/ book.json (numbers, chapters, references, grades) + ara.json, eng.json, tur.json …
|
|
276
|
+
│ ├── sunni/musnad_ahmad_ibn_hanbal/ …
|
|
277
|
+
│ └── shia/al_kafi_al_kulayni/ …
|
|
278
|
+
├── sahifa/
|
|
279
|
+
│ ├── sunni/sahifat_hammam_ibn_munabbih.json a written source: [book, number] of its hadith (isnady-sahifa/1)
|
|
280
|
+
│ └── shia/kitab_ali_fi_al_kutub_al_shiiyya.json …
|
|
281
|
+
├── sira/
|
|
282
|
+
│ └── sunni/al_sira_al_nabawiyya_ibn_hisham.md
|
|
283
|
+
├── tabaqat/
|
|
284
|
+
│ └── sunni/siyar_alam_al_nubala_al_dhahabi.md, tadhkirat_al_huffaz_al_dhahabi.md
|
|
285
|
+
├── rijal/
|
|
286
|
+
│ ├── sunni/taqrib_al_tahdhib_ibn_hajar_al_asqalani.md
|
|
287
|
+
│ └── shia/rijal_al_najashi_ahmad_ibn_ali_al_najashi.md
|
|
281
288
|
├── derived/ statistics and models already computed, as JSON
|
|
282
289
|
└── database.json the ready database of the latest Release
|
|
283
290
|
```
|
|
@@ -291,7 +298,22 @@ isnady-data/
|
|
|
291
298
|
per language with the chapter titles and the texts. The formats are described in the
|
|
292
299
|
[isnady-data README](https://github.com/bayramkotan/isnady-data#-the-formats).
|
|
293
300
|
- **Sunni and Shia apart.** Every book says its tradition, and isnady keeps them on their own roads
|
|
294
|
-
(below)
|
|
301
|
+
(below): in the repository each kind has a folder for each road, `hadith/sunni/` beside `hadith/shia/`.
|
|
302
|
+
- **Data sources is laid out the same way.** One button for each kind — *The Qur'an · Hadith collections · Written
|
|
303
|
+
sources · Sira · Tabaqat · Rijal*, each with how many books it holds — then *Both roads · Sunni · Shia*; under each
|
|
304
|
+
road its folder in the repository (`isnady-data/hadith/sunni/`) and its books. **Every book's card is the same:**
|
|
305
|
+
its tags (kind, road, licence, size), what it is, its **languages** (a hadith collection's translations, the
|
|
306
|
+
Qur'an's translations by language with *Translators…* for the others, *Arabic* for the works written in it), and
|
|
307
|
+
the same four buttons — **Import** (or **Update**), **Remove data**, **Open in Books**, **Export…** (the hadith
|
|
308
|
+
collections; for the other kinds it is shown greyed out, with the reason). `iy catalog list` lists them in the
|
|
309
|
+
same order, each kind and road under its folder.
|
|
310
|
+
- **The layout of 0.7.3.** Until 0.7.2 the hadith collections stood at `sunni/<book>/` and `shia/<book>/`, and the
|
|
311
|
+
sira and tabaqat with no road folder. isnady 0.7.3 reads the new places at once; an older isnady finds them after
|
|
312
|
+
**Refresh** in Data sources (or by itself a day later).
|
|
313
|
+
- **A written source is a book that copies nothing.** Its file lists `[book, number]` for each of its hadith;
|
|
314
|
+
importing it makes a book of **Books** whose chapters are the collections it lives in (for Hammam: Musnad Ahmad
|
|
315
|
+
138, then its parallels in al-Bukhari, Muslim …), each leaf the hadith itself in its own collection. Search and the
|
|
316
|
+
statistics still count every hadith once. Not imported yet? It waits on the shelf of Books: one click imports it.
|
|
295
317
|
- **Your own data stays yours.** What you import from your own files is never written into a
|
|
296
318
|
ready database for isnady-data: it does not leave your computer.
|
|
297
319
|
|
|
@@ -318,7 +340,11 @@ must match the `database.json` beside it), puts it in place at the next start an
|
|
|
318
340
|
previous database beside it (`isnady.<date-time>.bak.db`). Nothing is deleted.
|
|
319
341
|
|
|
320
342
|
<p align="center">
|
|
321
|
-
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources.png" alt="Settings → Data sources —
|
|
343
|
+
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources.png" alt="Settings → Data sources — one button for each kind of book, then the road; the Sunni hadith collections under isnady-data/hadith/sunni/, each card with its languages and the same four buttons: Update, Remove data, Open in Books, Export" width="760">
|
|
344
|
+
</p>
|
|
345
|
+
<p align="center">
|
|
346
|
+
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources-sahifa.png" alt="Data sources → Written sources — the Sunni ones under isnady-data/sahifa/sunni/ and the Shia ones under sahifa/shia/, each with the same card" width="49%">
|
|
347
|
+
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources-quran.png" alt="Data sources → The Qur'an — the translations ticked by language, Translators… for the others, and the same four buttons" width="49%">
|
|
322
348
|
</p>
|
|
323
349
|
|
|
324
350
|
### Other repositories
|
|
@@ -739,6 +765,17 @@ writing lives in the books imported here — the Sunni road and the Shia road ap
|
|
|
739
765
|
Every list is isnady's reading of the texts — a chain or a wording — and the page says how each was found. In the
|
|
740
766
|
terminal: `iy sahifa`, `iy sahifa hammam`, `iy sahifa kitab-ali`.
|
|
741
767
|
|
|
768
|
+
**Each one is also a book.** isnady-data keeps every written source as its own entry — under `sahifa/sunni/` and
|
|
769
|
+
`sahifa/shia/` — and **Data sources → Written sources** lists them the same way, the Sunni road and the Shia road
|
|
770
|
+
apart. Imported, it stands on the shelf of **Books** with them (*Sunni written sources · 6*, *Shia written sources ·
|
|
771
|
+
4*) and reads chapter by chapter: the Sahifa of Hammam opens with Musnad Ahmad (138), then *Its parallels in Sahih
|
|
772
|
+
al-Bukhari* (56), *in Sahih Muslim* (56) … Nothing is copied — each leaf is the hadith in its own collection. From the
|
|
773
|
+
terminal: `iy catalog import hammam`, `iy book sahifat_hammam_ibn_munabbih`.
|
|
774
|
+
|
|
775
|
+
<p align="center">
|
|
776
|
+
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/books-sahifa.png" alt="Books — the Sahifa of Hammam b. Munabbih as a book: Musnad Ahmad 138, then its parallels in al-Bukhari, Muslim, al-Adab al-Mufrad, al-Tirmidhi and Abu Dawud" width="850">
|
|
777
|
+
</p>
|
|
778
|
+
|
|
742
779
|
<p align="center">
|
|
743
780
|
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/written-sources.png" alt="Written sources — the Sahifa of Hammam b. Munabbih: 138 hadith in the Musnad, 84 with parallels in al-Bukhari, Muslim and the others" width="850">
|
|
744
781
|
</p>
|
|
@@ -999,6 +1036,8 @@ and Lexend for the interface and the translations, Baloo 2 for the titles — wh
|
|
|
999
1036
|
Then *Lapis* (lapis and gold of illuminated manuscripts) and *Lapis Night*; *Paper* (warm cream and ink, for long
|
|
1000
1037
|
reading); *Slate*; *Emerald*; *Midnight*; and *High Contrast* (black, white and yellow, for low vision). Every theme has
|
|
1001
1038
|
the same round corners, room and sidebar signs; each keeps its own colours and typefaces.
|
|
1039
|
+
The Preferences window maximizes and minimizes like any other (and can be resized from its corner), so Data sources
|
|
1040
|
+
and the long lists have the whole screen when they need it.
|
|
1002
1041
|
|
|
1003
1042
|
Every script has its own reading font, size, colour and line spacing — Arabic, Latin, Cyrillic,
|
|
1004
1043
|
Bengali and Tamil today. The light and the dark theme each keep their own colours, and the interface
|
|
@@ -1342,11 +1381,13 @@ iy stats corpus --recompute # compute again
|
|
|
1342
1381
|
### 📚 Data, books and sources
|
|
1343
1382
|
|
|
1344
1383
|
```bash
|
|
1345
|
-
iy catalog list # the books of the repository
|
|
1384
|
+
iy catalog list # the books of the repository, each kind and road under its folder
|
|
1346
1385
|
iy catalog import sahih_muslim --language tur --language eng # one book, in these languages
|
|
1347
1386
|
iy catalog import --all # everything: the Qur'an, the hadith, the sira, the tabaqat, the rijal
|
|
1348
1387
|
iy catalog import quran # the Qur'an (the Arabic and a translation); more: iy quran download KEY
|
|
1349
1388
|
iy catalog import sira # Ibn Hisham's Sira; siyar, tadhkira: al-Dhahabi's two works
|
|
1389
|
+
iy catalog import hammam # a written source as a book: hammam, sadiqa, ali, kitab-ali, jamia, fatima …
|
|
1390
|
+
iy book sahifat_hammam_ibn_munabbih # its chapters: Musnad Ahmad 138, then its parallels in each book
|
|
1350
1391
|
iy book sira # its 264 chapters; iy book sira 12: read chapter 12; iy book siyar 3
|
|
1351
1392
|
iy catalog languages add tr en # one language for every book (Arabic always stays)
|
|
1352
1393
|
iy catalog remove sahih_muslim # remove what was imported of it
|
package/index.js
CHANGED