A fast, pure Python in-memory database engine
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.rst

PyDbLite

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+

Build status: build-status

Latest Pypi release: PYPI Package

Read the documentation: Documentation Status

Installation

PIP

pip install pydblite

Manually

Download the source and execute

python setup.py install

Changelog

docs/source/changelog.rst

Tests

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: