Releases: stonebig/sqlite_bro
Setup me down !
support PEP 667 of Python-3.13.0
Adapting to pure spirit of PEP 667 python/cpython#118888 (comment)
Make it work with Python-3.13.0b1.
It seems later in 3.13.0b2 there is a backpedaling, as too much packages are impacted per the perfection.
But code change was tiny anyway
2022-02-04a : v0.12.2 'Filling the blanks !
2021-08-15a : v0.12.1 'Pop-up results to excel' (redo)
2021-08-15a : v0.12.1 'Pop-up results to excel !'
-
'backup' and 'restore' functions are accessible via menu (for python >=3.7)
-
running script and displaying output in temporary files is available via icons
-
supports running in an environment with no DISPLAY
Requirements:
- 'backup' and 'restore' features require Python>=3.7
- command-line feature require Python >= 3.2
- for Python 3.2, because not handlong well https, you may have to :
- manualy download from pypi (or here) the sqlite_bro-0.12.1.tar.gz into a local "C:\toto" directory
- do
pip install C:\toto\sqlite_bro-0.12.1.tar.gz
- it may still work on Python-2.7
(was missing a commit in Github)
Pop-up results to .excel !
2021-08-15a : v0.12.1 'Pop-up results to excel !'
-
'backup' and 'restore' functions are accessible via menu (for python >=3.7)
-
running script and displaying output in temporary files is available via icons
-
supports running in an environment with no DISPLAY
Requirements:
- 'backup' and 'restore' features require Python>=3.7
- command-line feature require Python >= 3.2
- for Python 3.2, because not handlong well https, you may have to :
- manualy download from pypi (or here) the sqlite_bro-0.12.1.tar.gz into a local "C:\toto" directory
- do
pip install C:\toto\sqlite_bro-0.12.1.tar.gz
- it may still work on Python-2.7
Script me more !
Improvement:
- more scripting functions of Sqlite.exe:
- '.output', '.print' (output next sql orders or print to a file)
- '.dump', '.read' (database exported or imported as SQL orders)
- '.open' (database)
- '.backup , '.restore' (database exported or imported as database)
- infrastructure:
- reformat with 'black -py33' the code
- switch to github actions and pytest
Hello, better scripting World! (at the right github comit)
former github release was not set at the right git commit
Hello, scripting World!
more scripting options from sqlite.exe:
.headers
.separator
.cd
for the command-line mode, see sqlite_bro -h
As command-line mode uses ArgeParse, versions >=0.10.1 requires python-3.2.0 and higher.
sqlite_bro -h
usage: sqlite_bro [-h] [-q] [-w] [-db DATABASE] [-sc SCRIPTS]
sqlite_bro : a graphic SQLite browser in 1 Python file
optional arguments:
-h, --help show this help message and exit
-q, --quiet do not launch the gui
-w, --wait wait the user to launch the scripts
-db DATABASE, --database DATABASE
specify initial Database if not ':memory:'
-sc SCRIPTS, --scripts SCRIPTS
qive a list of initial scripts
Hello, better scripting World!
Added the command-line documentatin in the readme
As command-line mode uses ArgeParse, versions >=0.10.1 requires python-3.2.0 and higher.
Hello World!
Changes are:
- support functions with no parameters or parameters on several lines
See example:
pydef py_hello():
"hello world"
return ("Hello, World !");
pydef py_power(x,
y):
"power function : example loading module, handling input/output as strings"
import math as py_math
return ("%s" % ((x*1) ** (y*1)) );