isnady 0.5.5 → 0.5.7

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 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.5-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.5.7-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.5-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.5.7-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.5).** Search, chains of transmission, narrators, books, scholars, statistics and
48
+ > **Pre-alpha (0.5.7).** 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
 
@@ -226,6 +226,7 @@ iy catalog import --all # everything
226
226
 
227
227
  iy search النيات # Arabic, with or without diacritics
228
228
  iy search "niyetlere göre" # Turkish, English, any imported language
229
+ iy search niyet --grade sahih --grade hasan # only sahih and hasan hadith
229
230
  iy chain bukhari 1 # one chain, narrator by narrator
230
231
  iy chain kafi 5:1740 # a Shia chain, read the Shia way
231
232
  iy narrator الزهري # who a narrator is
@@ -341,6 +342,7 @@ without authentication (credentials are never stored), are read as well.
341
342
  | **Language** | One language or several to search in — tick them in the list (Arabic and Turkish, say); the languages you do not read are folded behind an arrow on each hadith, a click opens them. The list holds the languages imported; the languages the same books have in isnady-data (Urdu, Indonesian, Bengali, French, Russian, Tamil) are named at its end — choosing them opens **File → Data Sources** to import them |
342
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 |
343
344
  | **Grades** | Shown under each hadith with the scholar's name, exactly as given, and explained when you point at them |
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` |
344
346
  | **Highlighting** | On the original, diacritised text, diacritics included |
345
347
  | **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` |
346
348
  | **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 |
@@ -695,6 +697,19 @@ category alone), the dot before each term, the band of the term's card, its "In
695
697
  related terms; the card reads from the top: the term large with its Arabic, its names in the other languages,
696
698
  *In short*, *In detail*, the source, the related terms, and more of the same category to read on.
697
699
 
700
+ **History and method** (the 📜 button at the top of Learn, and `iy learn`): four articles in English, Turkish and
701
+ Arabic, each step with its source — *How the hadith were written down and gathered* (the Companions' written sheets,
702
+ 'Umar b. 'Abd al-'Aziz's order and al-Zuhri, the books by subject, the Musnads, the two Sahihs and the Sunans, the
703
+ science and its commentaries, with a timeline), *Transmission in writing, and its numbers*, *The logic of the
704
+ method* (the chain, the five conditions of the sahih, jarh and ta'dil, mutawatir and ahad, why the two Sahihs and
705
+ not the Musnad stand first, why the sifting itself is the proof) and *Hadith in numbers*. Their numbers are counted
706
+ live from the books you imported, each tradition apart: the chains that say a written text stood between two
707
+ narrators (read to the teacher, sent in writing, found in a book, dictated, from his book; "akhbarana" in Muslim and
708
+ al-Nasa'i by their own usage), the hadith of Hammam b. Munabbih's Sahifa, the texts that speak of writing, how many
709
+ books and chains carry "Whoever lies about me deliberately", and the size of the corpus — books, hadith, chains,
710
+ names, narrators by generation, the Companions most often at the end of the chains, the graders' grades.
711
+ `iy learn writing --lang tr`.
712
+
698
713
  <p align="center">
699
714
  <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">
700
715
  </p>
@@ -977,7 +992,7 @@ command line never loads Qt. Every command that takes a book accepts its full na
977
992
  | Short | Example | What it does |
978
993
  |:------|:-----|:-------------|
979
994
  | `iy` | `isnady` | Open the window |
980
- | `iy search WORDS` | `iy search niyet --book abudawud` | Search; `--mode all\|any\|phrase\|meaning`, `--whole-words`, `--book`, `--language`, `--limit`; `--in narrators\|scholars`, `--tradition sunni\|shia`; `--recent`, `--clear-recent` |
995
+ | `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` |
981
996
  | `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 |
982
997
  | `iy isnads` | `iy isnads --rebuild` | Read every chain and report per book: split, reaching the Prophet or a Ma'sum, identified |
983
998
  | `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,6 +1001,7 @@ command line never loads Qt. Every command that takes a book accepts its full na
986
1001
  | `iy tahric BOOK NUMBER` | `iy tahric bukhari 1` | Other narrations of a hadith in the imported books (takhrij) |
987
1002
  | `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 |
988
1003
  | `iy term [NAME]` | `iy term --search tadlis` | The glossary, English, Turkish or Arabic (`--lang tr`, `--lang ar`) |
1004
+ | `iy learn [ARTICLE]` | `iy learn writing --lang tr` | History and method: `tadwin`, `writing`, `method`, `numbers`, with the numbers counted live from your books |
989
1005
  | `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 |
990
1006
  | `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 |
991
1007
  | `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
@@ -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.5.5";
9
+ export const version = "0.5.7";
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.5.5",
3
+ "version": "0.5.7",
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",