isnady 0.5.6 → 0.5.8
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/LICENSE +21 -21
- package/README.md +26 -8
- package/index.d.ts +11 -11
- package/index.js +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Bayram Kotan
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Bayram Kotan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
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.5.
|
|
11
|
+
<img src="https://img.shields.io/badge/PyPI-v0.5.8-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.5.
|
|
16
|
+
<img src="https://img.shields.io/badge/npm-v0.5.8-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.5.
|
|
48
|
+
> **Pre-alpha (0.5.8).** 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
|
|
|
@@ -343,6 +343,8 @@ without authentication (credentials are never stored), are read as well.
|
|
|
343
343
|
| **Active books** | A book can be switched off in **Settings → Books and languages**: it stays imported but is left out of searches, book lists and statistics until switched on |
|
|
344
344
|
| **Grades** | Shown under each hadith with the scholar's name, exactly as given, and explained when you point at them |
|
|
345
345
|
| **Search by grade** | **Grade** beside Books: only sahih, only hasan, both, or any grades ticked — the Sunni scale (sahih, hasan, da'if, very weak, fabricated, not graded) and the Shia books' Imami scale (sahih, hasan, muwaththaq, da'if) apart, never matched to each other. A hadith is found when one of its graders gave a grade ticked, or — with *Every grader agrees* — only when all did. Al-Bukhari's and Muslim's hadith, which no grader grades, count as sahih by their compiler's condition (said so on each; one tick leaves them out). `iy search niyet --grade sahih --grade hasan`, `--every-grader`, `--no-sahihayn` |
|
|
346
|
+
| **Search in a chapter** | **🔎 Search in this chapter** on Books: the Search page with that book and that chapter (and the chapters under it) alone, shown as 📖 beside Books — ✕ searches the whole book again. `iy search العلم --chapter bukhari:3`, `--chapter "bukhari:Knowledge"` |
|
|
347
|
+
| **Export the results** | **⤓ Export these results** beside the count: every hadith found (up to 1,000) with the books, languages, grades and chapter chosen, to Word, PDF, Excel, CSV, JSON, EPUB …; the file says how they were found (the words, the books, the grades, the chapter). `iy export search العلم --in-chapter bukhari:3 --grade sahih -f docx` |
|
|
346
348
|
| **Highlighting** | On the original, diacritised text, diacritics included |
|
|
347
349
|
| **Recent searches** | The last twenty, under the examples on the start page — a click searches again, one link forgets them all; kept with your profile. `iy search --recent`, `iy search --clear-recent` |
|
|
348
350
|
| **Home** | ⌂ beside the box (Alt+Home) brings the page back to how it opens: no words, every filter at its default. Esc empties the box |
|
|
@@ -697,6 +699,19 @@ category alone), the dot before each term, the band of the term's card, its "In
|
|
|
697
699
|
related terms; the card reads from the top: the term large with its Arabic, its names in the other languages,
|
|
698
700
|
*In short*, *In detail*, the source, the related terms, and more of the same category to read on.
|
|
699
701
|
|
|
702
|
+
**History and method** (the 📜 button at the top of Learn, and `iy learn`): four articles in English, Turkish and
|
|
703
|
+
Arabic, each step with its source — *How the hadith were written down and gathered* (the Companions' written sheets,
|
|
704
|
+
'Umar b. 'Abd al-'Aziz's order and al-Zuhri, the books by subject, the Musnads, the two Sahihs and the Sunans, the
|
|
705
|
+
science and its commentaries, with a timeline), *Transmission in writing, and its numbers*, *The logic of the
|
|
706
|
+
method* (the chain, the five conditions of the sahih, jarh and ta'dil, mutawatir and ahad, why the two Sahihs and
|
|
707
|
+
not the Musnad stand first, why the sifting itself is the proof) and *Hadith in numbers*. Their numbers are counted
|
|
708
|
+
live from the books you imported, each tradition apart: the chains that say a written text stood between two
|
|
709
|
+
narrators (read to the teacher, sent in writing, found in a book, dictated, from his book; "akhbarana" in Muslim and
|
|
710
|
+
al-Nasa'i by their own usage), the hadith of Hammam b. Munabbih's Sahifa, the texts that speak of writing, how many
|
|
711
|
+
books and chains carry "Whoever lies about me deliberately", and the size of the corpus — books, hadith, chains,
|
|
712
|
+
names, narrators by generation, the Companions most often at the end of the chains, the graders' grades.
|
|
713
|
+
`iy learn writing --lang tr`.
|
|
714
|
+
|
|
700
715
|
<p align="center">
|
|
701
716
|
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/learn.png" alt="Learn — the term mursal in its category's colour: Arabic, In short, In detail, source, related terms" width="850">
|
|
702
717
|
</p>
|
|
@@ -757,9 +772,11 @@ bookmark survives a new import. `iy bookmark add hadith bukhari:1 --folder "Inte
|
|
|
757
772
|
**Where you left off.** Each book remembers by itself the chapter and the hadith you had come to, and opens there
|
|
758
773
|
again ("🔖 You left off at hadith 59" under it on the shelf). Put markers of your own wherever you like and name them
|
|
759
774
|
("Prayer reading", "Ramadan"), as many as you want, in any book; the 🔖 Markers menu of the Books page goes to any of
|
|
760
|
-
them, or to where you left each book.
|
|
761
|
-
|
|
762
|
-
|
|
775
|
+
them, or to where you left each book. Each marker in that menu opens to *Go to this marker*, *Rename…* and *Remove
|
|
776
|
+
this marker*; each book's place to *Go there* and *Forget where I left this book*; and at the bottom *Remove all
|
|
777
|
+
markers…* and *Forget where I left every book…*. They are kept with your profile, and the same from the command
|
|
778
|
+
line: `iy book bukhari --resume`, `iy book bukhari 3 --mark "Knowledge"`, `iy book --marks`, `iy book --go knowledge`,
|
|
779
|
+
`iy book --unmark knowledge` (`--unmark all`), `iy book --forget bukhari` (`--forget all`).
|
|
763
780
|
|
|
764
781
|
<p align="center">
|
|
765
782
|
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/bookmarks.png" alt="Bookmarks — folders on the left, a hadith, a narrator, a scholar and a term with their folders and a note" width="850">
|
|
@@ -979,15 +996,16 @@ command line never loads Qt. Every command that takes a book accepts its full na
|
|
|
979
996
|
| Short | Example | What it does |
|
|
980
997
|
|:------|:-----|:-------------|
|
|
981
998
|
| `iy` | `isnady` | Open the window |
|
|
982
|
-
| `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`, `--limit`; `--in narrators\|scholars`, `--tradition sunni\|shia`; `--recent`, `--clear-recent` |
|
|
999
|
+
| `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` |
|
|
983
1000
|
| `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 |
|
|
984
1001
|
| `iy isnads` | `iy isnads --rebuild` | Read every chain and report per book: split, reaching the Prophet or a Ma'sum, identified |
|
|
985
1002
|
| `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) |
|
|
986
|
-
| `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` |
|
|
1003
|
+
| `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`) |
|
|
987
1004
|
| `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 |
|
|
988
1005
|
| `iy tahric BOOK NUMBER` | `iy tahric bukhari 1` | Other narrations of a hadith in the imported books (takhrij) |
|
|
989
1006
|
| `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 |
|
|
990
1007
|
| `iy term [NAME]` | `iy term --search tadlis` | The glossary, English, Turkish or Arabic (`--lang tr`, `--lang ar`) |
|
|
1008
|
+
| `iy learn [ARTICLE]` | `iy learn writing --lang tr` | History and method: `tadwin`, `writing`, `method`, `numbers`, with the numbers counted live from your books |
|
|
991
1009
|
| `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 |
|
|
992
1010
|
| `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 |
|
|
993
1011
|
| `iy profile ACTION` | `iy profile new Ayşe --copy default` | Profiles: `list`, `new`, `use`, `rename`, `delete`, `export`, `import` |
|
package/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const version: string;
|
|
2
|
-
export declare const name: string;
|
|
3
|
-
|
|
4
|
-
export interface IsnadyInfo {
|
|
5
|
-
name: string;
|
|
6
|
-
version: string;
|
|
7
|
-
dataLoaded: boolean;
|
|
8
|
-
homepage: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export declare function info(): IsnadyInfo;
|
|
1
|
+
export declare const version: string;
|
|
2
|
+
export declare const name: string;
|
|
3
|
+
|
|
4
|
+
export interface IsnadyInfo {
|
|
5
|
+
name: string;
|
|
6
|
+
version: string;
|
|
7
|
+
dataLoaded: boolean;
|
|
8
|
+
homepage: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export declare function info(): IsnadyInfo;
|
package/index.js
CHANGED