isnady 0.7.0 → 0.7.2

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 +84 -7
  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.0-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.7.2-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.0-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.7.2-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">
@@ -34,6 +34,8 @@
34
34
  <a href="#-books">Books</a> •
35
35
  <a href="#-hadith-scholars">Scholars</a> •
36
36
  <a href="#-companions-and-the-household">Companions</a> •
37
+ <a href="#-sira">Sira</a> •
38
+ <a href="#-written-sources">Written sources</a> •
37
39
  <a href="#-statistics">Statistics</a> •
38
40
  <a href="#-learn">Learn</a> •
39
41
  <a href="#-search-by-meaning-ai">Meaning (AI)</a> •
@@ -46,7 +48,7 @@
46
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">
47
49
  </p>
48
50
 
49
- > **Pre-alpha (0.7.0).** Search, chains of transmission, narrators, books, scholars, statistics and
51
+ > **Pre-alpha (0.7.2).** Search, chains of transmission, narrators, books, scholars, statistics and
50
52
  > the glossary work today, Sunni and Shia, on data you import in one click. Everything is built in
51
53
  > the open, one piece at a time.
52
54
 
@@ -251,6 +253,7 @@ listed in **Data sources** and imported from there with one click — or all of
251
253
  |---|---|---|
252
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 |
253
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 |
254
257
  | 🕌 **Sira** | Ibn Hisham, *al-Sira al-Nabawiyya* (from Ibn Ishaq) — 264 chapters, 2,109 sections | Books, chapter by chapter |
255
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 |
256
259
  | ⚖ **Rijal** | Ibn Hajar, *Taqrib al-Tahdhib* (8,824) · al-Najashi, *Rijal* (1,266) | Narrators, and every chain's narrators identified |
@@ -273,6 +276,8 @@ isnady-data/
273
276
  ├── shia/al_kafi_al_kulayni/
274
277
  ├── rijal/sunni/taqrib_al_tahdhib_ibn_hajar_al_asqalani.md
275
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
276
281
  ├── sira/al_sira_al_nabawiyya_ibn_hisham.md
277
282
  ├── tabaqat/siyar_alam_al_nubala_al_dhahabi.md
278
283
  ├── tabaqat/tadhkirat_al_huffaz_al_dhahabi.md
@@ -289,7 +294,13 @@ isnady-data/
289
294
  per language with the chapter titles and the texts. The formats are described in the
290
295
  [isnady-data README](https://github.com/bayramkotan/isnady-data#-the-formats).
291
296
  - **Sunni and Shia apart.** Every book says its tradition, and isnady keeps them on their own roads
292
- (below).
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.
300
+ - **A written source is a book that copies nothing.** Its file lists `[book, number]` for each of its hadith;
301
+ importing it makes a book of **Books** whose chapters are the collections it lives in (for Hammam: Musnad Ahmad
302
+ 138, then its parallels in al-Bukhari, Muslim …), each leaf the hadith itself in its own collection. Search and the
303
+ statistics still count every hadith once. Not imported yet? It waits on the shelf of Books: one click imports it.
293
304
  - **Your own data stays yours.** What you import from your own files is never written into a
294
305
  ready database for isnady-data: it does not leave your computer.
295
306
 
@@ -316,7 +327,7 @@ must match the `database.json` beside it), puts it in place at the next start an
316
327
  previous database beside it (`isnady.<date-time>.bak.db`). Nothing is deleted.
317
328
 
318
329
  <p align="center">
319
- <img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources.png" alt="Settings → Data sources — isnady-data by default: what it holds at a glance (the Qur'an, Sunni and Shia hadith, the sira, the tabaqat, the rijal), each imported with one click or all at once" width="760">
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">
320
331
  </p>
321
332
 
322
333
  ### Other repositories
@@ -696,6 +707,64 @@ the books imported here. In the terminal: `iy group`, `iy group ten --lang tr`,
696
707
 
697
708
  ---
698
709
 
710
+ ## 🕌 Sira
711
+
712
+ The life of the Prophet ﷺ on one line, from the Year of the Elephant to his death, in its three periods — before the
713
+ mission, Mecca, Medina. Thirty-eight events, each a dot on the line and a row in the list: the birth, Halima and the
714
+ desert, the first revelation in Hira, the emigration to Abyssinia, the boycott, al-Ta'if, the Night Journey, the pledges
715
+ of al-'Aqaba, the Hijra, the change of the qibla, Badr, Uhud, the Trench, al-Hudaybiya, Khaybar, the conquest of Mecca,
716
+ Hunayn, Tabuk, the Farewell Pilgrimage and his death. Each event gives its date in the Hijri and the Common Era years,
717
+ his age, the place, and **where the reports differ, says so beside it** (the day of his birth, the year of the Trench,
718
+ how long the boycott lasted …). Under it: **the verses revealed about it** (each opens the Qur'an at the verse), **the
719
+ chapter of Ibn Hisham's Sira that tells it** (read in Books when the Sira is imported) and **the hadith that name it**
720
+ — those of the Sunni books with its phrase ("يوم بدر": 204 in the full data), opened in Search. The dates follow Ibn
721
+ Ishaq as Ibn Hisham edited him. In the terminal: `iy sira`, `iy sira badr`.
722
+
723
+ <p align="center">
724
+ <img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/sira.png" alt="Sira — the life of the Prophet on one line in three periods; the battle of Badr with its date, place, his age, the verses of al-Anfal and Al 'Imran, Ibn Hisham's chapter and the hadith that say 'the day of Badr'" width="850">
725
+ </p>
726
+
727
+ ---
728
+
729
+ ## 📜 Written sources
730
+
731
+ Most hadith came down by word of mouth, but some were written in the first generations, and the page shows where that
732
+ writing lives in the books imported here — the Sunni road and the Shia road apart.
733
+
734
+ - **Came down whole: the Sahifa of Hammam b. Munabbih.** Hammam wrote what Abu Hurayra told him; Ahmad b. Hanbal
735
+ copied the sahifa into his Musnad under one chain ('Abd al-Razzaq ← Ma'mar ← Hammam ← Abu Hurayra), the first hadith
736
+ with the chain and the rest "And the Messenger of God ﷺ said …". isnady finds those runs in the imported Musnad —
737
+ **138 hadith, the number of Hamidullah's edition of the manuscript** — and shows beside each its parallels in the
738
+ other books that narrate it through Hammam: 84 of them in al-Bukhari, Muslim, Abu Dawud, al-Tirmidhi and al-Adab
739
+ al-Mufrad (128 hadith), matched by wording.
740
+ - **Lives in later books:** 'Abdullah b. 'Amr's *al-Sahifa al-Sadiqa* ('Amr b. Shu'ayb from his father from his
741
+ grandfather — 253 hadith), the sahifa of 'Ali, Abu Bakr's letter on zakat, the letter for 'Amr b. Hazm; on the
742
+ Shia road the Book of 'Ali (68), al-Jami'a and what the Shia books relate of Mushaf Fatima — each in the words of
743
+ its own books.
744
+ - **Writing in the chains:** the links that say the text came in writing — "he wrote to me", "I found in the book of
745
+ …" ('Abdullah b. Ahmad's "I found in my father's book, in his hand"), "I read in the book of …"; on the Shia road
746
+ the letters to the Imams.
747
+
748
+ Every list is isnady's reading of the texts — a chain or a wording — and the page says how each was found. In the
749
+ terminal: `iy sahifa`, `iy sahifa hammam`, `iy sahifa kitab-ali`.
750
+
751
+ **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 ·
754
+ 4*) and reads chapter by chapter: the Sahifa of Hammam opens with Musnad Ahmad (138), then *Its parallels in Sahih
755
+ al-Bukhari* (56), *in Sahih Muslim* (56) … Nothing is copied — each leaf is the hadith in its own collection. From the
756
+ terminal: `iy catalog import hammam`, `iy book sahifat_hammam_ibn_munabbih`.
757
+
758
+ <p align="center">
759
+ <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">
760
+ </p>
761
+
762
+ <p align="center">
763
+ <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">
764
+ </p>
765
+
766
+ ---
767
+
699
768
  ## 📊 Statistics
700
769
 
701
770
  Measured in depth, each figure with what it means in plain words and how sure it is — on two roads:
@@ -950,6 +1019,8 @@ and Lexend for the interface and the translations, Baloo 2 for the titles — wh
950
1019
  Then *Lapis* (lapis and gold of illuminated manuscripts) and *Lapis Night*; *Paper* (warm cream and ink, for long
951
1020
  reading); *Slate*; *Emerald*; *Midnight*; and *High Contrast* (black, white and yellow, for low vision). Every theme has
952
1021
  the same round corners, room and sidebar signs; each keeps its own colours and typefaces.
1022
+ The Preferences window maximizes and minimizes like any other (and can be resized from its corner), so Data sources
1023
+ and the long lists have the whole screen when they need it.
953
1024
 
954
1025
  Every script has its own reading font, size, colour and line spacing — Arabic, Latin, Cyrillic,
955
1026
  Bengali and Tamil today. The light and the dark theme each keep their own colours, and the interface
@@ -1089,7 +1160,7 @@ command.
1089
1160
  | `iy` | Open the window |
1090
1161
  | [`iy search`](#-searching) | Search hadith text, narrators or scholars |
1091
1162
  | [`iy chain`](#-chains-books-and-other-narrations) · [`iy tahric`](#-chains-books-and-other-narrations) · [`iy book`](#-chains-books-and-other-narrations) · [`iy quran`](#-chains-books-and-other-narrations) | One chain read link by link · the other narrations of a hadith · read a book in its order · the Qur'an and the hadith that name each verse |
1092
- | [`iy narrator`](#-narrators-scholars-and-their-lives) · [`iy life`](#-narrators-scholars-and-their-lives) · [`iy scholar`](#-narrators-scholars-and-their-lives) · [`iy group`](#-narrators-scholars-and-their-lives) · [`iy tree`](#-narrators-scholars-and-their-lives) | A narrator · a life · the scholars and the huffaz · the Companions and the Household · the genealogies |
1163
+ | [`iy narrator`](#-narrators-scholars-and-their-lives) · [`iy life`](#-narrators-scholars-and-their-lives) · [`iy scholar`](#-narrators-scholars-and-their-lives) · [`iy group`](#-narrators-scholars-and-their-lives) · [`iy sira`](#-narrators-scholars-and-their-lives) · [`iy sahifa`](#-narrators-scholars-and-their-lives) · [`iy tree`](#-narrators-scholars-and-their-lives) | A narrator · a life · the scholars and the huffaz · the Companions and the Household · the Sira · the written sources · the genealogies |
1093
1164
  | [`iy term`](#-the-sciences-of-hadith) · [`iy learn`](#-the-sciences-of-hadith) | The glossary · the history and method of hadith |
1094
1165
  | [`iy stats`](#-statistics-1) | Every statistic of the Statistics page, with its plain-words explanation |
1095
1166
  | [`iy catalog`](#-data-books-and-sources) · [`iy repo`](#-data-books-and-sources) · [`iy database`](#-data-books-and-sources) · [`iy import`](#-data-books-and-sources) · [`iy sources`](#-data-books-and-sources) · [`iy remove`](#-data-books-and-sources) · [`iy isnads`](#-data-books-and-sources) · [`iy ai`](#-data-books-and-sources) · [`iy formats`](#-data-books-and-sources) | Books and data: import, repositories, a ready database, your own files |
@@ -1236,6 +1307,10 @@ iy scholar --huffaz zuhri --source # one hafiz: generation, death, al-Mizzi's
1236
1307
  iy group # the groups: ten, kisa, mothers (Sunni), masumin (Shia)
1237
1308
  iy group ten --lang tr # the ten promised Paradise: the hadith, what each road reads, each member
1238
1309
  iy group masumin # the Fourteen Infallibles: how many chains of the Shia books end at each
1310
+ iy sira # the life of the Prophet: 38 events in three periods, with their dates
1311
+ iy sira badr # one event: date, place, age, verses, Ibn Hisham's chapter, the hadith naming it
1312
+ iy sahifa # the written sources, Sunni and Shia apart, with how many hadith each
1313
+ iy sahifa hammam # Hammam's sahifa in the Musnad (138), each hadith with its parallels
1239
1314
  iy tree prophets # the prophets' lineage (--hadith: the hadith that speak of one)
1240
1315
  iy tree quraysh "Abu Bakr" # the tree of Quraysh, with someone found in it
1241
1316
  iy tree family "Ibn Umar" # a narrator's family among the narrators
@@ -1289,11 +1364,13 @@ iy stats corpus --recompute # compute again
1289
1364
  ### 📚 Data, books and sources
1290
1365
 
1291
1366
  ```bash
1292
- iy catalog list # the books of the repository in use, and what is imported
1367
+ iy catalog list # the books of the repository: the Qur'an, the Sunni road, the Shia road
1293
1368
  iy catalog import sahih_muslim --language tur --language eng # one book, in these languages
1294
1369
  iy catalog import --all # everything: the Qur'an, the hadith, the sira, the tabaqat, the rijal
1295
1370
  iy catalog import quran # the Qur'an (the Arabic and a translation); more: iy quran download KEY
1296
1371
  iy catalog import sira # Ibn Hisham's Sira; siyar, tadhkira: al-Dhahabi's two works
1372
+ iy catalog import hammam # a written source as a book: hammam, sadiqa, ali, kitab-ali, jamia, fatima …
1373
+ iy book sahifat_hammam_ibn_munabbih # its chapters: Musnad Ahmad 138, then its parallels in each book
1297
1374
  iy book sira # its 264 chapters; iy book sira 12: read chapter 12; iy book siyar 3
1298
1375
  iy catalog languages add tr en # one language for every book (Arabic always stays)
1299
1376
  iy catalog remove sahih_muslim # remove what was imported of it
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.0";
9
+ export const version = "0.7.2";
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.0",
3
+ "version": "0.7.2",
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",