isnady 0.7.6 → 0.7.8

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 +42 -12
  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.6-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.7.8-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.6-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.7.8-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.6).** Search, chains of transmission, narrators, books, scholars, statistics and
51
+ > **Pre-alpha (0.7.8).** 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
 
@@ -507,6 +507,20 @@ than choosing one. In blind, hand-checked samples of the identified names, the l
507
507
  correct. Names are kept exactly as written, with the clarifications the compilers added
508
508
  (*"— yaʿnī Ibn Muḥammad —"*).
509
509
 
510
+ **The rijal works' words, and isnady's guesses (0.7.8).** By default a name is linked to a narrator only by what the
511
+ rijal works themselves say: his name as Ibn Hajar, al-Najashi or al-Tusi gives it (written as they write it, or with
512
+ the ism and father in order and the rest of the name after them), the book's mark, the order of generations, the
513
+ Companion at the end, his patron named in his entry ("نافع مولى ابن عمر"), his father's name as his son's entry gives
514
+ it, the compiler's own teacher (al-Kulayni's, al-Saduq's father, Malik at the head of the Muwatta'), al-Najashi's entry
515
+ before al-Tusi's. Everything else isnady once did by its own rules — which teacher and student are seen together in
516
+ other chains, the famous narrator of a bare name, its lists of who narrates from whom, the names it knows men by, a
517
+ name found inside an entry, a father weighed from his son's nasab, a son taken with his father — is isnady's
518
+ inference, not the scholars' words: it is off unless turned on (**Tools → Narrator Guesses**, `iy guess on`), and every
519
+ narrator it finds is marked in the chain as **isnady's guess**, with its reason; turned off again (`iy guess off`), the
520
+ guesses are gone. Nothing in the books' texts or the rijal entries is changed either way. On the whole of isnady-data,
521
+ by the rijal works' words alone **52.4%** of the Sunni links and **56.1%** of the Shia links name their narrator
522
+ (al-Bukhari 56.8%, Muslim 65.5%, al-Kafi 61.3%); with the guesses, 83.8% and 67.7%, the guessed ones marked.
523
+
510
524
  **More narrators known (0.7.6).** Ibn Hajar writes inside a name how it is spelt — "سماك بكسر أوله وتخفيف الميم بن
511
525
  حرب" — and those words had kept 1,952 of his entries from the chains' plain "سماك بن حرب"; they are now left out of
512
526
  the name looked up (the entry keeps them). A name the chains give without "بن" — a kunya, a nisba, an ism with its
@@ -517,18 +531,34 @@ companions of the Imams al-Najashi left out. On the whole of isnady-data, the na
517
531
  to 79.4%** of the Sunni links and from **53.8% to 66.8%** of the Shia links (al-Kafi 65% → 75%); the chains
518
532
  themselves are read as before. The Python isnady and isnady-rs identify the same narrator at every link.
519
533
 
534
+ **Fathers and bare names (0.7.7; isnady's guesses since 0.7.8).** "عن أبيه" is now read from the son's own entry far more often: the father is the
535
+ entry that carries what the son's nasab says of him — his grandfather (with the letters' dots set aside: "الخصيب" is
536
+ "الحصيب"), his kunya anywhere in his entry, the ancestors above him, his tribe, his patron, or the son named in it
537
+ ("والد عطاء", "أبو المعتمر"): Mu'tamir's father is Sulayman al-Taymi, Ibn Abi Najih's Abu Najih Yasar, 'Ata' b.
538
+ al-Sa'ib's al-Sa'ib b. Malik, Ahmad b. Muhammad b. 'Isa's Muhammad b. 'Isa al-Ash'ari. A son left between namesakes —
539
+ "سالم عن أبيه", "يعقوب، حدثنا أبي", "ابن نمير، حدثنا أبي" — is the one whose entry gives him a father, taken with that
540
+ father when the chains have seen the pair. And the bare names left open most often are read by the narrators around
541
+ them, as the books of *tamyiz al-muhmal* read them: "محمد بن جعفر" from Shu'ba is Ghundar, "يحيى بن سعيد" between
542
+ Musaddad and Shu'ba al-Qattan and between Malik and 'Amra the Ansari qadi, "إسماعيل" from Ayyub Ibn 'Ulayya and from
543
+ Qays Ibn Abi Khalid, "جرير" from Mansur Ibn 'Abd al-Hamid, "عطاء" from Ibn Jurayj Ibn Abi Rabah, "زهير" from Abu
544
+ Ishaq Ibn Mu'awiya, "حجاج", "جابر"; "غندر", "أحمد بن يونس" and "عبد بن حميد" are found by those names. On the whole of
545
+ isnady-data the narrators identified rose from **79.4% to 83.8%** of the Sunni links (al-Bukhari 84.8% → 89.7%,
546
+ Muslim 86.2% → 91.0%, Ahmad's Musnad 70.8% → 76.1%) and from **66.8% to 67.7%** of the Shia links — the same in both
547
+ programs, table by table.
548
+
520
549
  <details>
521
550
  <summary><b>📊 How well it reads today</b></summary>
522
551
  <br>
523
552
 
524
- | | Chains (roads) | Read whole | Reaching the Prophet / a Ma'sum | Names identified |
553
+ | | Chains (roads) | Read whole | Reaching the Prophet / a Ma'sum | Names identified (the rijal works' words / with isnady's guesses) |
525
554
  |:--|--:|--:|--:|--:|
526
- | Sahih al-Bukhari | 8,085 | 99.7% | 78.3% | 81.6% |
527
- | Sahih Muslim | 12,382 | 100.0% | 70.7% | 82.8% |
528
- | Sunan Abi Dawud | 6,422 | 100.0% | 76.7% | 79.2% |
529
- | al-Kafi (read the Shia way) | 14,436 | 98.8% | 94.6% | 65.2% |
555
+ | Sahih al-Bukhari | 8,085 | 99.7% | 78.3% | 56.8% / 89.7% |
556
+ | Sahih Muslim | 12,382 | 100.0% | 70.7% | 65.5% / 91.0% |
557
+ | Sunan Abi Dawud | 6,422 | 100.0% | 76.7% | 60.1% / 86.6% |
558
+ | al-Kafi (read the Shia way) | 14,436 | 98.8% | 94.6% | 61.3% / 75.9% |
530
559
 
531
- (isnady 0.5.4, chains isnady-isnad-15, narrators isnady-narrators-17. A road of a tahwil (ح) is a chain of its own;
560
+ (isnady 0.5.4, chains isnady-isnad-15; the names identified: isnady 0.7.8, narrators isnady-narrators-20, on the whole
561
+ of isnady-data. A road of a tahwil (ح) is a chain of its own;
532
562
  "reaching" counts the chains whose last link is the Prophet ﷺ or a Ma'sum — a chain may also end with a Companion's
533
563
  own word. Only what the text says is drawn: where a book writes "وعنه" or "بهذا الإسناد", the chain of the hadith
534
564
  before it is drawn beside the road, marked as taken from there, and kept out of these figures; a text that merely
@@ -623,7 +653,8 @@ The **Narrators** page lists every narrator of the imported rijal works — **Al
623
653
 
624
654
  **Who a name in a chain is.** A chain names its men as the narrators named each other — "Ibrahim", "Abu Ishaq",
625
655
  "al-Hasan" — and isnady reads each name against the Taqrib (or al-Najashi on road B) by the name itself, the
626
- generation, the books, and then by its neighbours: whom the same pair of teacher and student is in the chains where
656
+ generation, the books, and then — only with Tools → Narrator Guesses on, each one marked as isnady's guess — by its
657
+ neighbours: whom the same pair of teacher and student is in the chains where
627
658
  they are named in full; a client named "mawla of X" by his patron; the well-known men a bare name means in a given
628
659
  circle (Ibrahim from 'Alqama is al-Nakha'i, Abu Ishaq from al-Bara' is al-Sabi'i, al-Humaydi's Sufyan is Ibn
629
660
  'Uyayna, Abu Nu'aym's al-Thawri, "Hisham from his father" Hisham b. 'Urwa); and last, a bare name still open is the
@@ -632,8 +663,7 @@ famous man of that name when nothing else excludes him ("Anas" Anas b. Malik, "M
632
663
  to a name. On road B the same help reads al-Kulayni's chains: his teachers named short ("'Ali b. Ibrahim" b. Hashim
633
664
  al-Qummi, "Muhammad b. Yahya" al-'Attar), the nisbas and kunyas the chains use alone (al-Sakuni, al-Nawfali, Abu
634
665
  Basir, al-Halabi, Ibn Faddal) and "from his father" read from the son's full name ("'Ali b. Ibrahim from his father"
635
- is Ibrahim b. Hashim). About 280,000 links are identified this way — two of every three in the Sunni chains, one in
636
- two in the Shia ones.
666
+ is Ibrahim b. Hashim).
637
667
 
638
668
  **Who is not a narrator.** The Prophet ﷺ named by his kunya or an epithet ("سمعت أبا القاسم ﷺ", "حدثني خليلي",
639
669
  "الصادق المصدوق") ends the chain; he is never matched to a narrator of that kunya. The man a Companion tells a story
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.6";
9
+ export const version = "0.7.8";
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.6",
3
+ "version": "0.7.8",
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",