grange-db (Python)
Zero-dependency client for the grange
document database — the hosted instance (https://grange.intrane.fr/llms.txt)
or any grange serve.
from grange_db import Grange
g = Grange("https://grange.intrane.fr", "gt_...")
leads = g.db("crm").coll("leads")
doc_id = leads.put({"co": "acme", "score": 9})
leads.index("score", kind="range")
print(leads.count("score>=5"))
leads.put_many([{"co": "globex"}, ("l2", {"co": "initech"})]) # one commit
Signup is self-serve with a peage wallet:
grange_db.signup(url, "pw_..."). MIT.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
grange_db-0.11.0.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grange_db-0.11.0.tar.gz.
File metadata
- Download URL: grange_db-0.11.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85459cd6e713c5d6dda970587d87435abae922c7320eb1b1cda5b794de1c49ff
|
|
| MD5 |
e2a957215452e159cfe0e531e40c44a1
|
|
| BLAKE2b-256 |
7f940b546e9895007c4765604117afaccaef527c09cad3c4eaae79807c6e1212
|
File details
Details for the file grange_db-0.11.0-py3-none-any.whl.
File metadata
- Download URL: grange_db-0.11.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0ec3c3ad959d36df8a99e46ede9c93be9cb5821e0b990ec3e268dcbd0c88e5c
|
|
| MD5 |
73a69dc00b3f777d45294c245e156683
|
|
| BLAKE2b-256 |
40ec911f37b504a08d1a7b4d936982ee1f58c4858dffd31686c67d1aec272366
|