isnady 0.6.6 → 0.6.9

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 +68 -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.6.6-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.6.9-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.6.6-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.6.9-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">
@@ -46,7 +46,7 @@
46
46
  <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
47
  </p>
48
48
 
49
- > **Pre-alpha (0.6.6).** Search, chains of transmission, narrators, books, scholars, statistics and
49
+ > **Pre-alpha (0.6.9).** Search, chains of transmission, narrators, books, scholars, statistics and
50
50
  > the glossary work today, Sunni and Shia, on data you import in one click. Everything is built in
51
51
  > the open, one piece at a time.
52
52
 
@@ -71,8 +71,8 @@ isnady is two repositories that work as one:
71
71
 
72
72
  | | [**bayramkotan/isnady**](https://github.com/bayramkotan/isnady) — the application | [**bayramkotan/isnady-data**](https://github.com/bayramkotan/isnady-data) — the data |
73
73
  |---|---|---|
74
- | **What it is** | The program: a desktop window and a command line on one engine | Every hadith collection and rijal work isnady reads, in one format |
75
- | **What is in it** | Search, the chain reader (Sunni and Shia), narrator identification, books, scholars, statistics, the glossary, meaning search | **17 Sunni and 16 Shia hadith collections — 99,746 hadith** — in Arabic and up to eight translations, with their grades; **Ibn Hajar's *Taqrib*** (8,824 narrators) and **al-Najashi's *Rijal*** (1,266) |
74
+ | **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 |
75
+ | **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) |
76
76
  | **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) |
77
77
  | **Licence** | MIT | each book its own, recorded with it (Help → Licences) |
78
78
 
@@ -80,8 +80,9 @@ isnady is two repositories that work as one:
80
80
  bayramkotan/isnady-data bayramkotan/isnady
81
81
  ─────────────────────── ──────────────────
82
82
  catalog.json ─────────────── Data sources ───▶ import ─▶ isnady.db ─▶ search · chains · narrators
83
- sunni/<book>/ shia/<book>/ (your data folder) books · scholars · statistics
84
- rijal/sunni/ rijal/shia/ window and command line
83
+ quran/ (your data folder) books · scholars · statistics
84
+ sunni/<book>/ shia/<book>/ window and command line
85
+ sira/ tabaqat/ rijal/sunni/ rijal/shia/
85
86
  Releases: isnady-db-<date>.zip ── Use a ready database… ──▶ isnady.db
86
87
  ```
87
88
 
@@ -242,7 +243,19 @@ written, and the search index, the chains and the narrators are built once, at t
242
243
  ## 📚 isnady-data — the data
243
244
 
244
245
  **[bayramkotan/isnady-data](https://github.com/bayramkotan/isnady-data)** is isnady's own data
245
- repository and its default: every source isnady reads, converted once into isnady's own format.
246
+ repository and its default: every book isnady reads, kept once in isnady's own format, and every one of them is
247
+ listed in **Data sources** and imported from there with one click — or all of them with **Import all**
248
+ (`iy catalog import --all`).
249
+
250
+ | What | Books | Read in isnady |
251
+ |---|---|---|
252
+ | 📖 **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
+ | 📚 **Hadith** | 17 Sunni and 16 Shia collections — 99,746 hadith (below) | Search, Books, Isnad Chains, Statistics |
254
+ | 🕌 **Sira** | Ibn Hisham, *al-Sira al-Nabawiyya* (from Ibn Ishaq) — 264 chapters, 2,109 sections | Books, chapter by chapter |
255
+ | 👥 **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
+ | ⚖ **Rijal** | Ibn Hajar, *Taqrib al-Tahdhib* (8,824) · al-Najashi, *Rijal* (1,266) | Narrators, and every chain's narrators identified |
257
+
258
+ The hadith collections, Sunni and Shia apart:
246
259
 
247
260
  | | Sunni | Shia |
248
261
  |---|---|---|
@@ -253,12 +266,16 @@ repository and its default: every source isnady reads, converted once into isnad
253
266
 
254
267
  ```
255
268
  isnady-data/
256
- ├── catalog.json the list isnady reads (isnady-catalog/1)
269
+ ├── catalog.json the list isnady reads (isnady-catalog/1): "entries" and the "library"
270
+ ├── quran/ suras.json, the Arabic and the translations (quran/tur/tur-diyanetisleri.json …)
257
271
  ├── sunni/sahih_al_bukhari/ book.json (numbers, chapters, references, grades) + ara.json, eng.json, tur.json …
258
272
  ├── sunni/musnad_ahmad_ibn_hanbal/
259
273
  ├── shia/al_kafi_al_kulayni/
260
274
  ├── rijal/sunni/taqrib_al_tahdhib_ibn_hajar_al_asqalani.md
261
275
  ├── rijal/shia/rijal_al_najashi_ahmad_ibn_ali_al_najashi.md
276
+ ├── sira/al_sira_al_nabawiyya_ibn_hisham.md
277
+ ├── tabaqat/siyar_alam_al_nubala_al_dhahabi.md
278
+ ├── tabaqat/tadhkirat_al_huffaz_al_dhahabi.md
262
279
  ├── derived/ statistics and models already computed, as JSON
263
280
  └── database.json the ready database of the latest Release
264
281
  ```
@@ -299,7 +316,7 @@ must match the `database.json` beside it), puts it in place at the next start an
299
316
  previous database beside it (`isnady.<date-time>.bak.db`). Nothing is deleted.
300
317
 
301
318
  <p align="center">
302
- <img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources.png" alt="Settings → Data sources — isnady-data by default, a folder on this computer, or another repository; its books, Sunni and Shia apart" width="760">
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">
303
320
  </p>
304
321
 
305
322
  ### Other repositories
@@ -570,7 +587,14 @@ Sunni narrators filter by tabaqa, rank and book; Shia narrators by the Imami ass
570
587
  isnady is not only for searching: the **Books** section opens every imported work and reads it in
571
588
  its own order. A hadith collection reads chapter by chapter, each hadith with its card (chain,
572
589
  narrators, other narrations, grades) and the languages you choose; Ibn Hajar's *Taqrib* and
573
- al-Najashi's *Rijal* read entry by entry, each narrator a click away. Go to a chapter by its number ("34 / 57")
590
+ al-Najashi's *Rijal* read entry by entry, each narrator a click away. Under **Sira and tabaqat**, on every shelf,
591
+ stand Ibn Hisham's *Sira* — the life of the Prophet ﷺ in 264 chapters, each section under its own heading, each
592
+ report with its chain as Ibn Ishaq gives it — and al-Dhahabi's *Siyar A'lam al-Nubala'* and *Tadhkirat al-Huffaz*,
593
+ life by life, generation by generation: the author's text as the edition gives it, nothing summarised.
594
+
595
+ <p align="center">
596
+ <img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/books-sira.png" alt="Books — Ibn Hisham's Sira, chapter 20 of 264: each section under its own heading, the reports with their chains as Ibn Ishaq and Ibn Hisham give them; on the shelf the Qur'an and, under Sira and tabaqat, al-Dhahabi's Siyar and Tadhkira" width="850">
597
+ </p> Go to a chapter by its number ("34 / 57")
574
598
  or to the first, previous, next or last one; in a hadith collection go to any hadith by its number, with the
575
599
  book's last number beside it and the same ⏮ ‹ › ⏭ as on Isnad Chains. Find within a chapter, and isnady remembers
576
600
  where you were. From any search result, **In its
@@ -578,6 +602,19 @@ book** opens the hadith where it stands, among the hadith of its chapter. **⤓
578
602
  being read, as a PDF in the languages you choose — or as Word, EPUB, HTML and the other formats of File → Export
579
603
  (`iy export book bukhari --chapter 3 -f pdf --language Turkish`).
580
604
 
605
+ **The Qur'an** stands first on the shelf. It is downloaded once, on request (about 3 MB), from **isnady-data**: the
606
+ Arabic (Tanzil's text, verbatim) with a translation in the interface language. **➕ Translations…** adds or removes
607
+ the others: the 60 translations isnady-data keeps in 18 languages come first, marked ★, under the names their readers
608
+ know them by (Diyanet İşleri, Elmalılı Hamdi Yazır, Ali Bulaç, Süleyman Ateş, Hasan Basri Çantay …; Saheeh
609
+ International, Abdel Haleem, Mustafa Khattab …); any other of some 440 translations in 98 languages is read from the
610
+ source isnady-data's are taken from, and so is a text isnady-data cannot give at that moment. The contents list the 114 suras; a sura shows its verses in Arabic with the translations ticked above
611
+ it, ⟨ ⟩ go to the previous and next sura, and the search looks through the whole text, in Arabic or in a
612
+ translation's words. Under each verse stand **the hadith that name it** — those whose translation marks the verse as
613
+ the one it quotes or explains, "(33:33)", "[43:67]", "(Ahzab 33/51)": the translator's mark, each checked against the
614
+ number of verses of its sura (2,280 hadith name 1,960 verses), the Sunni and the Shia books each on a line of their
615
+ own; a click reads the hadith in its book. And on every hadith card **📖 Verses it names** opens the verse in the
616
+ Qur'an. In the terminal: `iy quran`, `iy quran 33:33 --hadith`, `iy quran search sabır`.
617
+
581
618
  Book and chapter titles follow the interface language: the sources give chapter titles in English only, so
582
619
  isnady carries its own — all 642 chapter titles of the 33 books in Turkish and in Arabic ("Vahyin Başlangıcı",
583
620
  "كتاب بدء الوحي" for "Revelation"), and the Arabic titles a source gives itself where it has them (al-Adab
@@ -1049,7 +1086,7 @@ command.
1049
1086
  |:--------|:-------------|
1050
1087
  | `iy` | Open the window |
1051
1088
  | [`iy search`](#-searching) | Search hadith text, narrators or scholars |
1052
- | [`iy chain`](#-chains-books-and-other-narrations) · [`iy tahric`](#-chains-books-and-other-narrations) · [`iy book`](#-chains-books-and-other-narrations) | One chain read link by link · the other narrations of a hadith · read a book in its order |
1089
+ | [`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 |
1053
1090
  | [`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 |
1054
1091
  | [`iy term`](#-the-sciences-of-hadith) · [`iy learn`](#-the-sciences-of-hadith) | The glossary · the history and method of hadith |
1055
1092
  | [`iy stats`](#-statistics-1) | Every statistic of the Statistics page, with its plain-words explanation |
@@ -1151,6 +1188,21 @@ iy book --forget bukhari # forget where you left a book (all: every
1151
1188
  iy book taqrib 1 # the rijal works read the same way, entry by entry
1152
1189
  ```
1153
1190
 
1191
+ `iy quran` reads the Qur'an (downloaded once on request) with its translations and the hadith that name each verse.
1192
+
1193
+ ```bash
1194
+ iy quran download # the Arabic and a translation in the interface language (about 3 MB, once)
1195
+ iy quran editions --language Turkish # the translations of a language, ★ those isnady-data keeps (98 languages)
1196
+ iy quran editions --own # only isnady-data's (60 translations, 18 languages)
1197
+ iy quran download tur-elmalilihamdiya eng-abdelhaleem # more translations
1198
+ iy quran editions --installed # those downloaded ; iy quran remove KEY
1199
+ iy quran # the 114 suras
1200
+ iy quran 1 # a sura
1201
+ iy quran 2:255-257 --edition tur-diyanetisleri # verses, in one translation
1202
+ iy quran 33:33 --hadith # with the hadith that name each verse, Sunni and Shia books apart
1203
+ iy quran search sabır # search the whole text, in Arabic or a translation's words
1204
+ ```
1205
+
1154
1206
  ### 👥 Narrators, scholars and their lives
1155
1207
 
1156
1208
  ```console
@@ -1237,7 +1289,10 @@ iy stats corpus --recompute # compute again
1237
1289
  ```bash
1238
1290
  iy catalog list # the books of the repository in use, and what is imported
1239
1291
  iy catalog import sahih_muslim --language tur --language eng # one book, in these languages
1240
- iy catalog import --all # every book, then the rijal works
1292
+ iy catalog import --all # everything: the Qur'an, the hadith, the sira, the tabaqat, the rijal
1293
+ iy catalog import quran # the Qur'an (the Arabic and a translation); more: iy quran download KEY
1294
+ iy catalog import sira # Ibn Hisham's Sira; siyar, tadhkira: al-Dhahabi's two works
1295
+ iy book sira # its 264 chapters; iy book sira 12: read chapter 12; iy book siyar 3
1241
1296
  iy catalog languages add tr en # one language for every book (Arabic always stays)
1242
1297
  iy catalog remove sahih_muslim # remove what was imported of it
1243
1298
  iy catalog add "My notes" isnady ~/notes/book.json --license CC-BY-4.0 # a book of your own in the list
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.6.6";
9
+ export const version = "0.6.9";
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.6.6",
3
+ "version": "0.6.9",
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",