isnady 0.7.2 → 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.
Files changed (3) hide show
  1. package/README.md +41 -24
  2. package/index.js +1 -1
  3. 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.2-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
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.2-14304F?style=for-the-badge&logo=npm" alt="npm">
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.2).** Search, chains of transmission, narrators, books, scholars, statistics and
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/<book>/ shia/<book>/ window and command line
87
- sira/ tabaqat/ rijal/sunni/ rijal/shia/
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
 
@@ -268,19 +268,23 @@ The hadith collections, Sunni and Shia apart:
268
268
  ### How it is laid out
269
269
 
270
270
  ```
271
- isnady-data/
271
+ isnady-data/ each KIND in its folder, each ROAD in its own under it
272
272
  ├── catalog.json the list isnady reads (isnady-catalog/1): "entries" and the "library"
273
- ├── quran/ suras.json, the Arabic and the translations (quran/tur/tur-diyanetisleri.json …)
274
- ├── sunni/sahih_al_bukhari/ book.json (numbers, chapters, references, grades) + ara.json, eng.json, tur.json …
275
- ├── sunni/musnad_ahmad_ibn_hanbal/
276
- ├── shia/al_kafi_al_kulayni/
277
- ├── rijal/sunni/taqrib_al_tahdhib_ibn_hajar_al_asqalani.md
278
- ├── rijal/shia/rijal_al_najashi_ahmad_ibn_ali_al_najashi.md
279
- ├── sahifa/sunni/sahifat_hammam_ibn_munabbih.json a written source: [book, number] of its hadith (isnady-sahifa/1)
280
- ├── sahifa/shia/kitab_ali_fi_al_kutub_al_shiiyya.json
281
- ├── sira/al_sira_al_nabawiyya_ibn_hisham.md
282
- ├── tabaqat/siyar_alam_al_nubala_al_dhahabi.md
283
- ├── tabaqat/tadhkirat_al_huffaz_al_dhahabi.md
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
284
288
  ├── derived/ statistics and models already computed, as JSON
285
289
  └── database.json the ready database of the latest Release
286
290
  ```
@@ -294,9 +298,18 @@ isnady-data/
294
298
  per language with the chapter titles and the texts. The formats are described in the
295
299
  [isnady-data README](https://github.com/bayramkotan/isnady-data#-the-formats).
296
300
  - **Sunni and Shia apart.** Every book says its tradition, and isnady keeps them on their own roads
297
- (below). **Data sources** shows them that way too: the Qur'an, then *the Sunni road* (hadith, written sources,
298
- sira, tabaqat, rijal), then *the Shia road* (hadith, written sources, rijal), with *All · Sunni · Shia* on top
299
- and a tile for each group that takes you to it.
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).
300
313
  - **A written source is a book that copies nothing.** Its file lists `[book, number]` for each of its hadith;
301
314
  importing it makes a book of **Books** whose chapters are the collections it lives in (for Hammam: Musnad Ahmad
302
315
  138, then its parallels in al-Bukhari, Muslim …), each leaf the hadith itself in its own collection. Search and the
@@ -327,7 +340,11 @@ must match the `database.json` beside it), puts it in place at the next start an
327
340
  previous database beside it (`isnady.<date-time>.bak.db`). Nothing is deleted.
328
341
 
329
342
  <p align="center">
330
- <img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources.png" alt="Settings → Data sources — the Sunni road and the Shia road apart: the hadith collections, then the Sunni written sources (the Sahifa of Hammam b. Munabbih, al-Sahifa al-Sadiqa …), each imported with one click" width="760">
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%">
331
348
  </p>
332
349
 
333
350
  ### Other repositories
@@ -749,8 +766,8 @@ Every list is isnady's reading of the texts — a chain or a wording — and the
749
766
  terminal: `iy sahifa`, `iy sahifa hammam`, `iy sahifa kitab-ali`.
750
767
 
751
768
  **Each one is also a book.** isnady-data keeps every written source as its own entry — under `sahifa/sunni/` and
752
- `sahifa/shia/` — and **Data sources** lists them in their own groups, *Sunni written sources* and *Shia written
753
- sources*. Imported, it stands on the shelf of **Books** with them (*Sunni written sources · 6*, *Shia written sources ·
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 ·
754
771
  4*) and reads chapter by chapter: the Sahifa of Hammam opens with Musnad Ahmad (138), then *Its parallels in Sahih
755
772
  al-Bukhari* (56), *in Sahih Muslim* (56) … Nothing is copied — each leaf is the hadith in its own collection. From the
756
773
  terminal: `iy catalog import hammam`, `iy book sahifat_hammam_ibn_munabbih`.
@@ -1364,7 +1381,7 @@ iy stats corpus --recompute # compute again
1364
1381
  ### 📚 Data, books and sources
1365
1382
 
1366
1383
  ```bash
1367
- iy catalog list # the books of the repository: the Qur'an, the Sunni road, the Shia road
1384
+ iy catalog list # the books of the repository, each kind and road under its folder
1368
1385
  iy catalog import sahih_muslim --language tur --language eng # one book, in these languages
1369
1386
  iy catalog import --all # everything: the Qur'an, the hadith, the sira, the tabaqat, the rijal
1370
1387
  iy catalog import quran # the Qur'an (the Arabic and a translation); more: iy quran download KEY
package/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * database (used by both the Python and JavaScript packages) exists.
7
7
  */
8
8
 
9
- export const version = "0.7.2";
9
+ export const version = "0.7.3";
10
10
  export const name = "isnady";
11
11
 
12
12
  /** Returns basic package information. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isnady",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Hadith search with full isnad chains, narrator biographies, jarh wa ta'dil verdicts and reliability scores",
5
5
  "type": "module",
6
6
  "main": "./index.js",