Python binding for EJDB built on ctypes.
Project description
Python binding for EJDB built on ctypes.
Free software: BSD license.
Documentation: https://ctypes-ejdb.readthedocs.org.
Features
Pure Python. Only Python (2.7 or 3.3+) and an EJDB binary is needed. No need to compile anything.
Future Features
Better API compatibility to MongoDB.
Better documentation.
EJDB binary: http://softmotions.com/ejdb/archives/
History
0.4.7 (2016-07-20)
Fix crash when querying with invalid parameter names. This now raises an CommandError.
Fix memory leak when calling Collection.count.
Add API to query for a list of collection names in a database without needing to construct the collections themselves.
Add API to check whether a database is writable.
Add flag to disable coloring in CLI, and disable it on Windows by default.
ejdb.cli now has a --version option.
0.4.6 (2015-10-06)
Fix Python 2 compatibility regarding ejdb.cfg usage.
Fix segmentation fault when trying to reuse collection instances retrieved from iterating through a database.
ejdb.cli now creates a non-existent database if the path given does not exist.
Add a more meaningful error message when the EJDB binary path is not configured properly.
Fix documentation on Collection.delete_one() and Collection.delete_many().
0.4.5 (2015-09-07)
Fix Collection.delete_one and Collection.delete_many.
0.4.4 (2015-07-30)
Fix query flag passing.
0.4.3 (2015-07-29)
Move exit() fix in CLI.
0.4.2 (2015-07-29)
Fix exit() call in CLI.
0.4.1 (2015-07-27)
Fix missing NOBLOCK constant.
0.4 (2015-07-25)
Move command line interface dependencies to extras. New installations now needs to run pip install ctypes-ejdb[cli] to install it. This is better for those who want only the core library.
0.3.3 (2015-07-24)
Fix Python 2 compatibility.
0.3.2 (2015-07-07)
Fix attribute lookup in DatabaseError construction.
Add options to config EJDB path by environ or .cfg file.
Make document repr look like a dict so it prints better.
0.3.1 (2015-07-03)
Fixed context manager usage opening a Database.
Fixed attribute error in Collection.count.
Fixed document iterator slicing.
Experimental CLI utility ejdb.cli based on Click and ptpython.
0.3 (2015-07-01)
Make EJDB path configurable with ejdb.init(path).
0.2.1 (2015-07-01)
Add save shortcut on database.
0.2 (2015-07-01)
Fix segmentation fault when converting BSON OID to string.
Fix error message retrieval in Database.close.
Tests now run on Windows.
0.1.1 (2015-06-30)
Fix encoding error in pip install.
0.1.0 (2015-06-28)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ctypes-ejdb-0.4.7.tar.gz
.
File metadata
- Download URL: ctypes-ejdb-0.4.7.tar.gz
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96aeb5a9da1a117cbc56a55f9400a2a17ce95730e64891fe85763c77cebeb463 |
|
MD5 | 4acd0728ae76b9c1292dbf58322c7fce |
|
BLAKE2b-256 | cdb3791b95fdfe8a7cafd32f25c189acc678deeb835a51004f25a5b663b294ba |
File details
Details for the file ctypes_ejdb-0.4.7-py2.py3-none-any.whl
.
File metadata
- Download URL: ctypes_ejdb-0.4.7-py2.py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2fe0bd4d0706527aa377289eeafd7df560bc31efc28613648cef9fd270f51cd |
|
MD5 | 589e665a4fd94ef1fc1131e8208c8ef8 |
|
BLAKE2b-256 | efb3e5db127645d1e554e92a12a33a9ab580dc5a665dadecaf46c8886a41bcb2 |