pysqlcrypt is an enhanced version of pysqlite that uses SQLcrypt™. Here is the demo distribution, built for Python 2.4 on Windows with pysqlite 2.0.4 and the trial version of SQLcrypt™ 1.5.322.
pysqlcrypt contains the following files:
LICENSE.pysqlite pysqlite's license LICENSE SQLcrypt's license README pysqlcrypt's README pysqlcrypt2/_sqlcrypt.pyd Statically-linked .PYD pysqlcrypt2/*.py pysqlcrypt files pysqlcrypt2/test/ pysqlcrypt test suite
To install, copy 'pysqlcrypt2' to your Python installation's site-packages directory. (I'll include a proper "setup.py" soon. :-)
Next, run the unit tests. pysqlcrypt's test suite incorporates pysqlite's; additionally, for each relevant pysqlite unit test, pysqlcrypt invokes it again, with cryptography enabled. For pysqlcrypt-specific tests, see pysqlcrypt2/test/crypt.py; these tests also act as examples of how to use pysqlcrypt.
C:\> python Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from pysqlcrypt2.test import test >>> test() ................................................................................ ................................................................................ ............................................................................. ---------------------------------------------------------------------- Ran 237 tests in 17.736s OK >>>
This same pysqlcrypt code base also works on OS X and Linux. If you wish to test drive pysqlcrypt on those platforms, contact us.
A previous trial version of pysqlcrypt (based on older versions of SQLcrypt™, pysqlite and Python) contained ZSQLcryptDA, a Zope database adapter based on an older version of Zope. ZSQLcryptDA has not been bundled in the current pysqlcrypt trial download. If you're interested in ZSQLcryptDA, write us, too.