isnady 0.6.4 → 0.6.6

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 +293 -49
  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.4-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.6.6-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.4-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.6.6-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">
@@ -33,6 +33,7 @@
33
33
  <a href="#-narrators">Narrators</a> •
34
34
  <a href="#-books">Books</a> •
35
35
  <a href="#-hadith-scholars">Scholars</a> •
36
+ <a href="#-companions-and-the-household">Companions</a> •
36
37
  <a href="#-statistics">Statistics</a> •
37
38
  <a href="#-learn">Learn</a> •
38
39
  <a href="#-search-by-meaning-ai">Meaning (AI)</a> •
@@ -45,7 +46,7 @@
45
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">
46
47
  </p>
47
48
 
48
- > **Pre-alpha (0.6.4).** Search, chains of transmission, narrators, books, scholars, statistics and
49
+ > **Pre-alpha (0.6.6).** Search, chains of transmission, narrators, books, scholars, statistics and
49
50
  > the glossary work today, Sunni and Shia, on data you import in one click. Everything is built in
50
51
  > the open, one piece at a time.
51
52
 
@@ -396,7 +397,10 @@ Choose a book and a number, or let isnady choose: beside the number stands the b
396
397
  where the hadith stands among the book's ("hadith 36 of 7,467"); ⏮ ‹ › ⏭ go to the first, previous, next and last
397
398
  hadith, so do the arrow keys and the mouse wheel; typing lists the numbers that begin so, a number the book does not
398
399
  have offers the nearest, and **Random hadith** picks one among those whose chain was read. `iy chain kafi` prints
399
- the range. A hadith a book gives without a chain says so above its text.
400
+ the range. **📖 From the contents…** chooses without knowing the number: the book's chapters, then the hadith of the
401
+ chapter with the start of their text and how many narrators each chain was read into, a word to look for among them,
402
+ and a double click shows the chain (`iy chain bukhari --chapter 3`). A hadith a book gives without a chain says so
403
+ above its text.
400
404
 
401
405
  <p align="center">
402
406
  <img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/chain.png" alt="Isnad Chains — Sahih al-Bukhari 1: the number with the book's last number and its place, first / previous / next / last, and the chain as a timeline from the book to the Prophet" width="850">
@@ -570,7 +574,9 @@ al-Najashi's *Rijal* read entry by entry, each narrator a click away. Go to a ch
570
574
  or to the first, previous, next or last one; in a hadith collection go to any hadith by its number, with the
571
575
  book's last number beside it and the same ⏮ ‹ › ⏭ as on Isnad Chains. Find within a chapter, and isnady remembers
572
576
  where you were. From any search result, **In its
573
- book** opens the hadith where it stands, among the hadith of its chapter.
577
+ book** opens the hadith where it stands, among the hadith of its chapter. **⤓ PDF** writes the book, or the chapter
578
+ being read, as a PDF in the languages you choose — or as Word, EPUB, HTML and the other formats of File → Export
579
+ (`iy export book bukhari --chapter 3 -f pdf --language Turkish`).
574
580
 
575
581
  Book and chapter titles follow the interface language: the sources give chapter titles in English only, so
576
582
  isnady carries its own — all 642 chapter titles of the 33 books in Turkish and in Arabic ("Vahyin Başlangıcı",
@@ -635,6 +641,22 @@ bundled; al-Dhahabi's entry itself is downloaded once on request (OpenITI, about
635
641
 
636
642
  ---
637
643
 
644
+ ## 🌿 Companions and the Household
645
+
646
+ Groups of the Companions and of the Prophet's family ﷺ as the hadith name them, each on its own road (Sunni and Shia
647
+ apart, as everywhere in isnady). On the Sunni road: **the ten promised Paradise** (al-'Ashara al-Mubashshara: 'Abd
648
+ al-Rahman b. 'Awf's list in al-Tirmidhi, Sa'id b. Zayd's in Abu Dawud, and how they differ), **the people of the cloak**
649
+ (the hadith of the cloak in Muslim and al-Tirmidhi with al-Ahzab 33:33, what the Sunni scholars read in it, and Zayd
650
+ b. Arqam's word on the household in the hadith of the two weighty things) and **the Mothers of the Believers**. On the
651
+ Shia road: **the Fourteen Infallibles** — the Prophet ﷺ, Fatima and the twelve Imams, with al-Kafi's hadith on
652
+ al-Nisa' 4:59 and the years of al-Mufid's al-Irshad. Each member has his years, his life, a button to him among the
653
+ narrators and to his box in the family tree, and what the imported books hold of him: on the Sunni road how many
654
+ chain links and hadith he is in (Abu Bakr 54 hadith, 'Ali 518, 'A'isha 5,976), on the Shia road how many chains end at
655
+ him (Ja'far al-Sadiq 12,007; al-Baqir 2,969). The hadith that name each group are shown in full, chain and text, from
656
+ the books imported here. In the terminal: `iy group`, `iy group ten --lang tr`, `iy group masumin`.
657
+
658
+ ---
659
+
638
660
  ## 📊 Statistics
639
661
 
640
662
  Measured in depth, each figure with what it means in plain words and how sure it is — on two roads:
@@ -934,10 +956,11 @@ nothing to restart. `iy config set view.ui_language tr`. The hadith texts keep t
934
956
  and forward buttons — every narrator, chain, book, scholar, term and tree opened is a step, and pointing at the
935
957
  button says where it goes; so is every narrator, scholar, hafiz, book, chapter and term picked in a page's own list.
936
958
 
937
- **Right-click** a hadith, a book, a chapter, a narrator, a scholar or a hafiz for what can be done with it: open it
938
- in its book or its chain, the other narrations, where you left a book and its markers, search in a chapter, put a
939
- marker, his family and his line of learning, his entry in the rijal work, add to or remove from the bookmarks, copy
940
- (the reference, the Arabic, a translation, everything, a name) and export.
959
+ **Right-click** a hadith, a book, a chapter, a narrator, a scholar, a hafiz, a narrator of a chain, a bookmark or a
960
+ term for what can be done with it: open it in its book or its chain, the other narrations, where you left a book and
961
+ its markers, search in a chapter, put a marker, his family and his line of learning, his entry in the rijal work, the
962
+ narrators of a name the chain gives, a note or a folder for a bookmark, add to or remove from the bookmarks, copy (the
963
+ reference, the Arabic, a translation, everything, a name) and export.
941
964
 
942
965
  **A new version starts clean:** what the earlier version kept for speed (`cache/`) is deleted once and computed
943
966
  again, and the footer says so; the saved statistics (`derived/`) stay while their data and analysis are the same; the settings, bookmarks, profiles, recent searches, the database and the downloaded
@@ -1007,46 +1030,37 @@ itself, so nothing changes for anyone who never makes a second one. `iy profile
1007
1030
 
1008
1031
  ## ⌨️ CLI
1009
1032
 
1010
- Everything the window does also works without it — on a server, over SSH, or in a script. The
1011
- command line never loads Qt. Every command that takes a book accepts its full name
1012
- (`musnad_ahmad_ibn_hanbal`) or its short key (`ahmad`).
1013
-
1014
- | Short | Example | What it does |
1015
- |:------|:-----|:-------------|
1016
- | `iy` | `isnady` | Open the window |
1017
- | `iy search WORDS` | `iy search niyet --book abudawud` | Search; `--mode all\|any\|phrase\|meaning`, `--whole-words`, `--book`, `--language`, `--grade` (`sahih`, `hasan`, `daif` … `imami-sahih`, `muwaththaq` …), `--every-grader`, `--no-sahihayn`, `--chapter BOOK:CHAPTER`, `--limit`; `--in narrators\|scholars`, `--tradition sunni\|shia`; `--recent`, `--clear-recent` |
1018
- | `iy chain BOOK NUMBER` | `iy chain kafi 5:1740` | One chain, narrator by narrator, with who each one is and whom it reaches, then said in Turkish and English (`--lang tr,en`); `--raw` adds the wording; without a number, the book's range |
1019
- | `iy isnads` | `iy isnads --rebuild` | Read every chain and report per book: split, reaching the Prophet or a Ma'sum, identified |
1020
- | `iy narrator NAME` | `iy narrator "Ibn Umar"` | A narrator: his critic's verdict (Ibn Hajar's rank, or the Imami terms), tabaqa, death year, books; `--limit 1` adds teachers, students and hadith; `--famous` lists the famous Companions by group (`--tradition shia`: Ashab al-Ijma'; `all`: both) |
1021
- | `iy book [KEY [CHAPTER]]` | `iy book bukhari 2` | The books (the Sunni ones; `--tradition shia` or `all`); a book's chapters; a chapter read in order; `--resume` where you left it, `--mark NAME`, `--marks`, `--go NAME`, `--unmark NAME` (or `all`), `--forget KEY` (or `all`) |
1022
- | `iy scholar [NAME]` | `iy scholar albani` | The scholars in the data (the Sunni ones; `--tradition shia` or `all`), or one of them with his measured statistics |
1023
- | `iy scholar --huffaz [NAME]` | `iy scholar --huffaz zuhri --source` | al-Dhahabi's *Tadhkirat al-Huffaz*: the 21 generations at a glance, one generation (`--tabaqa N`), or one hafiz with his entry (`--source`) |
1024
- | `iy tahric BOOK NUMBER` | `iy tahric bukhari 1` | Other narrations of a hadith in the imported books (takhrij) |
1025
- | `iy stats [SECTION]` | `iy stats graders --book abudawud` | `corpus`, `narrators`, `chains`, `grades`, `books`, `graders`, `model`, `lab`; `--csv DIR`, `--recompute`; `--book @all` measures both roads; `--explain [TERM]` every measure in plain words |
1026
- | `iy term [NAME]` | `iy term --search tadlis` | The glossary, English, Turkish or Arabic (`--lang tr`, `--lang ar`) |
1027
- | `iy learn [ARTICLE]` | `iy learn writing --lang tr` | History and method: `tadwin`, `writing`, `method`, `numbers`, with the numbers counted live from your books |
1028
- | `iy life NAME` | `iy life Abu Hurayra --lang tr` | The life of a Companion, a narrator or a scholar (`--lang en\|tr\|ar`, `--tradition`, `--limit`); `--source` downloads al-Dhahabi's *Siyar* and shows its entry |
1029
- | `iy tree WHICH [NAME]` | `iy tree family "Ibn Umar"` | Genealogies: `prophets`, `quraysh`, a narrator's `family`, his line of `learning` (`--depth`, `--width`); `--hadith` the hadith that speak of a prophet |
1030
- | `iy profile ACTION` | `iy profile new Ayşe --copy default` | Profiles: `list`, `new`, `use`, `rename`, `delete`, `export`, `import` |
1031
- | `iy bookmark ACTION` | `iy bookmark add hadith bukhari:1 --folder Prayer` | Bookmarks: `list`, `folders`, `add`, `remove`, `export`, `import` |
1032
- | `iy ai build` | `iy ai status` | Learn the meaning index from the imported texts |
1033
- | `iy catalog list` | `iy catalog list --repo lk-hadith-corpus` | The books of the repository in use, and your own, with what is imported |
1034
- | `iy catalog import ID` | `iy catalog import sahih_muslim --language tur` | Import a book; `--all` imports every one; `remove`, `add`, `delete` manage the list |
1035
- | `iy catalog languages` | `iy catalog languages add tr en` | One language for every book: the list, `add`, `remove` (Arabic stays) |
1036
- | `iy repo [list\|use\|show\|add\|remove]` | `iy repo add ~/isnady-data` | The data repositories: isnady-data (default), the optional ones, yours — a GitHub or Hugging Face address, a URL, or a folder |
1037
- | `iy database [use FILE]` | `iy database use isnady-db-<date>.zip` | A ready database from a file; your own is kept beside it |
1038
- | `iy import FORMAT FILE-OR-URL` | `iy import isnady ~/my_book/book.json` | Import a file of your own; `--book`, `--language`, `--license`, `--user`, `--token-env`, `--api-key-env` |
1039
- | `iy sources` | | Imported sources, their licence and tier |
1040
- | `iy remove KEY` | | Remove a source and everything imported from it |
1041
- | `iy log` | `iy log --level error`, `iy log -f` | isnady's log: the last lines, errors only, a text, followed live, the crash reports (`--crash`), `--before DAY`, `--clear` |
1042
- | `iy reset settings\|books\|all` | `iy reset books` | Back to zero: all settings, all books, or everything (`--yes` does not ask) |
1043
- | `iy formats` | | The formats that can be imported |
1044
- | `iy datadir [FOLDER]` | `iy datadir /data/isnady` | Show or move the data folder; `--as-is`, `--default` |
1045
- | `iy config list\|get\|set\|reset` | | Settings — the same as Edit → Preferences |
1046
- | `iy shortcut` | `iy shortcut --no-desktop` | A desktop and applications-menu shortcut |
1047
- | `iy update` | `iy update --check` | Update every copy of isnady where it is installed; `--check` only looks (PyPI and npm, what is new); `--npm` the npm package |
1048
- | `iy doctor` | | Every copy of isnady on this computer and which one each command starts |
1049
- | `iy -V` / `iy -h` | | Version / help |
1033
+ Everything the window does also works without it — on a server, over SSH, or in a script. The command line never
1034
+ loads Qt, so it starts in a moment and needs no screen. The same engine answers both: a search, a chain, a narrator
1035
+ or a statistic is the same number in the terminal as in the window.
1036
+
1037
+ **Three names, one program.** `iy` is the short name, `isnady` the long one; without arguments either opens the window,
1038
+ with a command it works in the terminal. `isnady-cli` never opens the window. Every command explains itself:
1039
+ `iy --help` lists them, `iy COMMAND --help` gives every option of one. Every command that takes a book accepts its
1040
+ full name (`musnad_ahmad_ibn_hanbal`) or its short key (`ahmad`); `iy book` lists them. Names may be written in Arabic
1041
+ or in Latin letters, with or without diacritics: `iy narrator "Ebu Hureyre"`, `iy narrator "Abu Hurayra"` and
1042
+ `iy narrator "أبو هريرة"` find the same man. The interface language (`iy config set view.ui_language tr`) also sets
1043
+ the language of the answers where they are written for isnady (lives, terms, history); `--lang` changes it for one
1044
+ command.
1045
+
1046
+ **At a glance**
1047
+
1048
+ | Command | What it does |
1049
+ |:--------|:-------------|
1050
+ | `iy` | Open the window |
1051
+ | [`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 |
1053
+ | [`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
+ | [`iy term`](#-the-sciences-of-hadith) · [`iy learn`](#-the-sciences-of-hadith) | The glossary · the history and method of hadith |
1055
+ | [`iy stats`](#-statistics-1) | Every statistic of the Statistics page, with its plain-words explanation |
1056
+ | [`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 |
1057
+ | [`iy bookmark`](#-your-things-bookmarks-profiles-settings-files) · [`iy profile`](#-your-things-bookmarks-profiles-settings-files) · [`iy config`](#-your-things-bookmarks-profiles-settings-files) · [`iy export`](#-your-things-bookmarks-profiles-settings-files) · [`iy import-data`](#-your-things-bookmarks-profiles-settings-files) | Bookmarks, profiles, settings, export and import |
1058
+ | [`iy update`](#-installation-and-upkeep) · [`iy doctor`](#-installation-and-upkeep) · [`iy shortcut`](#-installation-and-upkeep) · [`iy datadir`](#-installation-and-upkeep) · [`iy cache`](#-installation-and-upkeep) · [`iy log`](#-installation-and-upkeep) · [`iy reset`](#-installation-and-upkeep) · `iy -V` | Updates, installations, shortcuts, the data folder, the cache, the log, starting over |
1059
+
1060
+ ### 🔎 Searching
1061
+
1062
+ `iy search WORDS` searches the texts of every imported book in every language, as the Search page does. Arabic
1063
+ diacritics and letter forms are ignored (الاعمال finds الأَعْمَالُ), and Latin-letter text ignores case and accents.
1050
1064
 
1051
1065
  ```console
1052
1066
  $ iy search niyet --book abudawud --limit 1
@@ -1057,6 +1071,236 @@ Sunan Abu Dawud #472
1057
1071
  [Turkish] Ebu Hureyre (r.a.); Resulullah (Sallallahu aleyhi ve Sellem)'in şöyle buyurduğunu rivayet etmiştir: "Bir kimse mescid'e hangi [niyet]le gelirse nasibi ondan ibarettir"
1058
1072
  ```
1059
1073
 
1074
+ ```bash
1075
+ iy search "إنما الأعمال" --mode phrase # the words together, in this order
1076
+ iy search sabır şükür --mode any # any of the words
1077
+ iy search namaz --whole-words --language Turkish # whole words, Turkish texts only
1078
+ iy search niyet --grade sahih --grade hasan # only sahih or hasan hadith
1079
+ iy search niyet --grade sahih --every-grader # only where every grader said sahih
1080
+ iy search niyet --grade sahih --no-sahihayn # without al-Bukhari and Muslim
1081
+ iy search ilim --chapter bukhari:3 # only in Bukhari's chapter 3 (Knowledge) and below it
1082
+ iy search ilim --chapter "bukhari:Knowledge" # the same chapter by the start of its title
1083
+ iy search "Ebu Hureyre" --in narrators # narrators of both traditions, by name
1084
+ iy search Zurara --in narrators --tradition shia # only al-Najashi's narrators
1085
+ iy search Albani --in scholars # the scholars
1086
+ iy search patience --mode meaning # by meaning, across languages (pip install "isnady[ai]", iy ai build)
1087
+ iy search --recent # the last 20 searches, as in the window
1088
+ ```
1089
+
1090
+ | Option | Meaning |
1091
+ |:-------|:--------|
1092
+ | `--mode all\|any\|phrase\|meaning` | every word (default), any word, the words in order, or by meaning |
1093
+ | `--whole-words` | whole words only |
1094
+ | `--book KEY` | only this book (repeatable) |
1095
+ | `--language NAME` | only texts of this language (repeatable) |
1096
+ | `--grade G` | Sunni: `sahih`, `hasan`, `daif`, `very-weak`, `fabricated`, `ungraded`; Shia, in their own scale: `imami-sahih`, `imami-hasan`, `muwaththaq`, `imami-daif`, `imami-ungraded` (repeatable; the two scales are never mixed) |
1097
+ | `--every-grader` | with `--grade`: every grade the hadith was given is among those chosen |
1098
+ | `--no-sahihayn` | with `--grade sahih`: al-Bukhari's and Muslim's hadith are not counted (by default they are, by their compiler's condition) |
1099
+ | `--chapter BOOK:CH` | only this chapter and the chapters under it (repeatable) |
1100
+ | `--in hadith\|narrators\|scholars` · `--tradition sunni\|shia` | what to search; with narrators, one road |
1101
+ | `--limit N` · `--offset N` · `--width N` · `--all-texts` | how many, from where, characters shown, every text and not only those that matched |
1102
+ | `--recent` · `--clear-recent` | the recent searches, or forget them |
1103
+
1104
+ ### 🔗 Chains, books and other narrations
1105
+
1106
+ `iy chain BOOK NUMBER` reads one chain link by link: the word of transmission and its meaning, who each narrator is
1107
+ (Ibn Hajar's or al-Najashi's entry, tabaqa, year of death, verdict) and whom the chain reaches, then the whole chain
1108
+ said in words.
1109
+
1110
+ ```console
1111
+ $ iy chain bukhari 1 --lang en
1112
+ Sahih al-Bukhari 1
1113
+ 1. حدثنا (narrated to us) الْحُمَيْدِيُّ عَبْدُ اللَّهِ بْنُ الزُّبَيْرِ
1114
+ = عبد الله بن الزبير بن عيسى القرشي الأسدي الحميدي المكي أبو بكر
1115
+ tabaqa 10; d. 219 AH; Ibn Hajar al-'Asqalani: ثقة حافظ فقيه أجل أصحاب بن عيينة (rank 2)
1116
+ 2. حدثنا (narrated to us) سُفْيَانُ
1117
+ = سفيان بن عيينة بن أبي عمران ميمون الهلالي أبو محمد الكوفي ثم المكي
1118
+ tabaqa 8; d. 198 AH; Ibn Hajar al-'Asqalani: ثقة حافظ فقيه إمام حجة … (rank 2)
1119
+ …
1120
+ ```
1121
+
1122
+ ```bash
1123
+ iy chain bukhari # the book's numbers, first to last, with an example
1124
+ iy chain kafi 5:1740 # al-Kafi and 'Uyun number volume:hadith
1125
+ iy chain bukhari 1 --raw # also the chain as written
1126
+ iy chain bukhari 1 --lang tr,en # the chain said in Turkish and English
1127
+ iy chain bukhari --chapter 3 # the hadith of chapter 3 with the start of their text and how far each chain
1128
+ # was read — to choose one without knowing its number
1129
+ iy tahric bukhari 1 # the other narrations of the same hadith in the imported books (takhrij)
1130
+ ```
1131
+
1132
+ ```console
1133
+ $ iy chain bukhari --chapter 3
1134
+ bukhari — 3. Knowledge: 76 hadith
1135
+ 59 11 narrators حَدَّثَنَا مُحَمَّدُ بْنُ سِنَانٍ، قَالَ حَدَّثَنَا فُلَيْحٌ، ح …
1136
+ 60 5 narrators حَدَّثَنَا أَبُو النُّعْمَانِ، عَارِمُ بْنُ الْفَضْلِ قَالَ …
1137
+ ```
1138
+
1139
+ `iy book` reads a book in its own order, as the Books page does, and keeps where you left it.
1140
+
1141
+ ```bash
1142
+ iy book # the Sunni books (--tradition shia, --tradition all)
1143
+ iy book bukhari # its chapters, numbered in reading order
1144
+ iy book bukhari 3 --language English --limit 5 # chapter 3, five hadith, in English
1145
+ iy book bukhari --resume # on where you left it
1146
+ iy book bukhari 3 --mark "Knowledge" # a marker of your own at this chapter
1147
+ iy book --marks # your markers, and where you left each book
1148
+ iy book --go Knowledge # open a marker
1149
+ iy book --unmark Knowledge # remove it (all: every marker)
1150
+ iy book --forget bukhari # forget where you left a book (all: every book)
1151
+ iy book taqrib 1 # the rijal works read the same way, entry by entry
1152
+ ```
1153
+
1154
+ ### 👥 Narrators, scholars and their lives
1155
+
1156
+ ```console
1157
+ $ iy narrator "Ibn Umar"
1158
+ Abd Allah b. Umar (RA) — عبد الله بن عمر بن الخطاب العدوي أبو عبد الرحمن
1159
+ also: أبو عبد الرحمن, بن عمر
1160
+ tabaqa 1: Companions
1161
+ death: 73 AH (مات سنة ثلاث وسبعين في آخرها أو أول التي تليها)
1162
+ Ibn Hajar al-'Asqalani, Taqrib al-Tahdhib: … rank 1: Companion
1163
+ books: ع all six books
1164
+ identified in 6172 chain links of the imported collections
1165
+ ```
1166
+
1167
+ ```bash
1168
+ iy narrator الزهري # Arabic, with or without diacritics
1169
+ iy narrator "Ebu Bekir" --limit 1 # with his teachers, students and hadith
1170
+ iy narrator --famous # the famous Companions by group (the four Caliphs, the Ten, the Mothers of the
1171
+ # Believers, the household, those who narrated most)
1172
+ iy narrator --famous --tradition shia # road B: the Ashab al-Ijma'
1173
+ iy life "Abu Hurayra" --lang tr # a life: written for isnady, or read from the rijal work and the chains
1174
+ iy life Zuhri --source # also his entries in al-Dhahabi's Siyar and Tadhkirat al-Huffaz (downloaded once)
1175
+ iy life "Zurara" --tradition shia # only among one road's narrators
1176
+ iy scholar # the scholars whose work is imported: compilers, graders, critics
1177
+ iy scholar albani # one scholar measured: grades, agreement, kappa, strictness
1178
+ iy scholar --tradition shia # the Shia scholars, by their own road
1179
+ iy scholar --huffaz # al-Dhahabi's Tadhkirat al-Huffaz: 21 generations, deaths by century
1180
+ iy scholar --huffaz --tabaqa 3 # one generation
1181
+ iy scholar --huffaz zuhri --source # one hafiz: generation, death, al-Mizzi's signs, his Taqrib entry, his entry
1182
+ iy group # the groups: ten, kisa, mothers (Sunni), masumin (Shia)
1183
+ iy group ten --lang tr # the ten promised Paradise: the hadith, what each road reads, each member
1184
+ iy group masumin # the Fourteen Infallibles: how many chains of the Shia books end at each
1185
+ iy tree prophets # the prophets' lineage (--hadith: the hadith that speak of one)
1186
+ iy tree quraysh "Abu Bakr" # the tree of Quraysh, with someone found in it
1187
+ iy tree family "Ibn Umar" # a narrator's family among the narrators
1188
+ iy tree learning Zuhri --depth 2 --width 4 # his teachers above and his students below
1189
+ ```
1190
+
1191
+ ### 🎓 The sciences of hadith
1192
+
1193
+ ```console
1194
+ $ iy term mursal --lang tr
1195
+ mürsel مرسل [Senedine göre hadis türleri]
1196
+ Bir tâbiînin, sahâbîyi zikretmeden "Peygamber şöyle dedi" demesi.
1197
+ …
1198
+ source: Ibn Hajar, Nukhbat al-Fikar; Ibn al-Salah, Muqaddima
1199
+ ```
1200
+
1201
+ ```bash
1202
+ iy term # every term, by category
1203
+ iy term --search tadlis # look in names and definitions
1204
+ iy learn # the articles of History and method
1205
+ iy learn writing --lang tr # tadwin, writing, method, numbers — the numbers counted live from your books
1206
+ ```
1207
+
1208
+ ### 📊 Statistics
1209
+
1210
+ `iy stats` gives every statistic of the Statistics page; what was computed is saved and read again until the data
1211
+ changes.
1212
+
1213
+ ```console
1214
+ $ iy stats corpus
1215
+ All Sunni books: 75,953 hadith, 88,941 chains, 304,753 of 405,054 names identified (75.2%), 5,999 narrators
1216
+
1217
+ Concentration: busiest 1% carry 47.7%, busiest 10% 84.3%; 69 of 5,999 narrators carry half; Gini 0.884
1218
+ → in plain words: very uneven: a few carry most of it — the pivots (madar) of the corpus (iy stats --explain gini)
1219
+ ```
1220
+
1221
+ ```bash
1222
+ iy stats narrators # reliability, concentration, the pillars
1223
+ iy stats chains # length, weakest link, time gaps
1224
+ iy stats grades # the weakest narrator and the length against the grade
1225
+ iy stats books # the books compared
1226
+ iy stats graders --book abudawud # agreement, kappa, strictness, the disputed hadith
1227
+ iy stats model --grader albani # what a scholar's grade follows (ordinal regression)
1228
+ iy stats lab # correlations and tests
1229
+ iy stats corpus --book @shia # the Shia books; @all both roads, one after the other
1230
+ iy stats chains --csv ~/stats # every table behind it as CSV files
1231
+ iy stats --explain kappa # a measure in plain words (no term: all of them)
1232
+ iy stats corpus --recompute # compute again
1233
+ ```
1234
+
1235
+ ### 📚 Data, books and sources
1236
+
1237
+ ```bash
1238
+ iy catalog list # the books of the repository in use, and what is imported
1239
+ 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
1241
+ iy catalog languages add tr en # one language for every book (Arabic always stays)
1242
+ iy catalog remove sahih_muslim # remove what was imported of it
1243
+ iy catalog add "My notes" isnady ~/notes/book.json --license CC-BY-4.0 # a book of your own in the list
1244
+ iy repo # the data repositories (isnady-data by default)
1245
+ iy repo add ~/isnady-data --name "My copy" # a GitHub or Hugging Face repository, a URL or a folder
1246
+ iy repo use lk-hadith-corpus # read the books from another repository
1247
+ iy database use isnady-db-2026-10-12.zip # a ready database from a file (yours is kept beside it)
1248
+ iy import isnady ~/my_book/book.json --license CC-BY-4.0 # import one file of your own
1249
+ iy import fawazahmed0 https://…/editions.json --book bukhari --language Turkish # from an index of editions
1250
+ iy formats # the formats that can be imported
1251
+ iy sources # what is imported, with its licence and tier
1252
+ iy remove KEY # a source and everything imported from it
1253
+ iy isnads --rebuild # read every chain again and report per book
1254
+ iy ai build # learn the meaning index (pip install "isnady[ai]"); iy ai status
1255
+ ```
1256
+
1257
+ Credentials for a private source are asked when it is imported and never stored: `--user` (the password is asked,
1258
+ or `--password-env`), `--token-env`, `--api-key-env`, `--api-key-header`, `--api-key-param`.
1259
+
1260
+ ### ⭐ Your things: bookmarks, profiles, settings, files
1261
+
1262
+ ```bash
1263
+ iy bookmark list # every bookmark (list hadith: only one kind)
1264
+ iy bookmark add hadith bukhari:1 --folder Prayer --note "the first hadith"
1265
+ iy bookmark add narrator taqrib:3467 --folder Companions
1266
+ iy bookmark add chapter bukhari:3 ; iy bookmark add term mursal ; iy bookmark add tree prophets:musa
1267
+ iy bookmark folders # the folders, Prayer/Friday inside Prayer
1268
+ iy bookmark remove ID
1269
+ iy bookmark export ~/marks.json ; iy bookmark import ~/marks.json
1270
+ iy profile list # several people on one isnady, each with their own settings and bookmarks
1271
+ iy profile new Ayşe --copy default ; iy profile use Ayşe ; iy profile rename Ayşe Aişe
1272
+ iy profile export Ayşe ~/ ; iy profile import ~/Ayşe.isnady-profile.zip ; iy profile delete Ayşe
1273
+ ISNADY_PROFILE=Ayşe iy search sabır # one command in another profile
1274
+ iy config list --prefix text.arabic # the settings, as in Edit → Preferences
1275
+ iy config set view.theme sky # sky, starry, garden, light, dark, paper, slate, emerald, midnight, contrast, system
1276
+ iy config set text.arabic.size 22 ; iy config reset text.arabic.size
1277
+ iy export hadith bukhari:1 bukhari:5-10 -f pdf -o ~/hadith.pdf
1278
+ iy export book bukhari --chapter 3 -f docx --language Turkish
1279
+ iy export search niyet --grade sahih --in-chapter bukhari:3 -f xlsx # the results as they were found
1280
+ iy export narrators --tradition sunni -f csv ; iy export network bukhari -f graphml
1281
+ iy export bookmarks -f md ; iy export backup -o ~/isnady-backup.zip ; iy export statistics -f xlsx
1282
+ iy export --list # what can be exported and in which formats
1283
+ iy import-data book ~/book.isnady.json ; iy import-data bookmarks ~/marks.json --folder Imported
1284
+ iy import-data settings ~/settings.json --replace ; iy import-data backup ~/isnady-backup.zip
1285
+ ```
1286
+
1287
+ ### 🔧 Installation and upkeep
1288
+
1289
+ ```bash
1290
+ iy -V # the version
1291
+ iy update --check # the installed and the latest version on PyPI and npm, and what is new
1292
+ iy update # update every copy (system, user, venv, pipx, clone); --yes: do not ask
1293
+ iy update --npm # the npm package too
1294
+ iy doctor # every isnady on this computer and which one each command starts
1295
+ iy doctor --fix # update the copies that are behind
1296
+ iy shortcut # a desktop and applications-menu shortcut (--no-desktop, --no-menu)
1297
+ iy datadir # where the data folder is; iy datadir /data/isnady moves it (--as-is, --default)
1298
+ iy cache info ; iy cache clear # the counts kept for speed
1299
+ iy log --level error # the log: errors only; -f follows it; --crash the newest crash report
1300
+ iy log --grep import -n 200 ; iy log --before 2026-10-01 ; iy log --clear
1301
+ iy reset settings # back to zero: settings, books or all (--yes: do not ask)
1302
+ ```
1303
+
1060
1304
  ---
1061
1305
 
1062
1306
  ## 📸 More screenshots
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.4";
9
+ export const version = "0.6.6";
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.4",
3
+ "version": "0.6.6",
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",