MightyMaxims 3.0.2__tar.gz → 4.0.0__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.
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/MightyMaxims/GetRandom.py +1 -1
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/MightyMaxims/Maxims.py +2 -2
- mightymaxims-4.0.0/MightyMaxims/MightyMaxims2025.sqlt3 +0 -0
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/MightyMaxims/__init__.py +0 -0
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/MightyMaxims.egg-info/PKG-INFO +42 -35
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/MightyMaxims.egg-info/SOURCES.txt +1 -1
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/MightyMaxims.egg-info/dependency_links.txt +0 -0
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/MightyMaxims.egg-info/top_level.txt +0 -0
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/PKG-INFO +42 -35
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/README.md +3 -0
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/pyproject.toml +1 -1
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/setup.cfg +4 -4
- {MightyMaxims-3.0.2 → mightymaxims-4.0.0}/setup.py +1 -1
- MightyMaxims-3.0.2/MightyMaxims/MightyMaxims2024.sqlt3 +0 -0
|
@@ -12,7 +12,7 @@ def get_random():
|
|
|
12
12
|
print("Database is empty.")
|
|
13
13
|
quit()
|
|
14
14
|
which = random.randrange(1, nelem + 1)
|
|
15
|
-
go = db.select(f'SELECT * from
|
|
15
|
+
go = db.select(f'SELECT * from MightyMaxims where ID = {which} LIMIT 1;')
|
|
16
16
|
q = dict(*go)
|
|
17
17
|
print(f"\nMighty Maxims #{q['ID']}: {q['AUTHOR']}\n")
|
|
18
18
|
for _str in textwrap.wrap(q['QUOTE'], width=40):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
|
|
3
3
|
'''
|
|
4
|
-
|
|
4
|
+
2025 - larger.
|
|
5
5
|
'''
|
|
6
6
|
import os.path
|
|
7
7
|
|
|
@@ -13,7 +13,7 @@ class Maxims:
|
|
|
13
13
|
|
|
14
14
|
def __init__(self):
|
|
15
15
|
pdir = os.path.abspath(os.path.dirname(__file__))
|
|
16
|
-
self.db = os.path.join(pdir, '
|
|
16
|
+
self.db = os.path.join(pdir, 'MightyMaxims2025.sqlt3')
|
|
17
17
|
self.conn = None
|
|
18
18
|
self.curs = None
|
|
19
19
|
self.bOpen = False
|
|
Binary file
|
|
File without changes
|
|
@@ -1,35 +1,42 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name: MightyMaxims
|
|
3
|
-
Version:
|
|
4
|
-
Summary: Random Short & Memorable Quotations
|
|
5
|
-
Home-page: http://soft9000.com
|
|
6
|
-
Download-URL: https://github.com/soft9000/DoctorQuote
|
|
7
|
-
Author: Randall Nagy
|
|
8
|
-
Author-email: Randall Nagy <r.a.nagy@gmail.com>
|
|
9
|
-
Project-URL: Homepage, https://github.com/soft9000/DoctorQuote
|
|
10
|
-
Project-URL: Bug Tracker, https://github.com/soft9000/DoctorQuote/issues
|
|
11
|
-
Platform: Cross-Platform CLI / TUI
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
-
Classifier: Operating System :: OS Independent
|
|
15
|
-
Requires-Python: >=3.6
|
|
16
|
-
Description-Content-Type: text/markdown
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: MightyMaxims
|
|
3
|
+
Version: 4.0.0
|
|
4
|
+
Summary: Random Short & Memorable Quotations
|
|
5
|
+
Home-page: http://soft9000.com
|
|
6
|
+
Download-URL: https://github.com/soft9000/DoctorQuote
|
|
7
|
+
Author: Randall Nagy
|
|
8
|
+
Author-email: Randall Nagy <r.a.nagy@gmail.com>
|
|
9
|
+
Project-URL: Homepage, https://github.com/soft9000/DoctorQuote
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/soft9000/DoctorQuote/issues
|
|
11
|
+
Platform: Cross-Platform CLI / TUI
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Requires-Python: >=3.6
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: download-url
|
|
19
|
+
Dynamic: home-page
|
|
20
|
+
Dynamic: platform
|
|
21
|
+
|
|
22
|
+
# Doctor Quote's "Mighty Maxims" Effort
|
|
23
|
+
|
|
24
|
+
Welcome to the official 'pythonic quote-share for Doctor Quote.
|
|
25
|
+
|
|
26
|
+
## MightyMaxims: The Module
|
|
27
|
+
|
|
28
|
+
The quotes in this package are from the 2021 paperback. Available on the 'Zon.
|
|
29
|
+
|
|
30
|
+
After installing simply:
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
>>> import MightyMaxims
|
|
34
|
+
>>> help(MightyMaxims)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
(Yea - I know - but printing quotes is what this 'pup is designed to do. Think `antigravity`? ;-)
|
|
38
|
+
|
|
39
|
+
2025: Released 4,750 Mighty Maxims - busy year 8^)
|
|
40
|
+
2024: Released 2,927 Mighty Maxims.
|
|
41
|
+
|
|
42
|
+
|
|
File without changes
|
|
File without changes
|
|
@@ -1,35 +1,42 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name: MightyMaxims
|
|
3
|
-
Version:
|
|
4
|
-
Summary: Random Short & Memorable Quotations
|
|
5
|
-
Home-page: http://soft9000.com
|
|
6
|
-
Download-URL: https://github.com/soft9000/DoctorQuote
|
|
7
|
-
Author: Randall Nagy
|
|
8
|
-
Author-email: Randall Nagy <r.a.nagy@gmail.com>
|
|
9
|
-
Project-URL: Homepage, https://github.com/soft9000/DoctorQuote
|
|
10
|
-
Project-URL: Bug Tracker, https://github.com/soft9000/DoctorQuote/issues
|
|
11
|
-
Platform: Cross-Platform CLI / TUI
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
-
Classifier: Operating System :: OS Independent
|
|
15
|
-
Requires-Python: >=3.6
|
|
16
|
-
Description-Content-Type: text/markdown
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: MightyMaxims
|
|
3
|
+
Version: 4.0.0
|
|
4
|
+
Summary: Random Short & Memorable Quotations
|
|
5
|
+
Home-page: http://soft9000.com
|
|
6
|
+
Download-URL: https://github.com/soft9000/DoctorQuote
|
|
7
|
+
Author: Randall Nagy
|
|
8
|
+
Author-email: Randall Nagy <r.a.nagy@gmail.com>
|
|
9
|
+
Project-URL: Homepage, https://github.com/soft9000/DoctorQuote
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/soft9000/DoctorQuote/issues
|
|
11
|
+
Platform: Cross-Platform CLI / TUI
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Requires-Python: >=3.6
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: download-url
|
|
19
|
+
Dynamic: home-page
|
|
20
|
+
Dynamic: platform
|
|
21
|
+
|
|
22
|
+
# Doctor Quote's "Mighty Maxims" Effort
|
|
23
|
+
|
|
24
|
+
Welcome to the official 'pythonic quote-share for Doctor Quote.
|
|
25
|
+
|
|
26
|
+
## MightyMaxims: The Module
|
|
27
|
+
|
|
28
|
+
The quotes in this package are from the 2021 paperback. Available on the 'Zon.
|
|
29
|
+
|
|
30
|
+
After installing simply:
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
>>> import MightyMaxims
|
|
34
|
+
>>> help(MightyMaxims)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
(Yea - I know - but printing quotes is what this 'pup is designed to do. Think `antigravity`? ;-)
|
|
38
|
+
|
|
39
|
+
2025: Released 4,750 Mighty Maxims - busy year 8^)
|
|
40
|
+
2024: Released 2,927 Mighty Maxims.
|
|
41
|
+
|
|
42
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[egg_info]
|
|
2
|
-
tag_build =
|
|
3
|
-
tag_date = 0
|
|
4
|
-
|
|
1
|
+
[egg_info]
|
|
2
|
+
tag_build =
|
|
3
|
+
tag_date = 0
|
|
4
|
+
|
|
Binary file
|