isnady 0.6.6 → 0.6.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.
Files changed (3) hide show
  1. package/README.md +29 -4
  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.6-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.6.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.6.6-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.6.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">
@@ -46,7 +46,7 @@
46
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">
47
47
  </p>
48
48
 
49
- > **Pre-alpha (0.6.6).** Search, chains of transmission, narrators, books, scholars, statistics and
49
+ > **Pre-alpha (0.6.7).** Search, chains of transmission, narrators, books, scholars, statistics and
50
50
  > the glossary work today, Sunni and Shia, on data you import in one click. Everything is built in
51
51
  > the open, one piece at a time.
52
52
 
@@ -578,6 +578,17 @@ book** opens the hadith where it stands, among the hadith of its chapter. **⤓
578
578
  being read, as a PDF in the languages you choose — or as Word, EPUB, HTML and the other formats of File → Export
579
579
  (`iy export book bukhari --chapter 3 -f pdf --language Turkish`).
580
580
 
581
+ **The Qur'an** stands first on the shelf. It is downloaded once, on request (about 3 MB): the Arabic (Tanzil's text)
582
+ with a translation in the interface language, and **➕ Translations…** adds any of the others — some 440 translations in
583
+ 98 languages, from fawazahmed0/quran-api (Unlicense; each edition says its source: Tanzil, the King Fahd Complex,
584
+ QuranEnc …). The contents list the 114 suras; a sura shows its verses in Arabic with the translations ticked above
585
+ it, ⟨ ⟩ go to the previous and next sura, and the search looks through the whole text, in Arabic or in a
586
+ translation's words. Under each verse stand **the hadith that name it** — those whose translation marks the verse as
587
+ the one it quotes or explains, "(33:33)", "[43:67]", "(Ahzab 33/51)": the translator's mark, each checked against the
588
+ number of verses of its sura (2,280 hadith name 1,960 verses), the Sunni and the Shia books each on a line of their
589
+ own; a click reads the hadith in its book. And on every hadith card **📖 Verses it names** opens the verse in the
590
+ Qur'an. In the terminal: `iy quran`, `iy quran 33:33 --hadith`, `iy quran search sabır`.
591
+
581
592
  Book and chapter titles follow the interface language: the sources give chapter titles in English only, so
582
593
  isnady carries its own — all 642 chapter titles of the 33 books in Turkish and in Arabic ("Vahyin Başlangıcı",
583
594
  "كتاب بدء الوحي" for "Revelation"), and the Arabic titles a source gives itself where it has them (al-Adab
@@ -1049,7 +1060,7 @@ command.
1049
1060
  |:--------|:-------------|
1050
1061
  | `iy` | Open the window |
1051
1062
  | [`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 |
1063
+ | [`iy chain`](#-chains-books-and-other-narrations) · [`iy tahric`](#-chains-books-and-other-narrations) · [`iy book`](#-chains-books-and-other-narrations) · [`iy quran`](#-chains-books-and-other-narrations) | One chain read link by link · the other narrations of a hadith · read a book in its order · the Qur'an and the hadith that name each verse |
1053
1064
  | [`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
1065
  | [`iy term`](#-the-sciences-of-hadith) · [`iy learn`](#-the-sciences-of-hadith) | The glossary · the history and method of hadith |
1055
1066
  | [`iy stats`](#-statistics-1) | Every statistic of the Statistics page, with its plain-words explanation |
@@ -1151,6 +1162,20 @@ iy book --forget bukhari # forget where you left a book (all: every
1151
1162
  iy book taqrib 1 # the rijal works read the same way, entry by entry
1152
1163
  ```
1153
1164
 
1165
+ `iy quran` reads the Qur'an (downloaded once on request) with its translations and the hadith that name each verse.
1166
+
1167
+ ```bash
1168
+ iy quran download # the Arabic and a translation in the interface language (about 3 MB, once)
1169
+ iy quran editions --language Turkish # the translations offered in a language (98 languages)
1170
+ iy quran download tur-elmalilihamdiya eng-abdelhaleem # more translations
1171
+ iy quran editions --installed # those downloaded ; iy quran remove KEY
1172
+ iy quran # the 114 suras
1173
+ iy quran 1 # a sura
1174
+ iy quran 2:255-257 --edition tur-diyanetisleri # verses, in one translation
1175
+ iy quran 33:33 --hadith # with the hadith that name each verse, Sunni and Shia books apart
1176
+ iy quran search sabır # search the whole text, in Arabic or a translation's words
1177
+ ```
1178
+
1154
1179
  ### 👥 Narrators, scholars and their lives
1155
1180
 
1156
1181
  ```console
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.6";
9
+ export const version = "0.6.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.6.6",
3
+ "version": "0.6.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",