isnady 0.6.3 → 0.6.5
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.
- package/README.md +272 -45
- package/index.js +1 -1
- 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.
|
|
11
|
+
<img src="https://img.shields.io/badge/PyPI-v0.6.5-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.
|
|
16
|
+
<img src="https://img.shields.io/badge/npm-v0.6.5-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">
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<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
46
|
</p>
|
|
47
47
|
|
|
48
|
-
> **Pre-alpha (0.6.
|
|
48
|
+
> **Pre-alpha (0.6.5).** Search, chains of transmission, narrators, books, scholars, statistics and
|
|
49
49
|
> the glossary work today, Sunni and Shia, on data you import in one click. Everything is built in
|
|
50
50
|
> the open, one piece at a time.
|
|
51
51
|
|
|
@@ -396,7 +396,10 @@ Choose a book and a number, or let isnady choose: beside the number stands the b
|
|
|
396
396
|
where the hadith stands among the book's ("hadith 36 of 7,467"); ⏮ ‹ › ⏭ go to the first, previous, next and last
|
|
397
397
|
hadith, so do the arrow keys and the mouse wheel; typing lists the numbers that begin so, a number the book does not
|
|
398
398
|
have offers the nearest, and **Random hadith** picks one among those whose chain was read. `iy chain kafi` prints
|
|
399
|
-
the range.
|
|
399
|
+
the range. **📖 From the contents…** chooses without knowing the number: the book's chapters, then the hadith of the
|
|
400
|
+
chapter with the start of their text and how many narrators each chain was read into, a word to look for among them,
|
|
401
|
+
and a double click shows the chain (`iy chain bukhari --chapter 3`). A hadith a book gives without a chain says so
|
|
402
|
+
above its text.
|
|
400
403
|
|
|
401
404
|
<p align="center">
|
|
402
405
|
<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">
|
|
@@ -932,7 +935,13 @@ nothing to restart. `iy config set view.ui_language tr`. The hadith texts keep t
|
|
|
932
935
|
|
|
933
936
|
**Back and forward**, as in a browser: ◀ ▶ under the name in the sidebar, Alt+Left / Alt+Right, the mouse's back
|
|
934
937
|
and forward buttons — every narrator, chain, book, scholar, term and tree opened is a step, and pointing at the
|
|
935
|
-
button says where it goes.
|
|
938
|
+
button says where it goes; so is every narrator, scholar, hafiz, book, chapter and term picked in a page's own list.
|
|
939
|
+
|
|
940
|
+
**Right-click** a hadith, a book, a chapter, a narrator, a scholar, a hafiz, a narrator of a chain, a bookmark or a
|
|
941
|
+
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
|
|
942
|
+
its markers, search in a chapter, put a marker, his family and his line of learning, his entry in the rijal work, the
|
|
943
|
+
narrators of a name the chain gives, a note or a folder for a bookmark, add to or remove from the bookmarks, copy (the
|
|
944
|
+
reference, the Arabic, a translation, everything, a name) and export.
|
|
936
945
|
|
|
937
946
|
**A new version starts clean:** what the earlier version kept for speed (`cache/`) is deleted once and computed
|
|
938
947
|
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
|
|
@@ -1002,46 +1011,37 @@ itself, so nothing changes for anyone who never makes a second one. `iy profile
|
|
|
1002
1011
|
|
|
1003
1012
|
## ⌨️ CLI
|
|
1004
1013
|
|
|
1005
|
-
Everything the window does also works without it — on a server, over SSH, or in a script. The
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
|
1021
|
-
|
|
1022
|
-
| `iy
|
|
1023
|
-
| `iy
|
|
1024
|
-
| `iy
|
|
1025
|
-
| `iy
|
|
1026
|
-
| `iy
|
|
1027
|
-
| `iy
|
|
1028
|
-
| `iy catalog
|
|
1029
|
-
| `iy
|
|
1030
|
-
| `iy
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
| `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` |
|
|
1037
|
-
| `iy reset settings\|books\|all` | `iy reset books` | Back to zero: all settings, all books, or everything (`--yes` does not ask) |
|
|
1038
|
-
| `iy formats` | | The formats that can be imported |
|
|
1039
|
-
| `iy datadir [FOLDER]` | `iy datadir /data/isnady` | Show or move the data folder; `--as-is`, `--default` |
|
|
1040
|
-
| `iy config list\|get\|set\|reset` | | Settings — the same as Edit → Preferences |
|
|
1041
|
-
| `iy shortcut` | `iy shortcut --no-desktop` | A desktop and applications-menu shortcut |
|
|
1042
|
-
| `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 |
|
|
1043
|
-
| `iy doctor` | | Every copy of isnady on this computer and which one each command starts |
|
|
1044
|
-
| `iy -V` / `iy -h` | | Version / help |
|
|
1014
|
+
Everything the window does also works without it — on a server, over SSH, or in a script. The command line never
|
|
1015
|
+
loads Qt, so it starts in a moment and needs no screen. The same engine answers both: a search, a chain, a narrator
|
|
1016
|
+
or a statistic is the same number in the terminal as in the window.
|
|
1017
|
+
|
|
1018
|
+
**Three names, one program.** `iy` is the short name, `isnady` the long one; without arguments either opens the window,
|
|
1019
|
+
with a command it works in the terminal. `isnady-cli` never opens the window. Every command explains itself:
|
|
1020
|
+
`iy --help` lists them, `iy COMMAND --help` gives every option of one. Every command that takes a book accepts its
|
|
1021
|
+
full name (`musnad_ahmad_ibn_hanbal`) or its short key (`ahmad`); `iy book` lists them. Names may be written in Arabic
|
|
1022
|
+
or in Latin letters, with or without diacritics: `iy narrator "Ebu Hureyre"`, `iy narrator "Abu Hurayra"` and
|
|
1023
|
+
`iy narrator "أبو هريرة"` find the same man. The interface language (`iy config set view.ui_language tr`) also sets
|
|
1024
|
+
the language of the answers where they are written for isnady (lives, terms, history); `--lang` changes it for one
|
|
1025
|
+
command.
|
|
1026
|
+
|
|
1027
|
+
**At a glance**
|
|
1028
|
+
|
|
1029
|
+
| Command | What it does |
|
|
1030
|
+
|:--------|:-------------|
|
|
1031
|
+
| `iy` | Open the window |
|
|
1032
|
+
| [`iy search`](#-searching) | Search hadith text, narrators or scholars |
|
|
1033
|
+
| [`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 |
|
|
1034
|
+
| [`iy narrator`](#-narrators-scholars-and-their-lives) · [`iy life`](#-narrators-scholars-and-their-lives) · [`iy scholar`](#-narrators-scholars-and-their-lives) · [`iy tree`](#-narrators-scholars-and-their-lives) | A narrator · a life · the scholars and the huffaz · the genealogies |
|
|
1035
|
+
| [`iy term`](#-the-sciences-of-hadith) · [`iy learn`](#-the-sciences-of-hadith) | The glossary · the history and method of hadith |
|
|
1036
|
+
| [`iy stats`](#-statistics-1) | Every statistic of the Statistics page, with its plain-words explanation |
|
|
1037
|
+
| [`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 |
|
|
1038
|
+
| [`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 |
|
|
1039
|
+
| [`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 |
|
|
1040
|
+
|
|
1041
|
+
### 🔎 Searching
|
|
1042
|
+
|
|
1043
|
+
`iy search WORDS` searches the texts of every imported book in every language, as the Search page does. Arabic
|
|
1044
|
+
diacritics and letter forms are ignored (الاعمال finds الأَعْمَالُ), and Latin-letter text ignores case and accents.
|
|
1045
1045
|
|
|
1046
1046
|
```console
|
|
1047
1047
|
$ iy search niyet --book abudawud --limit 1
|
|
@@ -1052,6 +1052,233 @@ Sunan Abu Dawud #472
|
|
|
1052
1052
|
[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"
|
|
1053
1053
|
```
|
|
1054
1054
|
|
|
1055
|
+
```bash
|
|
1056
|
+
iy search "إنما الأعمال" --mode phrase # the words together, in this order
|
|
1057
|
+
iy search sabır şükür --mode any # any of the words
|
|
1058
|
+
iy search namaz --whole-words --language Turkish # whole words, Turkish texts only
|
|
1059
|
+
iy search niyet --grade sahih --grade hasan # only sahih or hasan hadith
|
|
1060
|
+
iy search niyet --grade sahih --every-grader # only where every grader said sahih
|
|
1061
|
+
iy search niyet --grade sahih --no-sahihayn # without al-Bukhari and Muslim
|
|
1062
|
+
iy search ilim --chapter bukhari:3 # only in Bukhari's chapter 3 (Knowledge) and below it
|
|
1063
|
+
iy search ilim --chapter "bukhari:Knowledge" # the same chapter by the start of its title
|
|
1064
|
+
iy search "Ebu Hureyre" --in narrators # narrators of both traditions, by name
|
|
1065
|
+
iy search Zurara --in narrators --tradition shia # only al-Najashi's narrators
|
|
1066
|
+
iy search Albani --in scholars # the scholars
|
|
1067
|
+
iy search patience --mode meaning # by meaning, across languages (pip install "isnady[ai]", iy ai build)
|
|
1068
|
+
iy search --recent # the last 20 searches, as in the window
|
|
1069
|
+
```
|
|
1070
|
+
|
|
1071
|
+
| Option | Meaning |
|
|
1072
|
+
|:-------|:--------|
|
|
1073
|
+
| `--mode all\|any\|phrase\|meaning` | every word (default), any word, the words in order, or by meaning |
|
|
1074
|
+
| `--whole-words` | whole words only |
|
|
1075
|
+
| `--book KEY` | only this book (repeatable) |
|
|
1076
|
+
| `--language NAME` | only texts of this language (repeatable) |
|
|
1077
|
+
| `--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) |
|
|
1078
|
+
| `--every-grader` | with `--grade`: every grade the hadith was given is among those chosen |
|
|
1079
|
+
| `--no-sahihayn` | with `--grade sahih`: al-Bukhari's and Muslim's hadith are not counted (by default they are, by their compiler's condition) |
|
|
1080
|
+
| `--chapter BOOK:CH` | only this chapter and the chapters under it (repeatable) |
|
|
1081
|
+
| `--in hadith\|narrators\|scholars` · `--tradition sunni\|shia` | what to search; with narrators, one road |
|
|
1082
|
+
| `--limit N` · `--offset N` · `--width N` · `--all-texts` | how many, from where, characters shown, every text and not only those that matched |
|
|
1083
|
+
| `--recent` · `--clear-recent` | the recent searches, or forget them |
|
|
1084
|
+
|
|
1085
|
+
### 🔗 Chains, books and other narrations
|
|
1086
|
+
|
|
1087
|
+
`iy chain BOOK NUMBER` reads one chain link by link: the word of transmission and its meaning, who each narrator is
|
|
1088
|
+
(Ibn Hajar's or al-Najashi's entry, tabaqa, year of death, verdict) and whom the chain reaches, then the whole chain
|
|
1089
|
+
said in words.
|
|
1090
|
+
|
|
1091
|
+
```console
|
|
1092
|
+
$ iy chain bukhari 1 --lang en
|
|
1093
|
+
Sahih al-Bukhari 1
|
|
1094
|
+
1. حدثنا (narrated to us) الْحُمَيْدِيُّ عَبْدُ اللَّهِ بْنُ الزُّبَيْرِ
|
|
1095
|
+
= عبد الله بن الزبير بن عيسى القرشي الأسدي الحميدي المكي أبو بكر
|
|
1096
|
+
tabaqa 10; d. 219 AH; Ibn Hajar al-'Asqalani: ثقة حافظ فقيه أجل أصحاب بن عيينة (rank 2)
|
|
1097
|
+
2. حدثنا (narrated to us) سُفْيَانُ
|
|
1098
|
+
= سفيان بن عيينة بن أبي عمران ميمون الهلالي أبو محمد الكوفي ثم المكي
|
|
1099
|
+
tabaqa 8; d. 198 AH; Ibn Hajar al-'Asqalani: ثقة حافظ فقيه إمام حجة … (rank 2)
|
|
1100
|
+
…
|
|
1101
|
+
```
|
|
1102
|
+
|
|
1103
|
+
```bash
|
|
1104
|
+
iy chain bukhari # the book's numbers, first to last, with an example
|
|
1105
|
+
iy chain kafi 5:1740 # al-Kafi and 'Uyun number volume:hadith
|
|
1106
|
+
iy chain bukhari 1 --raw # also the chain as written
|
|
1107
|
+
iy chain bukhari 1 --lang tr,en # the chain said in Turkish and English
|
|
1108
|
+
iy chain bukhari --chapter 3 # the hadith of chapter 3 with the start of their text and how far each chain
|
|
1109
|
+
# was read — to choose one without knowing its number
|
|
1110
|
+
iy tahric bukhari 1 # the other narrations of the same hadith in the imported books (takhrij)
|
|
1111
|
+
```
|
|
1112
|
+
|
|
1113
|
+
```console
|
|
1114
|
+
$ iy chain bukhari --chapter 3
|
|
1115
|
+
bukhari — 3. Knowledge: 76 hadith
|
|
1116
|
+
59 11 narrators حَدَّثَنَا مُحَمَّدُ بْنُ سِنَانٍ، قَالَ حَدَّثَنَا فُلَيْحٌ، ح …
|
|
1117
|
+
60 5 narrators حَدَّثَنَا أَبُو النُّعْمَانِ، عَارِمُ بْنُ الْفَضْلِ قَالَ …
|
|
1118
|
+
```
|
|
1119
|
+
|
|
1120
|
+
`iy book` reads a book in its own order, as the Books page does, and keeps where you left it.
|
|
1121
|
+
|
|
1122
|
+
```bash
|
|
1123
|
+
iy book # the Sunni books (--tradition shia, --tradition all)
|
|
1124
|
+
iy book bukhari # its chapters, numbered in reading order
|
|
1125
|
+
iy book bukhari 3 --language English --limit 5 # chapter 3, five hadith, in English
|
|
1126
|
+
iy book bukhari --resume # on where you left it
|
|
1127
|
+
iy book bukhari 3 --mark "Knowledge" # a marker of your own at this chapter
|
|
1128
|
+
iy book --marks # your markers, and where you left each book
|
|
1129
|
+
iy book --go Knowledge # open a marker
|
|
1130
|
+
iy book --unmark Knowledge # remove it (all: every marker)
|
|
1131
|
+
iy book --forget bukhari # forget where you left a book (all: every book)
|
|
1132
|
+
iy book taqrib 1 # the rijal works read the same way, entry by entry
|
|
1133
|
+
```
|
|
1134
|
+
|
|
1135
|
+
### 👥 Narrators, scholars and their lives
|
|
1136
|
+
|
|
1137
|
+
```console
|
|
1138
|
+
$ iy narrator "Ibn Umar"
|
|
1139
|
+
Abd Allah b. Umar (RA) — عبد الله بن عمر بن الخطاب العدوي أبو عبد الرحمن
|
|
1140
|
+
also: أبو عبد الرحمن, بن عمر
|
|
1141
|
+
tabaqa 1: Companions
|
|
1142
|
+
death: 73 AH (مات سنة ثلاث وسبعين في آخرها أو أول التي تليها)
|
|
1143
|
+
Ibn Hajar al-'Asqalani, Taqrib al-Tahdhib: … rank 1: Companion
|
|
1144
|
+
books: ع all six books
|
|
1145
|
+
identified in 6172 chain links of the imported collections
|
|
1146
|
+
```
|
|
1147
|
+
|
|
1148
|
+
```bash
|
|
1149
|
+
iy narrator الزهري # Arabic, with or without diacritics
|
|
1150
|
+
iy narrator "Ebu Bekir" --limit 1 # with his teachers, students and hadith
|
|
1151
|
+
iy narrator --famous # the famous Companions by group (the four Caliphs, the Ten, the Mothers of the
|
|
1152
|
+
# Believers, the household, those who narrated most)
|
|
1153
|
+
iy narrator --famous --tradition shia # road B: the Ashab al-Ijma'
|
|
1154
|
+
iy life "Abu Hurayra" --lang tr # a life: written for isnady, or read from the rijal work and the chains
|
|
1155
|
+
iy life Zuhri --source # also his entry in al-Dhahabi's Siyar, in its own words (downloaded once)
|
|
1156
|
+
iy life "Zurara" --tradition shia # only among one road's narrators
|
|
1157
|
+
iy scholar # the scholars whose work is imported: compilers, graders, critics
|
|
1158
|
+
iy scholar albani # one scholar measured: grades, agreement, kappa, strictness
|
|
1159
|
+
iy scholar --tradition shia # the Shia scholars, by their own road
|
|
1160
|
+
iy scholar --huffaz # al-Dhahabi's Tadhkirat al-Huffaz: 21 generations, deaths by century
|
|
1161
|
+
iy scholar --huffaz --tabaqa 3 # one generation
|
|
1162
|
+
iy scholar --huffaz zuhri --source # one hafiz: generation, death, al-Mizzi's signs, his Taqrib entry, his entry
|
|
1163
|
+
iy tree prophets # the prophets' lineage (--hadith: the hadith that speak of one)
|
|
1164
|
+
iy tree quraysh "Abu Bakr" # the tree of Quraysh, with someone found in it
|
|
1165
|
+
iy tree family "Ibn Umar" # a narrator's family among the narrators
|
|
1166
|
+
iy tree learning Zuhri --depth 2 --width 4 # his teachers above and his students below
|
|
1167
|
+
```
|
|
1168
|
+
|
|
1169
|
+
### 🎓 The sciences of hadith
|
|
1170
|
+
|
|
1171
|
+
```console
|
|
1172
|
+
$ iy term mursal --lang tr
|
|
1173
|
+
mürsel مرسل [Senedine göre hadis türleri]
|
|
1174
|
+
Bir tâbiînin, sahâbîyi zikretmeden "Peygamber şöyle dedi" demesi.
|
|
1175
|
+
…
|
|
1176
|
+
source: Ibn Hajar, Nukhbat al-Fikar; Ibn al-Salah, Muqaddima
|
|
1177
|
+
```
|
|
1178
|
+
|
|
1179
|
+
```bash
|
|
1180
|
+
iy term # every term, by category
|
|
1181
|
+
iy term --search tadlis # look in names and definitions
|
|
1182
|
+
iy learn # the articles of History and method
|
|
1183
|
+
iy learn writing --lang tr # tadwin, writing, method, numbers — the numbers counted live from your books
|
|
1184
|
+
```
|
|
1185
|
+
|
|
1186
|
+
### 📊 Statistics
|
|
1187
|
+
|
|
1188
|
+
`iy stats` gives every statistic of the Statistics page; what was computed is saved and read again until the data
|
|
1189
|
+
changes.
|
|
1190
|
+
|
|
1191
|
+
```console
|
|
1192
|
+
$ iy stats corpus
|
|
1193
|
+
All Sunni books: 75,953 hadith, 88,941 chains, 304,753 of 405,054 names identified (75.2%), 5,999 narrators
|
|
1194
|
+
|
|
1195
|
+
Concentration: busiest 1% carry 47.7%, busiest 10% 84.3%; 69 of 5,999 narrators carry half; Gini 0.884
|
|
1196
|
+
→ in plain words: very uneven: a few carry most of it — the pivots (madar) of the corpus (iy stats --explain gini)
|
|
1197
|
+
```
|
|
1198
|
+
|
|
1199
|
+
```bash
|
|
1200
|
+
iy stats narrators # reliability, concentration, the pillars
|
|
1201
|
+
iy stats chains # length, weakest link, time gaps
|
|
1202
|
+
iy stats grades # the weakest narrator and the length against the grade
|
|
1203
|
+
iy stats books # the books compared
|
|
1204
|
+
iy stats graders --book abudawud # agreement, kappa, strictness, the disputed hadith
|
|
1205
|
+
iy stats model --grader albani # what a scholar's grade follows (ordinal regression)
|
|
1206
|
+
iy stats lab # correlations and tests
|
|
1207
|
+
iy stats corpus --book @shia # the Shia books; @all both roads, one after the other
|
|
1208
|
+
iy stats chains --csv ~/stats # every table behind it as CSV files
|
|
1209
|
+
iy stats --explain kappa # a measure in plain words (no term: all of them)
|
|
1210
|
+
iy stats corpus --recompute # compute again
|
|
1211
|
+
```
|
|
1212
|
+
|
|
1213
|
+
### 📚 Data, books and sources
|
|
1214
|
+
|
|
1215
|
+
```bash
|
|
1216
|
+
iy catalog list # the books of the repository in use, and what is imported
|
|
1217
|
+
iy catalog import sahih_muslim --language tur --language eng # one book, in these languages
|
|
1218
|
+
iy catalog import --all # every book, then the rijal works
|
|
1219
|
+
iy catalog languages add tr en # one language for every book (Arabic always stays)
|
|
1220
|
+
iy catalog remove sahih_muslim # remove what was imported of it
|
|
1221
|
+
iy catalog add "My notes" isnady ~/notes/book.json --license CC-BY-4.0 # a book of your own in the list
|
|
1222
|
+
iy repo # the data repositories (isnady-data by default)
|
|
1223
|
+
iy repo add ~/isnady-data --name "My copy" # a GitHub or Hugging Face repository, a URL or a folder
|
|
1224
|
+
iy repo use lk-hadith-corpus # read the books from another repository
|
|
1225
|
+
iy database use isnady-db-2026-10-12.zip # a ready database from a file (yours is kept beside it)
|
|
1226
|
+
iy import isnady ~/my_book/book.json --license CC-BY-4.0 # import one file of your own
|
|
1227
|
+
iy import fawazahmed0 https://…/editions.json --book bukhari --language Turkish # from an index of editions
|
|
1228
|
+
iy formats # the formats that can be imported
|
|
1229
|
+
iy sources # what is imported, with its licence and tier
|
|
1230
|
+
iy remove KEY # a source and everything imported from it
|
|
1231
|
+
iy isnads --rebuild # read every chain again and report per book
|
|
1232
|
+
iy ai build # learn the meaning index (pip install "isnady[ai]"); iy ai status
|
|
1233
|
+
```
|
|
1234
|
+
|
|
1235
|
+
Credentials for a private source are asked when it is imported and never stored: `--user` (the password is asked,
|
|
1236
|
+
or `--password-env`), `--token-env`, `--api-key-env`, `--api-key-header`, `--api-key-param`.
|
|
1237
|
+
|
|
1238
|
+
### ⭐ Your things: bookmarks, profiles, settings, files
|
|
1239
|
+
|
|
1240
|
+
```bash
|
|
1241
|
+
iy bookmark list # every bookmark (list hadith: only one kind)
|
|
1242
|
+
iy bookmark add hadith bukhari:1 --folder Prayer --note "the first hadith"
|
|
1243
|
+
iy bookmark add narrator taqrib:3467 --folder Companions
|
|
1244
|
+
iy bookmark add chapter bukhari:3 ; iy bookmark add term mursal ; iy bookmark add tree prophets:musa
|
|
1245
|
+
iy bookmark folders # the folders, Prayer/Friday inside Prayer
|
|
1246
|
+
iy bookmark remove ID
|
|
1247
|
+
iy bookmark export ~/marks.json ; iy bookmark import ~/marks.json
|
|
1248
|
+
iy profile list # several people on one isnady, each with their own settings and bookmarks
|
|
1249
|
+
iy profile new Ayşe --copy default ; iy profile use Ayşe ; iy profile rename Ayşe Aişe
|
|
1250
|
+
iy profile export Ayşe ~/ ; iy profile import ~/Ayşe.isnady-profile.zip ; iy profile delete Ayşe
|
|
1251
|
+
ISNADY_PROFILE=Ayşe iy search sabır # one command in another profile
|
|
1252
|
+
iy config list --prefix text.arabic # the settings, as in Edit → Preferences
|
|
1253
|
+
iy config set view.theme sky # sky, starry, garden, light, dark, paper, slate, emerald, midnight, contrast, system
|
|
1254
|
+
iy config set text.arabic.size 22 ; iy config reset text.arabic.size
|
|
1255
|
+
iy export hadith bukhari:1 bukhari:5-10 -f pdf -o ~/hadith.pdf
|
|
1256
|
+
iy export book bukhari --chapter 3 -f docx --language Turkish
|
|
1257
|
+
iy export search niyet --grade sahih --in-chapter bukhari:3 -f xlsx # the results as they were found
|
|
1258
|
+
iy export narrators --tradition sunni -f csv ; iy export network bukhari -f graphml
|
|
1259
|
+
iy export bookmarks -f md ; iy export backup -o ~/isnady-backup.zip ; iy export statistics -f xlsx
|
|
1260
|
+
iy export --list # what can be exported and in which formats
|
|
1261
|
+
iy import-data book ~/book.isnady.json ; iy import-data bookmarks ~/marks.json --folder Imported
|
|
1262
|
+
iy import-data settings ~/settings.json --replace ; iy import-data backup ~/isnady-backup.zip
|
|
1263
|
+
```
|
|
1264
|
+
|
|
1265
|
+
### 🔧 Installation and upkeep
|
|
1266
|
+
|
|
1267
|
+
```bash
|
|
1268
|
+
iy -V # the version
|
|
1269
|
+
iy update --check # the installed and the latest version on PyPI and npm, and what is new
|
|
1270
|
+
iy update # update every copy (system, user, venv, pipx, clone); --yes: do not ask
|
|
1271
|
+
iy update --npm # the npm package too
|
|
1272
|
+
iy doctor # every isnady on this computer and which one each command starts
|
|
1273
|
+
iy doctor --fix # update the copies that are behind
|
|
1274
|
+
iy shortcut # a desktop and applications-menu shortcut (--no-desktop, --no-menu)
|
|
1275
|
+
iy datadir # where the data folder is; iy datadir /data/isnady moves it (--as-is, --default)
|
|
1276
|
+
iy cache info ; iy cache clear # the counts kept for speed
|
|
1277
|
+
iy log --level error # the log: errors only; -f follows it; --crash the newest crash report
|
|
1278
|
+
iy log --grep import -n 200 ; iy log --before 2026-10-01 ; iy log --clear
|
|
1279
|
+
iy reset settings # back to zero: settings, books or all (--yes: do not ask)
|
|
1280
|
+
```
|
|
1281
|
+
|
|
1055
1282
|
---
|
|
1056
1283
|
|
|
1057
1284
|
## 📸 More screenshots
|
package/index.js
CHANGED