isnady 0.7.3 → 0.7.4

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 +18 -5
  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.4-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.4-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.4).** 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
 
@@ -212,7 +212,8 @@ administrator prompt on Windows). If an old copy starts even for `iy update`, ru
212
212
  isnady-data at once, in the background.
213
213
  2. **File → Data Sources.** The repository is already chosen: **isnady-data**. Tick the books and
214
214
  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.
215
+ all the books that have it (or takes it out of all of them) in one step. Later, **⟳ Get updates** brings in only
216
+ what is new or changed in the repository.
216
217
  3. **Import the narrators too** — Ibn Hajar's *Taqrib* for the Sunni books, al-Najashi's *Rijal*
217
218
  for the Shia books — and every name in every chain is matched to its narrator.
218
219
  4. **Search**, open a chain, open a narrator, read a book.
@@ -227,6 +228,8 @@ iy catalog import al_kafi_al_kulayni # with al-Majlisi's an
227
228
  iy catalog import taqrib_al_tahdhib_ibn_hajar_al_asqalani # the narrators of the Sunni chains
228
229
  iy catalog import rijal_al_najashi_ahmad_ibn_ali_al_najashi # the narrators of the Shia chains
229
230
  iy catalog import --all # everything
231
+ iy catalog updates # later: what is new or changed in the repository
232
+ iy catalog update # …and import only that
230
233
 
231
234
  iy search النيات # Arabic, with or without diacritics
232
235
  iy search "niyetlere göre" # Turkish, English, any imported language
@@ -247,7 +250,9 @@ written, and the search index, the chains and the narrators are built once, at t
247
250
  **[bayramkotan/isnady-data](https://github.com/bayramkotan/isnady-data)** is isnady's own data
248
251
  repository and its default: every book isnady reads, kept once in isnady's own format, and every one of them is
249
252
  listed in **Data sources** and imported from there with one click — or all of them with **Import all**
250
- (`iy catalog import --all`).
253
+ (`iy catalog import --all`). After that, **⟳ Get updates** (`iy catalog update`) imports only what changed: a book
254
+ new to the repository, a book whose files changed (every book's fingerprint is in the catalog), or a language the
255
+ repository added to a book that you read in your other books. Nothing else is read again.
251
256
 
252
257
  | What | Books | Read in isnady |
253
258
  |---|---|---|
@@ -307,6 +312,12 @@ isnady-data/ each KIND in its folder, each ROAD in its ow
307
312
  the same four buttons — **Import** (or **Update**), **Remove data**, **Open in Books**, **Export…** (the hadith
308
313
  collections; for the other kinds it is shown greyed out, with the reason). `iy catalog list` lists them in the
309
314
  same order, each kind and road under its folder.
315
+ - **Get updates, not everything again (0.7.4).** isnady remembers each book's fingerprint and languages when it
316
+ imports it (`imported.json` in your data folder). The button at the top of Data sources says how many books
317
+ wait — *⟳ Get updates (3)* — and each of their cards carries a mark: *New*, *Changed* or *New language*. Importing
318
+ them brings the search index, the chains and the narrators up to date once, at the end.
319
+ - **In your language.** The cards say what each book is in the interface language — Turkish and Arabic as well as
320
+ English (*"Buhârî (ö. 256) derledi. Arapça ve 8 tercüme …"*).
310
321
  - **The layout of 0.7.3.** Until 0.7.2 the hadith collections stood at `sunni/<book>/` and `shia/<book>/`, and the
311
322
  sira and tabaqat with no road folder. isnady 0.7.3 reads the new places at once; an older isnady finds them after
312
323
  **Refresh** in Data sources (or by itself a day later).
@@ -1384,6 +1395,8 @@ iy stats corpus --recompute # compute again
1384
1395
  iy catalog list # the books of the repository, each kind and road under its folder
1385
1396
  iy catalog import sahih_muslim --language tur --language eng # one book, in these languages
1386
1397
  iy catalog import --all # everything: the Qur'an, the hadith, the sira, the tabaqat, the rijal
1398
+ iy catalog updates # what is new or changed in the repository since you imported
1399
+ iy catalog update # import only that (new books, changed books, new languages)
1387
1400
  iy catalog import quran # the Qur'an (the Arabic and a translation); more: iy quran download KEY
1388
1401
  iy catalog import sira # Ibn Hisham's Sira; siyar, tadhkira: al-Dhahabi's two works
1389
1402
  iy catalog import hammam # a written source as a book: hammam, sadiqa, ali, kitab-ali, jamia, fatima …
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.4";
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.4",
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",