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.10.0.tar.gz
(3.9 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.10.0.tar.gz.
File metadata
- Download URL: grange_db-0.10.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6edf2e8d512287c93d1af18f4af91bc1e5a21ccf0e1fd77555ef16cd44c4453
|
|
| MD5 |
24cf0b071d58c6ae2bc46731c4e09042
|
|
| BLAKE2b-256 |
467774573633b274aacdb6a84dd310d2805075a722bbf24ee4d7f9bb32e0fd5d
|
File details
Details for the file grange_db-0.10.0-py3-none-any.whl.
File metadata
- Download URL: grange_db-0.10.0-py3-none-any.whl
- Upload date:
- Size: 4.2 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 |
740fdfbe9fbacbad3f45a8417fbb55b4bfafb5491c5b7dad0c2c2c277bb3b302
|
|
| MD5 |
5719841ef912454ac7e786c8d31d16c6
|
|
| BLAKE2b-256 |
f671980ad9307a15dac7f8105d5f5ec95c0629ff0323458b558ed0d72d25d291
|