PierreQuentel / PyDbLite

A fast, pure Python in-memory database engine
BSD 3-Clause "New" or "Revised" License
104 stars 14 forks source link

This project is not maintained anymore

.. |build-status| image:: https://api.travis-ci.org/bendikro/PyDbLite.svg?branch=master :target: https://travis-ci.org/bendikro/PyDbLite

.. |docs| image:: https://readthedocs.org/projects/pydblite/badge/?version=latest :target: https://pydblite.readthedocs.org :alt: Documentation Status

.. |pypi| image:: http://img.shields.io/pypi/v/pydblite.png :alt: PYPI Package :target: https://pypi.python.org/pypi/PyDbLite

PyDbLite

PyDbLite is

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|

Read the documentation: |docs|

Installation

PIP


.. code-block:: bash

    pip install pydblite

Manually

Download the source and execute

.. code-block:: bash

python setup.py install

Changelog

docs/source/changelog.rst <docs/source/changelog.rst>_

Tests

Run tests with

.. code-block:: bash

python -m unittest -v tests

Run individual tests like this:

.. code-block:: bash

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

.. code-block:: bash

tox

Authors: