isnady 0.7.2 → 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.
- package/README.md +56 -26
- package/index.js +1 -1
- 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.
|
|
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.
|
|
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.
|
|
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
|
|
|
@@ -83,8 +83,8 @@ isnady is two repositories that work as one:
|
|
|
83
83
|
─────────────────────── ──────────────────
|
|
84
84
|
catalog.json ─────────────── Data sources ───▶ import ─▶ isnady.db ─▶ search · chains · narrators
|
|
85
85
|
quran/ (your data folder) books · scholars · statistics
|
|
86
|
-
sunni
|
|
87
|
-
sira/ tabaqat/
|
|
86
|
+
hadith/sunni/ hadith/shia/ window and command line
|
|
87
|
+
sahifa/sunni|shia/ sira/sunni/ tabaqat/sunni/ rijal/sunni|shia/
|
|
88
88
|
Releases: isnady-db-<date>.zip ── Use a ready database… ──▶ isnady.db
|
|
89
89
|
```
|
|
90
90
|
|
|
@@ -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
|
|---|---|---|
|
|
@@ -268,19 +273,23 @@ The hadith collections, Sunni and Shia apart:
|
|
|
268
273
|
### How it is laid out
|
|
269
274
|
|
|
270
275
|
```
|
|
271
|
-
isnady-data/
|
|
276
|
+
isnady-data/ each KIND in its folder, each ROAD in its own under it
|
|
272
277
|
├── catalog.json the list isnady reads (isnady-catalog/1): "entries" and the "library"
|
|
273
|
-
├── quran/ suras.json,
|
|
274
|
-
├──
|
|
275
|
-
├── sunni/
|
|
276
|
-
├──
|
|
277
|
-
|
|
278
|
-
├──
|
|
279
|
-
├──
|
|
280
|
-
|
|
281
|
-
├── sira/
|
|
282
|
-
|
|
283
|
-
├── tabaqat/
|
|
278
|
+
├── quran/ the Qur'an, both roads': suras.json, ara/, tur/tur-diyanetisleri.json …
|
|
279
|
+
├── hadith/
|
|
280
|
+
│ ├── sunni/sahih_al_bukhari/ book.json (numbers, chapters, references, grades) + ara.json, eng.json, tur.json …
|
|
281
|
+
│ ├── sunni/musnad_ahmad_ibn_hanbal/ …
|
|
282
|
+
│ └── shia/al_kafi_al_kulayni/ …
|
|
283
|
+
├── sahifa/
|
|
284
|
+
│ ├── sunni/sahifat_hammam_ibn_munabbih.json a written source: [book, number] of its hadith (isnady-sahifa/1)
|
|
285
|
+
│ └── shia/kitab_ali_fi_al_kutub_al_shiiyya.json …
|
|
286
|
+
├── sira/
|
|
287
|
+
│ └── sunni/al_sira_al_nabawiyya_ibn_hisham.md
|
|
288
|
+
├── tabaqat/
|
|
289
|
+
│ └── sunni/siyar_alam_al_nubala_al_dhahabi.md, tadhkirat_al_huffaz_al_dhahabi.md
|
|
290
|
+
├── rijal/
|
|
291
|
+
│ ├── sunni/taqrib_al_tahdhib_ibn_hajar_al_asqalani.md
|
|
292
|
+
│ └── shia/rijal_al_najashi_ahmad_ibn_ali_al_najashi.md
|
|
284
293
|
├── derived/ statistics and models already computed, as JSON
|
|
285
294
|
└── database.json the ready database of the latest Release
|
|
286
295
|
```
|
|
@@ -294,9 +303,24 @@ isnady-data/
|
|
|
294
303
|
per language with the chapter titles and the texts. The formats are described in the
|
|
295
304
|
[isnady-data README](https://github.com/bayramkotan/isnady-data#-the-formats).
|
|
296
305
|
- **Sunni and Shia apart.** Every book says its tradition, and isnady keeps them on their own roads
|
|
297
|
-
(below)
|
|
298
|
-
|
|
299
|
-
|
|
306
|
+
(below): in the repository each kind has a folder for each road, `hadith/sunni/` beside `hadith/shia/`.
|
|
307
|
+
- **Data sources is laid out the same way.** One button for each kind — *The Qur'an · Hadith collections · Written
|
|
308
|
+
sources · Sira · Tabaqat · Rijal*, each with how many books it holds — then *Both roads · Sunni · Shia*; under each
|
|
309
|
+
road its folder in the repository (`isnady-data/hadith/sunni/`) and its books. **Every book's card is the same:**
|
|
310
|
+
its tags (kind, road, licence, size), what it is, its **languages** (a hadith collection's translations, the
|
|
311
|
+
Qur'an's translations by language with *Translators…* for the others, *Arabic* for the works written in it), and
|
|
312
|
+
the same four buttons — **Import** (or **Update**), **Remove data**, **Open in Books**, **Export…** (the hadith
|
|
313
|
+
collections; for the other kinds it is shown greyed out, with the reason). `iy catalog list` lists them in the
|
|
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 …"*).
|
|
321
|
+
- **The layout of 0.7.3.** Until 0.7.2 the hadith collections stood at `sunni/<book>/` and `shia/<book>/`, and the
|
|
322
|
+
sira and tabaqat with no road folder. isnady 0.7.3 reads the new places at once; an older isnady finds them after
|
|
323
|
+
**Refresh** in Data sources (or by itself a day later).
|
|
300
324
|
- **A written source is a book that copies nothing.** Its file lists `[book, number]` for each of its hadith;
|
|
301
325
|
importing it makes a book of **Books** whose chapters are the collections it lives in (for Hammam: Musnad Ahmad
|
|
302
326
|
138, then its parallels in al-Bukhari, Muslim …), each leaf the hadith itself in its own collection. Search and the
|
|
@@ -327,7 +351,11 @@ must match the `database.json` beside it), puts it in place at the next start an
|
|
|
327
351
|
previous database beside it (`isnady.<date-time>.bak.db`). Nothing is deleted.
|
|
328
352
|
|
|
329
353
|
<p align="center">
|
|
330
|
-
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources.png" alt="Settings → Data sources —
|
|
354
|
+
<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">
|
|
355
|
+
</p>
|
|
356
|
+
<p align="center">
|
|
357
|
+
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources-sahifa.png" alt="Data sources → Written sources — the Sunni ones under isnady-data/sahifa/sunni/ and the Shia ones under sahifa/shia/, each with the same card" width="49%">
|
|
358
|
+
<img src="https://raw.githubusercontent.com/bayramkotan/isnady/main/assets/screenshots/data-sources-quran.png" alt="Data sources → The Qur'an — the translations ticked by language, Translators… for the others, and the same four buttons" width="49%">
|
|
331
359
|
</p>
|
|
332
360
|
|
|
333
361
|
### Other repositories
|
|
@@ -749,8 +777,8 @@ Every list is isnady's reading of the texts — a chain or a wording — and the
|
|
|
749
777
|
terminal: `iy sahifa`, `iy sahifa hammam`, `iy sahifa kitab-ali`.
|
|
750
778
|
|
|
751
779
|
**Each one is also a book.** isnady-data keeps every written source as its own entry — under `sahifa/sunni/` and
|
|
752
|
-
`sahifa/shia/` — and **Data sources** lists them
|
|
753
|
-
|
|
780
|
+
`sahifa/shia/` — and **Data sources → Written sources** lists them the same way, the Sunni road and the Shia road
|
|
781
|
+
apart. Imported, it stands on the shelf of **Books** with them (*Sunni written sources · 6*, *Shia written sources ·
|
|
754
782
|
4*) and reads chapter by chapter: the Sahifa of Hammam opens with Musnad Ahmad (138), then *Its parallels in Sahih
|
|
755
783
|
al-Bukhari* (56), *in Sahih Muslim* (56) … Nothing is copied — each leaf is the hadith in its own collection. From the
|
|
756
784
|
terminal: `iy catalog import hammam`, `iy book sahifat_hammam_ibn_munabbih`.
|
|
@@ -1364,9 +1392,11 @@ iy stats corpus --recompute # compute again
|
|
|
1364
1392
|
### 📚 Data, books and sources
|
|
1365
1393
|
|
|
1366
1394
|
```bash
|
|
1367
|
-
iy catalog list # the books of the repository
|
|
1395
|
+
iy catalog list # the books of the repository, each kind and road under its folder
|
|
1368
1396
|
iy catalog import sahih_muslim --language tur --language eng # one book, in these languages
|
|
1369
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)
|
|
1370
1400
|
iy catalog import quran # the Qur'an (the Arabic and a translation); more: iy quran download KEY
|
|
1371
1401
|
iy catalog import sira # Ibn Hisham's Sira; siyar, tadhkira: al-Dhahabi's two works
|
|
1372
1402
|
iy catalog import hammam # a written source as a book: hammam, sadiqa, ali, kitab-ali, jamia, fatima …
|
package/index.js
CHANGED