Skip to content

Commit 3fd9ae9

Browse files
committed
More turorial images
1 parent acd2446 commit 3fd9ae9

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,21 @@ pip3 install PySimpleGUI
3333
pip3 install **pysimplesql**
3434
```
3535

36+
**pysimplesql** is now in active development and constantly changing. When an update is available, a message similar to
37+
the following will be displayed in the output of the program:
38+
39+
```***** pysimplesql update to v0.0.5 available! Just run pip3 install pysimplesql --upgrade *****```
40+
41+
Be sure to update the package when you get this message, or from time to time with
42+
the following command:
43+
```
44+
pip install pysimplesql --upgrade
45+
```
46+
or
47+
```
48+
pip3 install pysimplesql --upgrade
49+
```
50+
3651
### This Code
3752

3853
```python

examples/tutorial_files/Journal/tutorial.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,4 +377,7 @@ while True:
377377
break
378378
else:
379379
print(f'This event ({event}) is not yet handled.')
380-
```
380+
```
381+
![v4](https://github.com/PySimpleSQL/pysimplesql/raw/master/examples/tutorial_files/Journal/v4/journal.png)
382+
Now run the example again. You can now see that we are validating our expected date format using the simple callback
383+
features of **pysimplesql**!

pysimplesql.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,18 @@
77
import os.path
88
import random
99
from os import path
10-
10+
from update_checker import UpdateChecker
1111
logger = logging.getLogger(__name__)
1212

13+
# -------------------------
14+
# Check for package updates
15+
# -------------------------
16+
version = '0.0.6'
17+
checker = UpdateChecker()
18+
result = checker.check('pysimplesql', version)
19+
if result is not None:
20+
print(f'***** pysimplesql update to v{result.available_version} available! Just run pip3 install pysimplesql --upgrade *****')
21+
1322
# ---------------------------
1423
# Types for automatic mapping
1524
#----------------------------

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ def readme():
1212

1313
setuptools.setup(
1414
name="pysimplesql",
15-
version="0.0.5",
15+
version="0.0.6",
1616
author="Jonathan Decker",
1717
author_email="[email protected]",
1818
description="sqlite3 database binding for PySimpleGUI",
1919
long_description="Readme coming soon!",#readme(),
2020
long_description_content_type="text/markdown",
2121
keywords="SQL sqlite database application front-end access libre office GUI PySimpleGUI",
2222
url="https://github.com/PySimpleSQL/pysimplesql",
23-
download_url="https://github.com/PySimpleSQL/pysimplesql/archive/refs/tags/0.0.5.tar.gz",
23+
download_url="https://github.com/PySimpleSQL/pysimplesql/archive/refs/tags/0.0.6.tar.gz",
2424
packages=setuptools.find_packages(),
2525
install_requires=requirements,
2626
classifiers=[

0 commit comments

Comments
 (0)