isnady 0.7.5 → 0.7.7

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 +44 -17
  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.5-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.7.7-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.5-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.7.7-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.5).** Search, chains of transmission, narrators, books, scholars, statistics and
51
+ > **Pre-alpha (0.7.7).** 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
 
@@ -74,7 +74,7 @@ isnady is two repositories that work as one:
74
74
  | | [**bayramkotan/isnady**](https://github.com/bayramkotan/isnady) — the application | [**bayramkotan/isnady-data**](https://github.com/bayramkotan/isnady-data) — the data |
75
75
  |---|---|---|
76
76
  | **What it is** | The program: a desktop window and a command line on one engine | Every book isnady reads — the Qur'an, the hadith, the sira, the lives of the scholars, the rijal — in one format |
77
- | **What is in it** | Search, the chain reader (Sunni and Shia), narrator identification, books, scholars, statistics, the glossary, meaning search | **The Qur'an** with 60 translations in 18 languages · **17 Sunni and 16 Shia hadith collections — 99,746 hadith** — in Arabic and up to eight translations, with their grades · **Ibn Hisham's *Sira*** · **al-Dhahabi's *Siyar* and *Tadhkira*** · **Ibn Hajar's *Taqrib*** (8,824 narrators) and **al-Najashi's *Rijal*** (1,266) |
77
+ | **What is in it** | Search, the chain reader (Sunni and Shia), narrator identification, books, scholars, statistics, the glossary, meaning search | **The Qur'an** with 60 translations in 18 languages · **17 Sunni and 16 Shia hadith collections — 99,746 hadith** — in Arabic and up to eight translations, with their grades · **Ibn Hisham's *Sira*** · **al-Dhahabi's *Siyar* and *Tadhkira*** · **Ibn Hajar's *Taqrib*** (8,824 narrators), **al-Najashi's *Rijal*** (1,269) and **al-Tusi's *Fihrist* and *Rijal*** (910 and 6,429) |
78
78
  | **How you get it** | [PyPI](https://pypi.org/project/isnady/) (`pip install isnady`), the desktop applications of the [Releases](https://github.com/bayramkotan/isnady/releases/latest), or the one-line installers | Nothing to download by hand: isnady lists its books in **Data sources** and imports them in one click — or clone it and read it offline, or take a whole [ready database](https://github.com/bayramkotan/isnady-data/releases) |
79
79
  | **Licence** | MIT | each book its own, recorded with it (Help → Licences) |
80
80
 
@@ -239,8 +239,8 @@ administrator prompt on Windows). If an old copy starts even for `iy update`, ru
239
239
  the languages you want and press **Import** — or **Import all**. **Languages for every book** adds a language to
240
240
  all the books that have it (or takes it out of all of them) in one step. Later, **⟳ Get updates** brings in only
241
241
  what is new or changed in the repository.
242
- 3. **Import the narrators too** — Ibn Hajar's *Taqrib* for the Sunni books, al-Najashi's *Rijal*
243
- for the Shia books — and every name in every chain is matched to its narrator.
242
+ 3. **Import the narrators too** — Ibn Hajar's *Taqrib* for the Sunni books, al-Najashi's *Rijal* and
243
+ al-Tusi's *Fihrist* and *Rijal* for the Shia books — and every name in every chain is matched to its narrator.
244
244
  4. **Search**, open a chain, open a narrator, read a book.
245
245
 
246
246
  The same from the command line:
@@ -286,14 +286,14 @@ repository added to a book that you read in your other books. Nothing else is re
286
286
  | 📜 **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 |
287
287
  | 🕌 **Sira** | Ibn Hisham, *al-Sira al-Nabawiyya* (from Ibn Ishaq) — 264 chapters, 2,109 sections | Books, chapter by chapter |
288
288
  | 👥 **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 |
289
- | ⚖ **Rijal** | Ibn Hajar, *Taqrib al-Tahdhib* (8,824) · al-Najashi, *Rijal* (1,266) | Narrators, and every chain's narrators identified |
289
+ | ⚖ **Rijal** | Ibn Hajar, *Taqrib al-Tahdhib* (8,824) · al-Najashi, *Rijal* (1,269) · al-Tusi, *al-Fihrist* (910) and *Rijal* (6,429) | Narrators, and every chain's narrators identified |
290
290
 
291
291
  The hadith collections, Sunni and Shia apart:
292
292
 
293
293
  | | Sunni | Shia |
294
294
  |---|---|---|
295
295
  | **Hadith collections** | **17 books, 76,132 hadith.** Sahih al-Bukhari, Sahih Muslim, Sunan Abi Dawud, Jami' al-Tirmidhi, Sunan al-Nasa'i, Sunan Ibn Majah, the Muwatta — Arabic and up to eight translations (English, Turkish, Urdu, Indonesian, Bengali, French, Russian, Tamil), graded by al-Albani, Shu'ayb al-Arna'ut, Zubair 'Ali Za'i and others · the Forty of al-Nawawi, Forty Hadith Qudsi, the Forty of Shah Waliullah · Musnad Ahmad ibn Hanbal (26,363) and Sunan al-Darimi, fully voweled · Riyad al-Salihin, al-Shama'il al-Muhammadiyya, Bulugh al-Maram, al-Adab al-Mufrad, Mishkat al-Masabih, Arabic and English | **16 books, 23,614 hadith.** al-Kulayni's **al-Kafi** (8 volumes, 14,241 hadith, al-Majlisi's grade on nearly every one, al-Behbudi's selection) · al-Saduq's 'Uyun Akhbar al-Rida, al-Amali, al-Khisal, al-Tawhid, Ma'ani al-Akhbar, Thawab al-A'mal, Sifat al-Shi'a, Fada'il al-Shi'a · al-Mufid's al-Amali · Ibn Qulawayh's Kamil al-Ziyarat · al-Nu'mani's and al-Tusi's Kitab al-Ghayba · al-Ahwazi's al-Mu'min and al-Zuhd · al-Muhsini's Mu'jam al-Ahadith al-Mu'tabara — Arabic and English |
296
- | **Narrators** | Ibn Hajar, *Taqrib al-Tahdhib* — 8,824 narrators: verdict, rank of twelve, tabaqa, death year, book marks | al-Najashi, *Rijal* — 1,266 authors and narrators: reliability and creed in the Imami terms |
296
+ | **Narrators** | Ibn Hajar, *Taqrib al-Tahdhib* — 8,824 narrators: verdict, rank of twelve, tabaqa, death year, book marks | al-Najashi, *Rijal* — 1,269 authors and narrators; al-Tusi, *al-Fihrist* — 910 authors, and *Rijal* — 6,429 companions of the Prophet and the Imams: reliability and creed in the Imami terms |
297
297
 
298
298
  ### How it is laid out
299
299
 
@@ -406,7 +406,7 @@ repository with an isnady catalog, a Hugging Face dataset, a URL or a folder (`i
406
406
  | [LK Hadith Corpus](https://github.com/ShathaTm/LK-Hadith-Corpus) | the six books, isnad and matn marked apart | not stated |
407
407
  | [meeAtif/hadith_datasets](https://huggingface.co/datasets/meeAtif/hadith_datasets) (Hugging Face) | the six books, Arabic + English | MIT (as declared) |
408
408
  | [Hadith-Data-Sets](https://github.com/abdelrahmaan/Hadith-Data-Sets) | the nine books, Arabic | not stated |
409
- | [OpenITI](https://github.com/OpenITI) | the Taqrib, al-Najashi's Rijal | not stated |
409
+ | [OpenITI](https://github.com/OpenITI) | the Taqrib, al-Najashi's Rijal, al-Tusi's Fihrist and Rijal | not stated |
410
410
 
411
411
  Every source records a licence **tier** — **A** may be redistributed, **B** under its conditions,
412
412
  **C** may not — and **Help → Licences** lists them all. Any CSV or JSON table of hadith can be read
@@ -497,7 +497,8 @@ above its text.
497
497
  ### 👤 Who each narrator is
498
498
 
499
499
  Every name in a chain is matched to a narrator of its own tradition's rijal work — the *Taqrib*
500
- for a Sunni book, al-Najashi for a Shia book. A name is linked only when the evidence leaves one
500
+ for a Sunni book, al-Najashi for a Shia book (then al-Tusi's *Fihrist*, then his *Rijal*, for the men al-Najashi
501
+ does not have: a man found in an earlier book is that book's entry). A name is linked only when the evidence leaves one
501
502
  person: the words of the name, the book marks (a narrator in al-Bukhari must be one Ibn Hajar marks
502
503
  خ), the order of generations along the chain, the last link before the Prophet being a Companion,
503
504
  and — in al-Kafi — al-Kulayni's own teachers at the head of his chains. When several narrators
@@ -506,18 +507,44 @@ than choosing one. In blind, hand-checked samples of the identified names, the l
506
507
  correct. Names are kept exactly as written, with the clarifications the compilers added
507
508
  (*"— yaʿnī Ibn Muḥammad —"*).
508
509
 
510
+ **More narrators known (0.7.6).** Ibn Hajar writes inside a name how it is spelt — "سماك بكسر أوله وتخفيف الميم بن
511
+ حرب" — and those words had kept 1,952 of his entries from the chains' plain "سماك بن حرب"; they are now left out of
512
+ the name looked up (the entry keeps them). A name the chains give without "بن" — a kunya, a nisba, an ism with its
513
+ nisba: "عمرو الناقد", "خالد الحذاء", "القعنبي", "أبي الصباح الكناني" — is found inside the entries' names when no
514
+ entry begins with it; "سمعت أنسا" is Anas; al-Saduq's "حدثنا أبي" (and "أبي ره") is his father. With al-Tusi's two
515
+ books beside al-Najashi, the Shia chains find al-Hasan b. Mahbub, al-Husayn b. Sa'id, al-Nadr b. Suwayd and the
516
+ companions of the Imams al-Najashi left out. On the whole of isnady-data, the narrators identified rose from **76.7%
517
+ 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
+ themselves are read as before. The Python isnady and isnady-rs identify the same narrator at every link.
519
+
520
+ **Fathers and bare names (0.7.7).** "عن أبيه" is now read from the son's own entry far more often: the father is the
521
+ entry that carries what the son's nasab says of him — his grandfather (with the letters' dots set aside: "الخصيب" is
522
+ "الحصيب"), his kunya anywhere in his entry, the ancestors above him, his tribe, his patron, or the son named in it
523
+ ("والد عطاء", "أبو المعتمر"): Mu'tamir's father is Sulayman al-Taymi, Ibn Abi Najih's Abu Najih Yasar, 'Ata' b.
524
+ 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 —
525
+ "سالم عن أبيه", "يعقوب، حدثنا أبي", "ابن نمير، حدثنا أبي" — is the one whose entry gives him a father, taken with that
526
+ father when the chains have seen the pair. And the bare names left open most often are read by the narrators around
527
+ them, as the books of *tamyiz al-muhmal* read them: "محمد بن جعفر" from Shu'ba is Ghundar, "يحيى بن سعيد" between
528
+ Musaddad and Shu'ba al-Qattan and between Malik and 'Amra the Ansari qadi, "إسماعيل" from Ayyub Ibn 'Ulayya and from
529
+ Qays Ibn Abi Khalid, "جرير" from Mansur Ibn 'Abd al-Hamid, "عطاء" from Ibn Jurayj Ibn Abi Rabah, "زهير" from Abu
530
+ Ishaq Ibn Mu'awiya, "حجاج", "جابر"; "غندر", "أحمد بن يونس" and "عبد بن حميد" are found by those names. On the whole of
531
+ isnady-data the narrators identified rose from **79.4% to 83.8%** of the Sunni links (al-Bukhari 84.8% → 89.7%,
532
+ 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
533
+ programs, table by table.
534
+
509
535
  <details>
510
536
  <summary><b>📊 How well it reads today</b></summary>
511
537
  <br>
512
538
 
513
539
  | | Chains (roads) | Read whole | Reaching the Prophet / a Ma'sum | Names identified |
514
540
  |:--|--:|--:|--:|--:|
515
- | Sahih al-Bukhari | 8,085 | 99.7% | 78.3% | 81.6% |
516
- | Sahih Muslim | 12,382 | 100.0% | 70.7% | 82.8% |
517
- | Sunan Abi Dawud | 6,422 | 100.0% | 76.7% | 79.2% |
518
- | al-Kafi (read the Shia way) | 14,436 | 98.8% | 94.6% | 65.2% |
541
+ | Sahih al-Bukhari | 8,085 | 99.7% | 78.3% | 89.7% |
542
+ | Sahih Muslim | 12,382 | 100.0% | 70.7% | 91.0% |
543
+ | Sunan Abi Dawud | 6,422 | 100.0% | 76.7% | 86.6% |
544
+ | al-Kafi (read the Shia way) | 14,436 | 98.8% | 94.6% | 75.9% |
519
545
 
520
- (isnady 0.5.4, chains isnady-isnad-15, narrators isnady-narrators-17. A road of a tahwil (ح) is a chain of its own;
546
+ (isnady 0.5.4, chains isnady-isnad-15; the names identified: isnady 0.7.7, narrators isnady-narrators-19, on the whole
547
+ of isnady-data. A road of a tahwil (ح) is a chain of its own;
521
548
  "reaching" counts the chains whose last link is the Prophet ﷺ or a Ma'sum — a chain may also end with a Companion's
522
549
  own word. Only what the text says is drawn: where a book writes "وعنه" or "بهذا الإسناد", the chain of the hadith
523
550
  before it is drawn beside the road, marked as taken from there, and kept out of these figures; a text that merely
@@ -559,14 +586,14 @@ isnady derives is reached along the road of the book's own tradition.
559
586
  | How a chain opens | a transmission term on every link (حدثنا، أخبرنا، عن …) | al-Kulayni names his teacher without a term (علي بن إبراهيم عن أبيه …) |
560
587
  | Groups and joined roads | two narrators at one link (qiran) | "عدة من أصحابنا" — al-Kulayni's groups, shown with the teachers he said they stand for; "… جميعاً عن …", two roads joined; "رفعه"; "عن رجل"; "عنه" |
561
588
  | Where it ends | the Prophet ﷺ | one of the Fourteen Ma'sumun: the Prophet ﷺ or an Imam, most often by his kunya — أبو عبد الله is Ja'far al-Sadiq, أبو جعفر al-Baqir, أبو الحسن al-Kazim or al-Rida; "سألته" is *mudmar* |
562
- | Who identifies its narrators | Ibn Hajar's *Taqrib al-Tahdhib* | only the Shia rijal works: al-Najashi's *Rijal* (al-Tusi's next) |
589
+ | Who identifies its narrators | Ibn Hajar's *Taqrib al-Tahdhib* | only the Shia rijal works: al-Najashi's *Rijal*, then al-Tusi's *Fihrist* and *Rijal* |
563
590
  | How a narrator is judged | Ibn Hajar's twelve ranks | the Imami critics' own terms — **reliability** (*thiqa*; praised — *jalil*, *wajh*, *'ayn*; weak) and **creed** (Imami, or Waqifi, Fathi, Zaydi, *'ammi* …): an Imami *thiqa*, a praised narrator (*mamduh*), a *thiqa* of another school (*muwaththaq*), a weak one |
564
591
  | Whose grades | al-Albani, Shu'ayb al-Arna'ut, Zubair 'Ali Za'i … | al-Majlisi (*Mir'at al-'Uqul*), al-Behbudi (*Sahih al-Kafi*) … |
565
592
 
566
593
  Nothing is mapped onto the other tradition's measure, and a narrator of one tradition is never a
567
594
  candidate for a link of the other's chains. Read this way, **96.8%** of al-Kafi's 14,239 chains
568
595
  split into their narrators (9 did when they were read the Sunni way), **92%** reach a Ma'sum, and
569
- half of their 61,160 names are identified in al-Najashi's *Rijal* (3 were before).
596
+ three in four of their 64,231 names are identified in the Shia rijal works (3 were before).
570
597
 
571
598
  <p align="center">
572
599
  <img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/chain-shia.png" alt="A chain of al-Kafi read the Shia way: al-Kulayni's group of teachers, the narrators judged by al-Najashi, ending at Imam Ja'far al-Sadiq" width="850">
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.5";
9
+ export const version = "0.7.7";
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.5",
3
+ "version": "0.7.7",
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",