hafez 0.3.0__tar.gz → 0.4.1__tar.gz
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.
- {hafez-0.3.0/hafez.egg-info → hafez-0.4.1}/PKG-INFO +3 -2
- {hafez-0.3.0 → hafez-0.4.1}/README.md +2 -1
- hafez-0.4.1/hafez/data/hafez.json +1 -0
- {hafez-0.3.0 → hafez-0.4.1}/hafez/entry.py +3 -2
- {hafez-0.3.0 → hafez-0.4.1}/hafez/utils/db.py +9 -2
- {hafez-0.3.0 → hafez-0.4.1/hafez.egg-info}/PKG-INFO +3 -2
- {hafez-0.3.0 → hafez-0.4.1}/pyproject.toml +1 -1
- hafez-0.3.0/hafez/data/hafez.json +0 -1
- {hafez-0.3.0 → hafez-0.4.1}/LICENSE +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/MANIFEST.in +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/hafez/__init__.py +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/hafez/data/audio/do_not_delete_me.txt +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/hafez/utils/__init__.py +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/hafez/utils/formating.py +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/hafez.egg-info/SOURCES.txt +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/hafez.egg-info/dependency_links.txt +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/hafez.egg-info/top_level.txt +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/requirements.txt +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/setup.cfg +0 -0
- {hafez-0.3.0 → hafez-0.4.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: hafez
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.4.1
|
4
4
|
Summary: Hafez Poems
|
5
5
|
Author-email: Kaveh Bakhtiyari <kbakhtiyari@yahoo.com>
|
6
6
|
Project-URL: Homepage, https://github.com/kavehbc/hafez
|
@@ -65,11 +65,12 @@ It returns the poem in a dictionary format (see Poem Data Structure)
|
|
65
65
|
It returns a random poem in a dictionary format (see Poem Data Structure)
|
66
66
|
|
67
67
|
|
68
|
-
- `hafez.search(qeury: str)` -> `list`
|
68
|
+
- `hafez.search(qeury: str, exact_match: bool = False)` -> `list`
|
69
69
|
<br />
|
70
70
|
It returns a list of poems in a dictionary format (see Poem Data Structure)
|
71
71
|
|
72
72
|
- `query: str`: It is a string to search within the verses of the Divan Hafez
|
73
|
+
- `exact_match: bool': if True, it will search for exact match of the query
|
73
74
|
|
74
75
|
|
75
76
|
- `hafez.download_all_audio(force: boolean = False)` -> `int`
|
@@ -50,11 +50,12 @@ It returns the poem in a dictionary format (see Poem Data Structure)
|
|
50
50
|
It returns a random poem in a dictionary format (see Poem Data Structure)
|
51
51
|
|
52
52
|
|
53
|
-
- `hafez.search(qeury: str)` -> `list`
|
53
|
+
- `hafez.search(qeury: str, exact_match: bool = False)` -> `list`
|
54
54
|
<br />
|
55
55
|
It returns a list of poems in a dictionary format (see Poem Data Structure)
|
56
56
|
|
57
57
|
- `query: str`: It is a string to search within the verses of the Divan Hafez
|
58
|
+
- `exact_match: bool': if True, it will search for exact match of the query
|
58
59
|
|
59
60
|
|
60
61
|
- `hafez.download_all_audio(force: boolean = False)` -> `int`
|