qurankit-core 0.1.0__py3-none-any.whl

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.
qurankit/__init__.py ADDED
@@ -0,0 +1,86 @@
1
+ """
2
+ QuranKit — A modular, Python-first computational Qur'anic research library.
3
+
4
+ This package provides tools for accessing and analyzing Qur'anic text
5
+ with proper provenance, licensing, and textual integrity.
6
+ """
7
+
8
+ from qurankit.core import Quran, QuranKitConfig
9
+ from qurankit.core.exceptions import (
10
+ DatasetNotFoundError,
11
+ InvalidReferenceError,
12
+ MissingAnnotationError,
13
+ QuranKitError,
14
+ UnsupportedEditionError,
15
+ )
16
+ from qurankit.models import (
17
+ Annotation,
18
+ Ayah,
19
+ AyahMetadata,
20
+ AyahText,
21
+ ComparisonResult,
22
+ Dataset,
23
+ DatasetManifest,
24
+ GrammarAnalysis,
25
+ Lemma,
26
+ LexicalEntry,
27
+ LexicalResource,
28
+ NormalizationProfile,
29
+ ResearchInput,
30
+ ResearchResult,
31
+ ResearchRun,
32
+ Root,
33
+ SemanticRelation,
34
+ Source,
35
+ Surah,
36
+ TextEdition,
37
+ TokenAnalysis,
38
+ WordToken,
39
+ )
40
+ from qurankit.search import SearchEngine, SearchResult, SearchResultType
41
+ from qurankit.storage import DataAccess, Database, get_database
42
+
43
+ __version__ = "0.1.0"
44
+
45
+ __all__ = [
46
+ # Core
47
+ "Quran",
48
+ "QuranKitConfig",
49
+ # Exceptions
50
+ "QuranKitError",
51
+ "DatasetNotFoundError",
52
+ "InvalidReferenceError",
53
+ "UnsupportedEditionError",
54
+ "MissingAnnotationError",
55
+ # Models
56
+ "Source",
57
+ "Dataset",
58
+ "DatasetManifest",
59
+ "Surah",
60
+ "Ayah",
61
+ "TextEdition",
62
+ "AyahText",
63
+ "WordToken",
64
+ "NormalizationProfile",
65
+ "LexicalResource",
66
+ "LexicalEntry",
67
+ "Root",
68
+ "Lemma",
69
+ "TokenAnalysis",
70
+ "GrammarAnalysis",
71
+ "SemanticRelation",
72
+ "AyahMetadata",
73
+ "Annotation",
74
+ "ResearchRun",
75
+ "ResearchInput",
76
+ "ResearchResult",
77
+ "ComparisonResult",
78
+ # Search
79
+ "SearchEngine",
80
+ "SearchResult",
81
+ "SearchResultType",
82
+ # Storage
83
+ "Database",
84
+ "DataAccess",
85
+ "get_database",
86
+ ]
@@ -0,0 +1,28 @@
1
+ """Analysis module for QuranKit.
2
+
3
+ Provides mutashabihat engine and comparison reports.
4
+ """
5
+
6
+ from __future__ import annotations
7
+
8
+ from qurankit.analysis.mutashabihat import (
9
+ MutashabihatEngine,
10
+ MutashabihatResult,
11
+ PhraseMatch,
12
+ MatchMethod,
13
+ MatchCategory,
14
+ )
15
+ from qurankit.analysis.reports import (
16
+ ComparisonReport,
17
+ ReportGenerator,
18
+ )
19
+
20
+ __all__ = [
21
+ "MutashabihatEngine",
22
+ "MutashabihatResult",
23
+ "PhraseMatch",
24
+ "MatchMethod",
25
+ "MatchCategory",
26
+ "ComparisonReport",
27
+ "ReportGenerator",
28
+ ]