isnady 0.7.9 → 0.8.1

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 +25 -13
  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.9-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.8.1-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.9-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.8.1-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.9).** Search, chains of transmission, narrators, books, scholars, statistics and
51
+ > **Pre-alpha (0.8.1).** 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
 
@@ -239,8 +239,9 @@ 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* and
243
- al-Tusi's *Fihrist* and *Rijal* 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*,
243
+ al-Tusi's *Fihrist* and *Rijal* and al-Kashshi's *Ikhtiyar* for the Shia books — and every name in every chain is
244
+ matched to its narrator.
244
245
  4. **Search**, open a chain, open a narrator, read a book.
245
246
 
246
247
  The same from the command line:
@@ -286,14 +287,14 @@ repository added to a book that you read in your other books. Nothing else is re
286
287
  | 📜 **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
288
  | 🕌 **Sira** | Ibn Hisham, *al-Sira al-Nabawiyya* (from Ibn Ishaq) — 264 chapters, 2,109 sections | Books, chapter by chapter |
288
289
  | 👥 **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,269) · al-Tusi, *al-Fihrist* (910) and *Rijal* (6,429) | Narrators, and every chain's narrators identified |
290
+ | ⚖ **Rijal** | Ibn Hajar, *Taqrib al-Tahdhib* (8,824) · al-Najashi, *Rijal* (1,269) · al-Tusi, *al-Fihrist* (910) and *Rijal* (6,429) · al-Kashshi, *Ikhtiyar Ma'rifat al-Rijal* (498 men) | Narrators, and every chain's narrators identified |
290
291
 
291
292
  The hadith collections, Sunni and Shia apart:
292
293
 
293
294
  | | Sunni | Shia |
294
295
  |---|---|---|
295
296
  | **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,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
+ | **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; al-Kashshi, *Ikhtiyar Ma'rifat al-Rijal* — 498 men with the reports about them |
297
298
 
298
299
  ### How it is laid out
299
300
 
@@ -406,7 +407,7 @@ repository with an isnady catalog, a Hugging Face dataset, a URL or a folder (`i
406
407
  | [LK Hadith Corpus](https://github.com/ShathaTm/LK-Hadith-Corpus) | the six books, isnad and matn marked apart | not stated |
407
408
  | [meeAtif/hadith_datasets](https://huggingface.co/datasets/meeAtif/hadith_datasets) (Hugging Face) | the six books, Arabic + English | MIT (as declared) |
408
409
  | [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, al-Tusi's Fihrist and Rijal | not stated |
410
+ | [OpenITI](https://github.com/OpenITI) | the Taqrib, al-Najashi's Rijal, al-Tusi's Fihrist and Rijal, al-Kashshi's Ikhtiyar | not stated |
410
411
 
411
412
  Every source records a licence **tier** — **A** may be redistributed, **B** under its conditions,
412
413
  **C** may not — and **Help → Licences** lists them all. Any CSV or JSON table of hadith can be read
@@ -497,8 +498,10 @@ above its text.
497
498
  ### 👤 Who each narrator is
498
499
 
499
500
  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 (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
+ for a Sunni book, al-Najashi for a Shia book (then al-Tusi's *Fihrist*, then his *Rijal*, then al-Kashshi's
502
+ *Ikhtiyar*, for the men al-Najashi does not have: a man found in an earlier book is that book's entry). al-Kashshi
503
+ (0.8.1) is a book of sections, each with the reports about the men its heading names: the men are read from the
504
+ heading as written, and a heading that does not give a man with his father ("عمار", "ابن فضال") names no chain's man. A name is linked only when the evidence leaves one
502
505
  person: the words of the name, the book marks (a narrator in al-Bukhari must be one Ibn Hajar marks
503
506
  خ), the order of generations along the chain, the last link before the Prophet being a Companion,
504
507
  and — in al-Kafi — al-Kulayni's own teachers at the head of his chains. When several narrators
@@ -507,6 +510,15 @@ than choosing one. In blind, hand-checked samples of the identified names, the l
507
510
  correct. Names are kept exactly as written, with the clarifications the compilers added
508
511
  (*"— yaʿnī Ibn Muḥammad —"*).
509
512
 
513
+ **Every way of identifying, with its parameters (0.8.0).** **Tools → Narrator Identification** (and `iy
514
+ narrator-rules`) shows each of the seventeen ways isnady links a name to a narrator — the rijal work's own words in one
515
+ tab, isnady's guesses in another, the confidences in a third — what each reads, how many links it decided at the last
516
+ identification, and its parameters (the compiler's teacher from tabaqa 9; a teacher 4 tabaqat after or 6 before his
517
+ student, or dead 80 years after him, ruled out; 3 rounds of teacher and student seen in 2 chains, 3 times the next …).
518
+ Each way can be turned off, each parameter changed (`iy narrator-rules set famous=off neighbours.rounds=4`), all put
519
+ back (`iy narrator-rules reset`); saving identifies every chain's narrators again. The values are kept in the database,
520
+ the same for isnady and isnady-rs.
521
+
510
522
  **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
523
  rijal works themselves say: his name as Ibn Hajar, al-Najashi or al-Tusi gives it (written as they write it, or with
512
524
  the ism and father in order and the rest of the name after them), the book's mark, the order of generations, the
@@ -600,7 +612,7 @@ isnady derives is reached along the road of the book's own tradition.
600
612
  | How a chain opens | a transmission term on every link (حدثنا، أخبرنا، عن …) | al-Kulayni names his teacher without a term (علي بن إبراهيم عن أبيه …) |
601
613
  | 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; "رفعه"; "عن رجل"; "عنه" |
602
614
  | 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* |
603
- | 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* |
615
+ | 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*, then al-Kashshi's *Ikhtiyar* |
604
616
  | 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 |
605
617
  | Whose grades | al-Albani, Shu'ayb al-Arna'ut, Zubair 'Ali Za'i … | al-Majlisi (*Mir'at al-'Uqul*), al-Behbudi (*Sahih al-Kafi*) … |
606
618
 
@@ -1562,8 +1574,8 @@ iy reset settings # back to zero: settings, books or all (--y
1562
1574
 
1563
1575
  ## 🗺️ Roadmap
1564
1576
 
1565
- - **Shia narrators, further** — al-Tusi's *Rijal* and *Fihrist* and al-Kashshi's reports; names
1566
- resolved by teacher and student; a Sunni–Shia comparison.
1577
+ - **Shia narrators, further** — the same man across al-Najashi, al-Tusi and al-Kashshi side by side; a Sunni–Shia
1578
+ comparison.
1567
1579
  - **More in isnady-data** — al-Tusi's *Tahdhib al-Ahkam* and *al-Istibsar*, al-Saduq's *Man la
1568
1580
  yahduruhu al-faqih*; al-Hakim's *Mustadrak*, al-Bayhaqi's *Sunan*, the *Mu'jam*s.
1569
1581
  - **Narrators** — the other half of the names identified through teachers and students (al-Mizzi's
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.9";
9
+ export const version = "0.8.1";
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.9",
3
+ "version": "0.8.1",
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",