isnady 0.7.4 → 0.7.5

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 +45 -10
  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.7.4-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.7.5-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.7.4-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.7.5-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">
@@ -48,7 +48,7 @@
48
48
  <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">
49
49
  </p>
50
50
 
51
- > **Pre-alpha (0.7.4).** Search, chains of transmission, narrators, books, scholars, statistics and
51
+ > **Pre-alpha (0.7.5).** Search, chains of transmission, narrators, books, scholars, statistics and
52
52
  > the glossary work today, Sunni and Shia, on data you import in one click. Everything is built in
53
53
  > the open, one piece at a time.
54
54
 
@@ -85,12 +85,22 @@ isnady is two repositories that work as one:
85
85
  quran/ (your data folder) books · scholars · statistics
86
86
  hadith/sunni/ hadith/shia/ window and command line
87
87
  sahifa/sunni|shia/ sira/sunni/ tabaqat/sunni/ rijal/sunni|shia/
88
- Releases: isnady-db-<date>.zip ── Use a ready database… ──▶ isnady.db
88
+ Releases: isnady-db-<date>.zip ── Download the ready database ──▶ isnady.db
89
89
  ```
90
90
 
91
91
  The application ships without hadith data, so it stays small and the data can grow on its own:
92
92
  a new book in isnady-data reaches every isnady at once, without a new version of the program.
93
93
 
94
+ **And isnady in Rust: [bayramkotan/isnady-rs](https://github.com/bayramkotan/isnady-rs).** The same program,
95
+ written again in Rust: `iy-rs` on the command line and the window `isnady-rs`. It uses the same data folder, the same
96
+ database and the same settings, and it carries **the same version number** — every release of isnady is a release of
97
+ isnady-rs, on the same day. Every command and every page is ported and gives the same answers, word for word;
98
+ parity tests compare the two programs on every push (its
99
+ [PARITY.md](https://github.com/bayramkotan/isnady-rs/blob/main/PARITY.md)). Get it from
100
+ [crates.io](https://crates.io/crates/isnady) (`cargo install isnady` for `iy-rs`, `cargo install isnady-gui` for the
101
+ window) or ready to run from its [Releases](https://github.com/bayramkotan/isnady-rs/releases/latest) (see
102
+ [Install](#-install)). Its README is this one, word for word.
103
+
94
104
  ---
95
105
 
96
106
  ## 🎯 Why isnady
@@ -138,6 +148,21 @@ Put isnady on the desktop and in the applications menu with **Tools → Create D
138
148
  `iy shortcut`): the shortcut starts isnady the way it is installed — the AppImage, the application, or the
139
149
  `isnady-gui` command of a Python install.
140
150
 
151
+ ### isnady-rs (the same isnady in Rust)
152
+
153
+ From the **[isnady-rs releases](https://github.com/bayramkotan/isnady-rs/releases/latest)** — the window `isnady-rs`
154
+ and the command line `iy-rs`, with the same data folder as the Python isnady:
155
+
156
+ | System | The window | The command line |
157
+ |---|---|---|
158
+ | Windows 10/11 | `isnady-rs-<version>-windows-x86_64-setup.exe` (installs for you, no administrator rights), `…-windows-x86_64.msi` (for all users), or `…-windows-x86_64-portable.exe` (nothing installed) | `iy-rs-<version>-windows-x86_64.zip` |
159
+ | Linux | `isnady-rs-<version>-linux-x86_64.AppImage` (portable: `chmod +x` and run it) or `isnady-rs-<version>-linux-amd64.deb` (`sudo apt install ./…deb`) | `iy-rs-<version>-linux-x86_64.tar.gz` |
160
+ | macOS, Apple silicon / Intel | `isnady-rs-<version>-macos-arm64.dmg` / `…-macos-x86_64.dmg` (drag it to Applications), or the `.zip` of the app (portable); the first time, right-click it and choose *Open* | `iy-rs-<version>-macos-arm64.tar.gz` / `…-macos-x86_64.tar.gz` |
161
+
162
+ Or with Rust: `cargo install isnady` (`iy-rs`) and `cargo install isnady-gui` (the window; on Linux it needs
163
+ `webkit2gtk-4.1`). The portable ones keep everything in a folder named `isnady-data` beside them, as above. Every file of
164
+ a release is listed with its sha256 in `SHA256SUMS.txt`.
165
+
141
166
  ### With Python
142
167
 
143
168
  One line, on any system. Install isnady wherever you like — for all users, for yourself, in a
@@ -340,15 +365,22 @@ iy catalog import --all
340
365
  ```
341
366
 
342
367
  Or take **a whole ready database** — every book imported, every chain read, every narrator
343
- identified — from the [isnady-data Releases](https://github.com/bayramkotan/isnady-data/releases):
368
+ identified — in one download instead of importing book by book. The first start offers it beside
369
+ **Import all** when isnady has no book yet; later it is **Data folder → Download the ready database…**
370
+ in Data sources, or one command:
344
371
 
345
372
  ```bash
346
- iy database use ~/Downloads/isnady-db-<date>.zip # in the window: Data folder → Use a ready database…
373
+ iy database download --check # what it holds: date, books, hadith, narrators, size
374
+ iy database download # download it, check it and use it
375
+ iy database use ~/Downloads/isnady-db-<date>.zip # or a file you already have (Data folder → Use a ready database…)
347
376
  ```
348
377
 
349
- isnady checks the file (the zip must hold `isnady.db`, the schema must be one it reads, the sha256
350
- must match the `database.json` beside it), puts it in place at the next start and keeps your
351
- previous database beside it (`isnady.<date-time>.bak.db`). Nothing is deleted.
378
+ isnady reads what the ready database holds from isnady-data's `database.json`, downloads the zip
379
+ of the [isnady-data Releases](https://github.com/bayramkotan/isnady-data/releases) into your data
380
+ folder and checks it (its size and sha256 as `database.json` gives them, the zip must hold
381
+ `isnady.db`, the schema must be one it reads). It takes the place of your database at the next start
382
+ and your previous database is kept beside it (`isnady.<date-time>.bak.db`). Nothing is deleted. A new
383
+ ready database is published with every release of isnady, so it carries the newest chain reader.
352
384
 
353
385
  <p align="center">
354
386
  <img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources.png" alt="Settings → Data sources — one button for each kind of book, then the road; the Sunni hadith collections under isnady-data/hadith/sunni/, each card with its languages and the same four buttons: Update, Remove data, Open in Books, Export" width="760">
@@ -1107,7 +1139,9 @@ when both are behind) and shows what is new; `iy update --check`, `iy update --n
1107
1139
  shows a plain card instead of stopping isnady, the details go to `isnady.log` in the data folder, and an import that
1108
1140
  was cut short is named on the Search page at the next start. At every start with no books yet, isnady asks to
1109
1141
  import isnady-data — every hadith book and rijal work with one click (**Import all**) — in the background, the
1110
- progress in the bar at the bottom; on the command line `iy` says so and `iy catalog import --all` does it.
1142
+ progress in the bar at the bottom, or to download isnady-data's ready database instead (**Download the ready
1143
+ database**: everything already read, used from the next start); on the command line `iy` says so, and
1144
+ `iy catalog import --all` or `iy database download` does it.
1111
1145
 
1112
1146
  **Settings → Books and languages** switches imported books on and off (Sunni and Shia apart),
1113
1147
  chooses the languages the texts are shown in — the others are folded behind an arrow on each hadith — and puts
@@ -1408,6 +1442,7 @@ iy catalog add "My notes" isnady ~/notes/book.json --license CC-BY-4.0 # a boo
1408
1442
  iy repo # the data repositories (isnady-data by default)
1409
1443
  iy repo add ~/isnady-data --name "My copy" # a GitHub or Hugging Face repository, a URL or a folder
1410
1444
  iy repo use lk-hadith-corpus # read the books from another repository
1445
+ iy database download # isnady-data's ready database, downloaded and checked (yours is kept beside it)
1411
1446
  iy database use isnady-db-2026-10-12.zip # a ready database from a file (yours is kept beside it)
1412
1447
  iy import isnady ~/my_book/book.json --license CC-BY-4.0 # import one file of your own
1413
1448
  iy import fawazahmed0 https://…/editions.json --book bukhari --language Turkish # from an index of editions
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.7.4";
9
+ export const version = "0.7.5";
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.7.4",
3
+ "version": "0.7.5",
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",