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.

Source Distribution

pydoclite-0.1.3.tar.gz (4.0 MB view details)

Uploaded Source

File details

Details for the file pydoclite-0.1.3.tar.gz.

File metadata

  • Download URL: pydoclite-0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • 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

Hashes for pydoclite-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f05a8969a1f5039561a062cd09fe5325e7a73a15fdff5630986563c73b602084
MD5 317454db3165772d4b31bff79dc32ae9
BLAKE2b-256 f8d4af10a9028a76390a204f6a5d85d03a724ff1c0bb863a5a08cee4be1b785f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page