blitzdb
blitzdb copied to clipboard
Blitz is a document-oriented database for Python that is backend-agnostic. It comes with a flat-file database for JSON documents and provides MongoDB-like querying capabilities.
There are small typos in: - blitzdb/backends/file/backend.py - blitzdb/backends/file/index.py - blitzdb/backends/sql/backend.py - docs/source/backends/index.rst - docs/source/tutorials/basics.rst - tests/test_sorting.py Fixes: - Should read `comparison` rather than `comparision`. - Should read `sufficient` rather...
Hi Andreas, When I execute the tests with py.test, here is the output. ``` platform darwin -- Python 2.7.8 -- py-1.4.25 -- pytest-2.6.3 collected 165 items blitzdb/tests/test_autoload.py .. blitzdb/tests/test_dbref_includes.py .......
I'm using the SqlBackend with sqlite. I was able to populate the database, but when I tried to run a query, I got the following error: ``` Traceback (most recent...
Looks like Document instance attributes that hold ordered dicts turn to normal dicts when the document is reatrieved from the database, short reproducer: ``` #!/usr/bin/python3 from collections import OrderedDict import...
I was glad to find out that blitzdb offers a MongoDB wrapper so I tried it out. Unfortunately I couldn't get it to work ``` >>> backend = blitzdb.MongoBackend('mongo://127.0.0.1:27017/', True)...
Hi, ujson is recognized as a really fast json encoder/decoder, would it be possible to choose the json encoder/decoder library as part of arguments
What is the syntax for filtering by wildcard using a FileBackend? Ex. I have a Dog document class that has one object persisted with the properties of `{ 'name':'fido', 'color':'brown',...
Help us to improve the documentation of BlitzDB! - Read the documentation and give us feedback on how understandable and helpful it is, and how we can improve it -...
I have a piece of code that does the following: ``` python lsheet, rsheet = db.get(Sheet, {'_id': left['sheetId']}), \ db.get(Sheet, {'_id': right['sheetId']}) print('saving %s with primary key %s.' % (lsheet.title,...
The six module is missing when installing in a clean virtualenv (py34). I think the dependency info seem to be missing from the PyPI package. ``` (tmp) % pip install...