Skip to main content

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.

Metadata

Release files for grange-db 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grange-db 0.12.0
File Size Uploaded Provenance Actions
grange_db-0.12.0.tar.gz 4.6 kB Without provenance Details for grange_db-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for grange-db 0.12.0
File Interpreter ABI Platform Actions
grange_db-0.12.0-py3-none-any.whl Python 3 none any Details for grange_db-0.12.0-py3-none-any.whl

Total release size: 9.5 kB

Release files / grange_db-0.12.0.tar.gz

Download URL grange_db-0.12.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4faf8ee7054e38385b548764e20236fbd92c926c32a1fefcef65e5651094964f
BLAKE2b-256 checksum
How to use checksums
bef28e4923564c80ba89a767baaebbaa675f8dbe2210fd815ce6b84fa26a0848
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / grange_db-0.12.0-py3-none-any.whl

Download URL grange_db-0.12.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5660f3ceb1e3cef83391c43e5a16b83b018a0ae10128df5ccf0ce0b0840425b1
BLAKE2b-256 checksum
How to use checksums
90b25d3c2ac7e6cd527f0267eca058eb019dd6669d29dc87be71ff28d28026d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for grange-db 0.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page