isnady 0.3.8 → 0.4.0

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 +14 -7
  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.3.8-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.4.0-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.8-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.4.0-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.8).** Search, chains of transmission, narrators, books, scholars, statistics and
48
+ > **Pre-alpha (0.4.0).** 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
 
@@ -375,8 +375,10 @@ Sahih al-Bukhari 1
375
375
  In the window, each result shows its chain as a row of names ending at whom it reaches, and
376
376
  **View chain** opens it as a timeline from the book to the Prophet ﷺ — or, in a Shia book, to the
377
377
  Imam — with the Arabic text below: the chain in lighter ink, the text of the hadith in full ink.
378
- Under the Arabic chain it is said again in the languages the texts are shown in (Turkish and English so far), link
379
- by link as the Arabic says it — "Qutayba b. Sa'id narrated to us, Layth narrated to us, from Yazid b. Abi Habib, …
378
+ Under each Arabic name of a card's chain its words are written in the languages the texts are shown in (Turkish
379
+ and English so far), and under the Arabic text of Isnad Chains the whole chain is said, link by link as the Arabic
380
+ says it ("his father" says whose father and who he is: "Hişâm b. Urve'nin babası Urve b. ez-Zübeyr'den"; a
381
+ Companion has "(r.a.)", the Prophet "(s.a.v.)"; the compiler, the "us" of "narrated to us", heads the chain) — "Qutayba b. Sa'id narrated to us, Layth narrated to us, from Yazid b. Abi Habib, …
380
382
  from the Prophet ﷺ" / "Kuteybe b. Saîd bize rivayet etti, Leys bize rivayet etti, Yezîd b. Ebî Habîb'den, … Hz.
381
383
  Peygamber ﷺ'den" (`iy chain … --lang tr,en`).
382
384
  Every link says who the narrator is and what his critic says of him; a click anywhere on him opens him, and pointing
@@ -811,8 +813,9 @@ again, and the footer says so; the settings, bookmarks, profiles, recent searche
811
813
  works are kept. **Help → Check for Updates** asks PyPI and npm (whichever isnady is installed from — both, ticked,
812
814
  when both are behind) and shows what is new; `iy update --check`, `iy update --npm`. A page that cannot be built
813
815
  shows a plain card instead of stopping isnady, the details go to `isnady.log` in the data folder, and an import that
814
- was cut short is named on the Search page at the next start. On the very first start, with no books yet, isnady
815
- offers to import isnady-data in the background, the progress in the bar at the bottom.
816
+ was cut short is named on the Search page at the next start. At every start with no books yet, isnady asks to
817
+ import isnady-data — every hadith book and rijal work with one click (**Import all**) — in the background, the
818
+ progress in the bar at the bottom; on the command line `iy` says so and `iy catalog import --all` does it.
816
819
 
817
820
  **Settings → Books and languages** switches imported books on and off (Sunni and Shia apart) and
818
821
  chooses the languages the texts are shown in; the others are folded behind an arrow on each hadith.
@@ -828,6 +831,9 @@ iy config set view.theme paper
828
831
  iy config reset text.arabic # back to the defaults
829
832
  ```
830
833
 
834
+ **Back to zero.** **Edit → Reset…** (Settings → Reset) deletes all settings, all books, or everything — books,
835
+ settings, bookmarks and the downloaded data — each after asking once more; `iy reset settings|books|all`.
836
+
831
837
  ### Your data folder
832
838
 
833
839
  Everything isnady keeps is in one folder — `iy datadir` shows it, `iy datadir /elsewhere` moves it,
@@ -880,6 +886,7 @@ command line never loads Qt. Every command that takes a book accepts its full na
880
886
  | `iy import FORMAT FILE-OR-URL` | `iy import isnady ~/my_book/book.json` | Import a file of your own; `--book`, `--language`, `--license`, `--user`, `--token-env`, `--api-key-env` |
881
887
  | `iy sources` | | Imported sources, their licence and tier |
882
888
  | `iy remove KEY` | | Remove a source and everything imported from it |
889
+ | `iy reset settings\|books\|all` | `iy reset books` | Back to zero: all settings, all books, or everything (`--yes` does not ask) |
883
890
  | `iy formats` | | The formats that can be imported |
884
891
  | `iy datadir [FOLDER]` | `iy datadir /data/isnady` | Show or move the data folder; `--as-is`, `--default` |
885
892
  | `iy config list\|get\|set\|reset` | | Settings — the same as Edit → Preferences |
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.3.8";
9
+ export const version = "0.4.0";
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.3.8",
3
+ "version": "0.4.0",
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",