isnady 0.5.7 → 0.5.9

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 +24 -13
  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.5.7-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.5.9-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.7-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.5.9-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.7).** Search, chains of transmission, narrators, books, scholars, statistics and
48
+ > **Pre-alpha (0.5.9).** 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 |
@@ -770,9 +772,11 @@ bookmark survives a new import. `iy bookmark add hadith bukhari:1 --folder "Inte
770
772
  **Where you left off.** Each book remembers by itself the chapter and the hadith you had come to, and opens there
771
773
  again ("🔖 You left off at hadith 59" under it on the shelf). Put markers of your own wherever you like and name them
772
774
  ("Prayer reading", "Ramadan"), as many as you want, in any book; the 🔖 Markers menu of the Books page goes to any of
773
- them, or to where you left each book. They are kept with your profile, and the same from the command line:
774
- `iy book bukhari --resume`, `iy book bukhari 3 --mark "Knowledge"`, `iy book --marks`, `iy book --go knowledge`,
775
- `iy book --unmark knowledge`.
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`).
776
780
 
777
781
  <p align="center">
778
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">
@@ -868,10 +872,13 @@ iy import-data bookmarks a.json b.csv # several files at once
868
872
 
869
873
  ## 🎨 Appearance and settings
870
874
 
871
- Seven themes, chosen in **Edit → Preferences → Themes** — each shown as a small live isnady window —
872
- or in **View → Theme**: *Lapis* (lapis and gold of illuminated manuscripts) and *Lapis Night*, which
873
- "Follow system" switches between; *Paper* (warm cream and ink, for long reading); *Slate*;
874
- *Emerald*; *Midnight*; and *High Contrast* (black, white and yellow, for low vision).
875
+ Ten themes, chosen in **Edit → Preferences → Themes** — each shown as a small live isnady window —
876
+ or in **View → Theme**. *Sky* (bright sky blue with sunny gold) and *Starry Night* (a gentle dark of lavender and
877
+ stars), which "Follow system" switches between, and *Rose Garden* (soft rose and cream) are the friendly ones:
878
+ round corners, more room, a sign before each section of the sidebar, and typefaces made for the screen — Nunito
879
+ and Lexend for the interface and the translations, Baloo 2 for the titles — while the Arabic stays in Amiri.
880
+ Then *Lapis* (lapis and gold of illuminated manuscripts) and *Lapis Night*; *Paper* (warm cream and ink, for long
881
+ reading); *Slate*; *Emerald*; *Midnight*; and *High Contrast* (black, white and yellow, for low vision).
875
882
 
876
883
  Every script has its own reading font, size, colour and line spacing — Arabic, Latin, Cyrillic,
877
884
  Bengali and Tamil today. The light and the dark theme each keep their own colours, and the interface
@@ -992,11 +999,11 @@ command line never loads Qt. Every command that takes a book accepts its full na
992
999
  | Short | Example | What it does |
993
1000
  |:------|:-----|:-------------|
994
1001
  | `iy` | `isnady` | Open the window |
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` |
1002
+ | `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` |
996
1003
  | `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 |
997
1004
  | `iy isnads` | `iy isnads --rebuild` | Read every chain and report per book: split, reaching the Prophet or a Ma'sum, identified |
998
1005
  | `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) |
999
- | `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` |
1006
+ | `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`) |
1000
1007
  | `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 |
1001
1008
  | `iy tahric BOOK NUMBER` | `iy tahric bukhari 1` | Other narrations of a hadith in the imported books (takhrij) |
1002
1009
  | `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 |
@@ -1103,4 +1110,8 @@ MIT for the application code. Hadith data comes from separate sources, each unde
1103
1110
  recorded with the data and listed under **Help → Licences**.
1104
1111
 
1105
1112
  The Arabic and reading typeface is [Amiri](https://github.com/aliftype/amiri) by Khaled Hosny,
1106
- bundled under the SIL Open Font License 1.1 (`src/isnady/assets/fonts/OFL.txt`).
1113
+ bundled under the SIL Open Font License 1.1 (`src/isnady/assets/fonts/OFL.txt`). The friendly themes' typefaces —
1114
+ [Nunito](https://github.com/googlefonts/nunito), [Lexend](https://github.com/googlefonts/lexend),
1115
+ [Baloo 2](https://github.com/EkType/Baloo2) — and [Noto Naskh Arabic](https://github.com/notofonts/arabic) are
1116
+ bundled under the same licence (`OFL-Nunito.txt`, `OFL-Lexend.txt`, `OFL-Baloo2.txt`, `OFL-NotoNaskhArabic.txt`),
1117
+ as fixed weights cut from their variable fonts.
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.7";
9
+ export const version = "0.5.9";
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.7",
3
+ "version": "0.5.9",
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",