isnady 0.3.4 → 0.3.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.
- package/LICENSE +21 -21
- package/README.md +23 -5
- 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.3.
|
|
11
|
+
<img src="https://img.shields.io/badge/PyPI-v0.3.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.3.
|
|
16
|
+
<img src="https://img.shields.io/badge/npm-v0.3.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">
|
|
@@ -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.3.
|
|
48
|
+
> **Pre-alpha (0.3.6).** 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
|
|
|
@@ -509,9 +509,27 @@ famous man of that name when nothing else excludes him ("Anas" Anas b. Malik, "M
|
|
|
509
509
|
to a name. On road B the same help reads al-Kulayni's chains: his teachers named short ("'Ali b. Ibrahim" b. Hashim
|
|
510
510
|
al-Qummi, "Muhammad b. Yahya" al-'Attar), the nisbas and kunyas the chains use alone (al-Sakuni, al-Nawfali, Abu
|
|
511
511
|
Basir, al-Halabi, Ibn Faddal) and "from his father" read from the son's full name ("'Ali b. Ibrahim from his father"
|
|
512
|
-
is Ibrahim b. Hashim). About
|
|
512
|
+
is Ibrahim b. Hashim). About 280,000 links are identified this way — two of every three in the Sunni chains, one in
|
|
513
513
|
two in the Shia ones.
|
|
514
514
|
|
|
515
|
+
**Who is not a narrator.** The Prophet ﷺ named by his kunya or an epithet ("سمعت أبا القاسم ﷺ", "حدثني خليلي",
|
|
516
|
+
"الصادق المصدوق") ends the chain; he is never matched to a narrator of that kunya. The man a Companion tells a story
|
|
517
|
+
about is not his teacher: "عن أبي هريرة أنّ سعد بن عبادة قال لرسول الله" ends at Abu Hurayra, and so does "عمر،
|
|
518
|
+
سمعت هشام بن حكيم يقرأ". A second road written after a link — "… عن عروة، عن عائشة، وعن هشام بن عروة، عن أبيه، عن
|
|
519
|
+
عائشة", "وحدثنا …", "قال وأخبرني …", "، وأبي الزناد، عن الأعرج" after a Companion — is drawn as its own chain, joined to
|
|
520
|
+
the first where they meet, never read on as one; a road begun again without a sign (a narrator named twice) is cut
|
|
521
|
+
there. And two neighbours that cannot both be right — a narrator his own teacher, a teacher four generations after
|
|
522
|
+
his student or six before him — are not left so: the less certain of the two is left unidentified.
|
|
523
|
+
|
|
524
|
+
**The famous ones, however they are written.** ★ **Famous Companions** on the Narrators page and in the Genealogies
|
|
525
|
+
lists them group by group — the four Caliphs, the ten promised Paradise, the Mothers of the Believers, the Prophet's
|
|
526
|
+
household, those who narrated most and some forty more (`iy narrator --famous`); on road B, the Imami scholars' own
|
|
527
|
+
Ashab al-Ijma'. Typed, a famous Companion comes first whichever way he is written — "Ebubekir", "Ebû Bekr",
|
|
528
|
+
"Abu Bakr", "Hz. Ömer", "Omer ibn Hattap", "Umar bin Khattab", "Osman", "Uthman", "Ayşe", "Aisha", أبو بكر الصديق —
|
|
529
|
+
shown by the name people know him by ("Hz. Ebû Bekir es-Sıddîk (r.a.)": his entry begins with 'Abd Allah b.
|
|
530
|
+
'Uthman), and every name found carries its tabaqa and death year, so 'Umar b. al-Khattab the Caliph is not mistaken
|
|
531
|
+
for the two later men of that name.
|
|
532
|
+
|
|
515
533
|
Sunni narrators filter by tabaqa, rank and book; Shia narrators by the Imami assessment.
|
|
516
534
|
|
|
517
535
|
<p align="center">
|
|
@@ -839,7 +857,7 @@ command line never loads Qt. Every command that takes a book accepts its full na
|
|
|
839
857
|
| `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` |
|
|
840
858
|
| `iy chain BOOK NUMBER` | `iy chain kafi 5:1740` | One chain, narrator by narrator, with who each one is and whom it reaches; `--raw` adds the wording; without a number, the book's range |
|
|
841
859
|
| `iy isnads` | `iy isnads --rebuild` | Read every chain and report per book: split, reaching the Prophet or a Ma'sum, identified |
|
|
842
|
-
| `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 |
|
|
860
|
+
| `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') |
|
|
843
861
|
| `iy book [KEY [CHAPTER]]` | `iy book bukhari 2` | The books; a book's chapters; a chapter read in order |
|
|
844
862
|
| `iy scholar [NAME]` | `iy scholar albani` | The scholars in the data, or one of them with his measured statistics |
|
|
845
863
|
| `iy tahric BOOK NUMBER` | `iy tahric bukhari 1` | Other narrations of a hadith in the imported books (takhrij) |
|
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