isnady 0.4.0 → 0.4.2

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 +38 -3
  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.4.0-1D4777?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI">
11
+ <img src="https://img.shields.io/badge/PyPI-v0.4.2-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.4.0-14304F?style=for-the-badge&logo=npm" alt="npm">
16
+ <img src="https://img.shields.io/badge/npm-v0.4.2-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.4.0).** Search, chains of transmission, narrators, books, scholars, statistics and
48
+ > **Pre-alpha (0.4.2).** 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
 
@@ -761,6 +761,41 @@ iy tahric bukhari 1 # the other narrations of a hadith
761
761
 
762
762
  ---
763
763
 
764
+ ## 📤 Export and import
765
+
766
+ **File → Export…** (Ctrl+E) writes anything isnady holds to a file, each in the formats that fit it, with a preview
767
+ before it is written; every hadith card has an **Export** link too. **File → Import…** brings it back.
768
+
769
+ | What | Export as | Import from |
770
+ |---|---|---|
771
+ | Hadith (by number), search results | JSON, JSON Lines, CSV, TSV, Excel, Markdown, HTML, text, EPUB, Word, PDF, SQLite | — |
772
+ | A book or a chapter | the same, and **isnady book** (the format of isnady-data, imported again as a book) | isnady book; an export as JSON, JSON Lines, CSV or TSV |
773
+ | Bookmarks | JSON (isnady's own, with the folders), JSON Lines, CSV, TSV, Excel, Markdown, HTML, text, PDF | JSON, JSON Lines, CSV, TSV |
774
+ | Narrators | JSON, JSON Lines, CSV, TSV, Excel, Markdown, HTML, text, PDF, SQLite | — |
775
+ | Isnad network (who narrated from whom, how often) | GraphML, GEXF (Gephi, yEd), CSV, JSON | — |
776
+ | Settings | JSON, CSV, TSV, Markdown | JSON, CSV, TSV |
777
+ | Profile | isnady profile, JSON | isnady profile, JSON |
778
+ | Everything of mine (backup) | one file: settings, place, bookmarks and the list of the books | the backup |
779
+
780
+ A hadith keeps its book and number, chapter, texts in the languages chosen, grades and chains — the Arabic as
781
+ written, then said in Turkish and English. PDF is drawn by Qt, so the Arabic is joined and set right to left as on
782
+ the screen; Excel, Word and EPUB files are written without any extra package.
783
+
784
+ ```bash
785
+ iy export --list # what, and in which formats
786
+ iy export hadith bukhari:1 bukhari:5-10 -f pdf -o intention.pdf
787
+ iy export book bukhari --chapter 1 -f docx --language Arabic --language Turkish
788
+ iy export book nawawi -f isnady-book # imported again with: iy import-data book …
789
+ iy export narrators -f xlsx --tradition shia
790
+ iy export network bukhari -f gexf # open in Gephi
791
+ iy export search "النيات" -f md
792
+ iy export backup -o mine.isnady-backup.zip
793
+ iy import-data bookmarks bookmarks.csv --folder Imported
794
+ iy import-data book nawawi.isnady-book.zip
795
+ ```
796
+
797
+ ---
798
+
764
799
  ## 🎨 Appearance and settings
765
800
 
766
801
  Seven themes, chosen in **Edit → Preferences → Themes** — each shown as a small live isnady window —
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.4.0";
9
+ export const version = "0.4.2";
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.4.0",
3
+ "version": "0.4.2",
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",