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.10.0.tar.gz (3.9 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.10.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for grange_db-0.10.0.tar.gz
Algorithm Hash digest
SHA256 e6edf2e8d512287c93d1af18f4af91bc1e5a21ccf0e1fd77555ef16cd44c4453
MD5 24cf0b071d58c6ae2bc46731c4e09042
BLAKE2b-256 467774573633b274aacdb6a84dd310d2805075a722bbf24ee4d7f9bb32e0fd5d

See more details on using hashes here.

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

Hashes for grange_db-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 740fdfbe9fbacbad3f45a8417fbb55b4bfafb5491c5b7dad0c2c2c277bb3b302
MD5 5719841ef912454ac7e786c8d31d16c6
BLAKE2b-256 f671980ad9307a15dac7f8105d5f5ec95c0629ff0323458b558ed0d72d25d291

See more details on using hashes here.

Release history Release notifications | RSS feed

0.12.0

2 files

0.11.0

2 files

This release

0.10.0 This release

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