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.

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grange_db-0.11.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for grange_db-0.11.0.tar.gz
Algorithm Hash digest
SHA256 85459cd6e713c5d6dda970587d87435abae922c7320eb1b1cda5b794de1c49ff
MD5 e2a957215452e159cfe0e531e40c44a1
BLAKE2b-256 7f940b546e9895007c4765604117afaccaef527c09cad3c4eaae79807c6e1212

See more details on using hashes here.

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

Hashes for grange_db-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ec3c3ad959d36df8a99e46ede9c93be9cb5821e0b990ec3e268dcbd0c88e5c
MD5 73a69dc00b3f777d45294c245e156683
BLAKE2b-256 40ec911f37b504a08d1a7b4d936982ee1f58c4858dffd31686c67d1aec272366

See more details on using hashes here.

Release history Release notifications | RSS feed

0.12.0

2 files

This release

0.11.0 This release

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

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