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.12.0.tar.gz
(4.6 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.12.0.tar.gz.
File metadata
- Download URL: grange_db-0.12.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4faf8ee7054e38385b548764e20236fbd92c926c32a1fefcef65e5651094964f
|
|
| MD5 |
d8ee90a66c550b7a70ca10cb754724b3
|
|
| BLAKE2b-256 |
bef28e4923564c80ba89a767baaebbaa675f8dbe2210fd815ce6b84fa26a0848
|
File details
Details for the file grange_db-0.12.0-py3-none-any.whl.
File metadata
- Download URL: grange_db-0.12.0-py3-none-any.whl
- Upload date:
- Size: 4.9 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 |
5660f3ceb1e3cef83391c43e5a16b83b018a0ae10128df5ccf0ce0b0840425b1
|
|
| MD5 |
3967e106df71849bbd1ca394b172344e
|
|
| BLAKE2b-256 |
90b25d3c2ac7e6cd527f0267eca058eb019dd6669d29dc87be71ff28d28026d3
|