Skip to content
Python sqlite wrapper for more nosqlite-like interaction
Python
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead of shaunduncan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
CHANGELOG.rst
LICENSE
README.md
nosqlite.py
setup.py
tests.py
tox.ini

README.md

nosqlite.py

nosqlite.py is a pure python library for python 2 and 3 (2.6, 2.7, 3.3, and 3.4) that aims to provide a schemaless wrapper for interacting with sqlite databases. Much of the behavior follows how the API for pymongo works, so those familiar with that library should have a similar experience. Example::

import nosqlite

with nosqlite.Connection(':memory:') as conn:
    foo_collection = conn['foo_collection']
    foo_collection.insert({'foo': 'bar', 'baz': 'qux'})
    foo_collection.find({'foo': 'bar'})

TODOs

  • Indexes need to be implemented and associated query planning
  • Support for embedded documents and queries on those (i.e. {'foo.bar': 5})

Contribution and License

Developed by Shaun Duncan shaun.duncan@gmail.com and is licensed under the terms of a MIT license. Contributions are welcomed and appreciated.

You can’t perform that action at this time.