PyDbLite is
- a fast, pure-Python, untyped, in-memory database engine, using Python syntax to manage data, instead of SQL
- a pythonic interface to SQLite using the same syntax as the pure-Python engine for most operations (except database connection and table creation because of each database specificities)
PyDbLite is suitable for a small set of data where a fully fledged DB would be overkill.
Supported Python versions: 2.6+
pip install pydblite
Download the source and execute
python setup.py install
Run tests with
python -m unittest -v tests
Run individual tests like this:
python -m unittest -v tests.test_pydblite.PyDbLiteTestCase
python -m unittest -v tests.test_pydblite_sqlite.SQLiteTestCase
python -m unittest -v tests.test_pydblite_sqlite.SQLiteTestCase.test_filter_or
The tests will not pass for Python 3.0-3.2 due to the unicode literal being invalid syntax
Run tests for python 2.7 and 3.4, pep8 verification and documentation with
tox
- Authors:
- Pierre Quentel ([email protected])
- Bendik Rønning Opstad ([email protected])