Skip to main content

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()

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.5.tar.gz (4.0 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pydoclite-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 bc16648b71557382b11cd6ba4bd32bd6ae2fe825152b4963700216a98e5fd7f7
MD5 ed103309f6a6d43b273fc9c8777f2769
BLAKE2b-256 5a5c9f7f239a1d61a17fabff4837e898e044f3008fa8934a5f7fe66dd0d496f0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

2 files

Supported by

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