Sqlkit depends on:
- Python
- Pygtk
- sqlalchemy (>=0.5.3). Rel 0.9.0 is the first sqlkit release that works with sqlalchemy 0.6+
- glade2
- python-dateutils
- setuptools
- the correct driver for your database of choice among the backend supported by sqlalchemy
- babel (localization)
The code is available under an hg repository:
hg clone http://hg.argolinux.org/py/sqlkit
You can download sqlkit package 0.9.1 from here in tar or deb format.
Python package | sqlkit-0.9.1.tar.gz |
Debian/Ubuntu package (read below! you are supposed to install sqlalchemy >= 0.5.3 and babel) | python-sqlkit_0.8.6.1-1_all.deb |
Linux executable (pyinstaller) | sqledit-binary-0.9-rc1.tar.gz |
Windows executable (pyinstaller) | sqledit-setup-0.8.6.1.exe |
Sqlkit is used in a production environment and great care is put in fixing any bug as soon as possible. The first stable version will be 0.8.6.
I really appreciate any bug report particularly if based on a repeatable example, possibly starting from the demo.
Since sqlkit depends on several different packages we also provide a bundle with an installer that you can use to run the demo and the command sqledit for sqlite, mysql and postgresql databases.
It does not have any dependencies.
You cannot use it to build other executables. If all you want to do is using the command sqledit, that’s a good choice (probably a little slower to open).
I’m not a window guy and it always takes me quite long to setup things correctly, anyhow this is a working recepy, aimed at minimum effort:
- Python from ActiveState (it already sets Python in the PATH. Watch out
for licence, otherwise do all by hand: install python27 and set PATH accordingly)
- PyGTK-all installer by Dieter Verfaillie (Note that it’s a testing
bundle but I found it ok provided you use it with a fairly new installer engine e.g. SP2 on XP)
unzip sqlkit and install it simply by running:
> python setup.py installat this point you should be able to move to demo and run it:
> cd demo\sql > python demo.py
If you want a bleeding edge sqlkit version you’d better install from the package distribution. On a Debian lenny or Ubuntu >= 9.04 you can prepare dependencies:
sudo apt-get install python-setuptools python-pybabel python-dateutil python-psycopg2 python-sqlalchemy python-mysqldb python-pip
sudo pip install sqlkit
You can also add the source:
deb http://apt.argolinux.org/ lenny sqlkit
by issuing the following command:
wget http://apt.argolinux.org/sqlkit.list --output-document=/etc/apt/sources.list.d/sqlkit.list
wget -O- http://apt.argolinux.org/dists/lenny/public.key| sudo apt-key add -
sudo apt-get update
and install it via:
apt-get install python-sqlkit
Even if the source states lenny it can safely be used for Ubuntu.
Note
Sqlalchemy
sqlkit depends on sqlalchemy >= 0.5 that is only packaged for Ubuntu >= 9.10 so the .deb does not require it. You can install it
Note
Babel
sqlkit depends on babel that is not packaged in Debian but is packaged in Ubuntu with two different names in hardy and jaunty and is missing in intrepid. So the package I have prepared does not depend on it. You are supposed to add the package. If using hardy install python-babel if using jaunty or following, use python-pybabel instead. If using intrepid... I’m almost sure there was a pybabel, but there is no more... install by hand!:
easy_install babel
This way you’ll also install backend drivers for postgresql, mysql and clearly sqlite.
Sqlkit is now available via Pypi, so -if you have already installed setuptools that provides the command easy_install- you can install it via easy_install or better pip:
easy_install pip
pip install sqlkit
You can also install directly with easy_install that often will fail understanding already installed packages. Should you have problems with pip you can revert to:
easy_install sqlkit
No one of these command will install the backend driver (psycopg2 for postgresql, MySQLdb for mysql -MySQL-python,...) that you are supposed to install by yourself. Sqlite is included in any
We need the help from some translator to localize in different languages. It takes some 20 minutes to provide a complete set of translations for each language. Please visit the launchpad ‘s site or contact me directly.
Sqlkit is developed by Alessandro Dentella