pydoclite is the python library interface for doclite
Project description
pydoclite
pydoclite is the python api for doclite. More info on doclite can be found here https://github.com/haibeey/doclite
Installation
pip install pydoclite
Example
from pydoclite import doclite
d = doclite.Doclite.Connect(b"doclitetest.db")
baseCollection = d.Base()
for i in range(10):
baseCollection.Insert({"a":1})
print(baseCollection.FindOne(1))
baseCollection.DeleteOne(2)
print(baseCollection.Find({"a":1}))
baseCollection.Delete({"a":1})
print(baseCollection.Find({"a":1}))
d.Close()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydoclite-0.1.1.tar.gz
(2.2 kB
view details)
File details
Details for the file pydoclite-0.1.1.tar.gz
.
File metadata
- Download URL: pydoclite-0.1.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db3fc7cfe1f1e0831e2c0618cdf87b9b79f1d6cdd296b2431b70c06e3c8a1726 |
|
MD5 | 954b9936f5e86e7ced286ce48a449b3d |
|
BLAKE2b-256 | 5c676a835169638acd986147b5530dd5de7ede0eba61622b00dbcded7ce1cac9 |