isnady 0.7.3 → 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 +60 -12
  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.3-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.3-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.3).** 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
@@ -212,7 +237,8 @@ administrator prompt on Windows). If an old copy starts even for `iy update`, ru
212
237
  isnady-data at once, in the background.
213
238
  2. **File → Data Sources.** The repository is already chosen: **isnady-data**. Tick the books and
214
239
  the languages you want and press **Import** — or **Import all**. **Languages for every book** adds a language to
215
- all the books that have it (or takes it out of all of them) in one step.
240
+ all the books that have it (or takes it out of all of them) in one step. Later, **⟳ Get updates** brings in only
241
+ what is new or changed in the repository.
216
242
  3. **Import the narrators too** — Ibn Hajar's *Taqrib* for the Sunni books, al-Najashi's *Rijal*
217
243
  for the Shia books — and every name in every chain is matched to its narrator.
218
244
  4. **Search**, open a chain, open a narrator, read a book.
@@ -227,6 +253,8 @@ iy catalog import al_kafi_al_kulayni # with al-Majlisi's an
227
253
  iy catalog import taqrib_al_tahdhib_ibn_hajar_al_asqalani # the narrators of the Sunni chains
228
254
  iy catalog import rijal_al_najashi_ahmad_ibn_ali_al_najashi # the narrators of the Shia chains
229
255
  iy catalog import --all # everything
256
+ iy catalog updates # later: what is new or changed in the repository
257
+ iy catalog update # …and import only that
230
258
 
231
259
  iy search النيات # Arabic, with or without diacritics
232
260
  iy search "niyetlere göre" # Turkish, English, any imported language
@@ -247,7 +275,9 @@ written, and the search index, the chains and the narrators are built once, at t
247
275
  **[bayramkotan/isnady-data](https://github.com/bayramkotan/isnady-data)** is isnady's own data
248
276
  repository and its default: every book isnady reads, kept once in isnady's own format, and every one of them is
249
277
  listed in **Data sources** and imported from there with one click — or all of them with **Import all**
250
- (`iy catalog import --all`).
278
+ (`iy catalog import --all`). After that, **⟳ Get updates** (`iy catalog update`) imports only what changed: a book
279
+ new to the repository, a book whose files changed (every book's fingerprint is in the catalog), or a language the
280
+ repository added to a book that you read in your other books. Nothing else is read again.
251
281
 
252
282
  | What | Books | Read in isnady |
253
283
  |---|---|---|
@@ -307,6 +337,12 @@ isnady-data/ each KIND in its folder, each ROAD in its ow
307
337
  the same four buttons — **Import** (or **Update**), **Remove data**, **Open in Books**, **Export…** (the hadith
308
338
  collections; for the other kinds it is shown greyed out, with the reason). `iy catalog list` lists them in the
309
339
  same order, each kind and road under its folder.
340
+ - **Get updates, not everything again (0.7.4).** isnady remembers each book's fingerprint and languages when it
341
+ imports it (`imported.json` in your data folder). The button at the top of Data sources says how many books
342
+ wait — *⟳ Get updates (3)* — and each of their cards carries a mark: *New*, *Changed* or *New language*. Importing
343
+ them brings the search index, the chains and the narrators up to date once, at the end.
344
+ - **In your language.** The cards say what each book is in the interface language — Turkish and Arabic as well as
345
+ English (*"Buhârî (ö. 256) derledi. Arapça ve 8 tercüme …"*).
310
346
  - **The layout of 0.7.3.** Until 0.7.2 the hadith collections stood at `sunni/<book>/` and `shia/<book>/`, and the
311
347
  sira and tabaqat with no road folder. isnady 0.7.3 reads the new places at once; an older isnady finds them after
312
348
  **Refresh** in Data sources (or by itself a day later).
@@ -329,15 +365,22 @@ iy catalog import --all
329
365
  ```
330
366
 
331
367
  Or take **a whole ready database** — every book imported, every chain read, every narrator
332
- 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:
333
371
 
334
372
  ```bash
335
- 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…)
336
376
  ```
337
377
 
338
- isnady checks the file (the zip must hold `isnady.db`, the schema must be one it reads, the sha256
339
- must match the `database.json` beside it), puts it in place at the next start and keeps your
340
- 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.
341
384
 
342
385
  <p align="center">
343
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">
@@ -1096,7 +1139,9 @@ when both are behind) and shows what is new; `iy update --check`, `iy update --n
1096
1139
  shows a plain card instead of stopping isnady, the details go to `isnady.log` in the data folder, and an import that
1097
1140
  was cut short is named on the Search page at the next start. At every start with no books yet, isnady asks to
1098
1141
  import isnady-data — every hadith book and rijal work with one click (**Import all**) — in the background, the
1099
- 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.
1100
1145
 
1101
1146
  **Settings → Books and languages** switches imported books on and off (Sunni and Shia apart),
1102
1147
  chooses the languages the texts are shown in — the others are folded behind an arrow on each hadith — and puts
@@ -1384,6 +1429,8 @@ iy stats corpus --recompute # compute again
1384
1429
  iy catalog list # the books of the repository, each kind and road under its folder
1385
1430
  iy catalog import sahih_muslim --language tur --language eng # one book, in these languages
1386
1431
  iy catalog import --all # everything: the Qur'an, the hadith, the sira, the tabaqat, the rijal
1432
+ iy catalog updates # what is new or changed in the repository since you imported
1433
+ iy catalog update # import only that (new books, changed books, new languages)
1387
1434
  iy catalog import quran # the Qur'an (the Arabic and a translation); more: iy quran download KEY
1388
1435
  iy catalog import sira # Ibn Hisham's Sira; siyar, tadhkira: al-Dhahabi's two works
1389
1436
  iy catalog import hammam # a written source as a book: hammam, sadiqa, ali, kitab-ali, jamia, fatima …
@@ -1395,6 +1442,7 @@ iy catalog add "My notes" isnady ~/notes/book.json --license CC-BY-4.0 # a boo
1395
1442
  iy repo # the data repositories (isnady-data by default)
1396
1443
  iy repo add ~/isnady-data --name "My copy" # a GitHub or Hugging Face repository, a URL or a folder
1397
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)
1398
1446
  iy database use isnady-db-2026-10-12.zip # a ready database from a file (yours is kept beside it)
1399
1447
  iy import isnady ~/my_book/book.json --license CC-BY-4.0 # import one file of your own
1400
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.3";
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.3",
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",