Skip to content

Python sqlite wrapper for more nosqlite-like interaction

License

Notifications You must be signed in to change notification settings

plutec/nosqlite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected] and is licensed under the terms of a MIT license. Contributions are welcomed and appreciated.

About

Python sqlite wrapper for more nosqlite-like interaction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%