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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hafez
3
- Version: 0.3.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`