Skip to main content

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.

Files for pydoclite, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size pydoclite-0.1.5.tar.gz (4.0 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page