Skip to main content

Standalone mongot Python client

Install from PyPI with pip. Python 3.10+ is required; no repository checkout, protoc, or MongoDB server is needed. Dependencies are resolved by pip. Downloaded wheels and source archives can also be installed directly.

python -m pip install mongot-standalone-client==0.2.0
from mongot_standalone import Client, api

with Client("localhost:27029", ca_file="server.crt", token_file="admin.token") as client:
    status = client.get_status(api.GetStatusRequest())
    print(status.instance_id)

The 0.2.0 server provides document-oriented RPCs. Python usage:

with Client("localhost:27029", ca_file="server.crt", token_file="admin.token") as client:
    docs = client.collection(collection_id)
    docs.upsert({"_id": "a", "title": "expired"})
    docs.upsert_many([{"_id": "b", "title": "expired"}])
    docs.delete("a")
    docs.delete_many(["b", "c"])
    result = docs.delete_by_query(index_id, {"text": {"path": "title", "query": "expired"}})
    print(result.deleted_count, result.conflict_count)

Commands wait for search visibility by default. Upsert replaces complete documents; delete takes IDs directly. Query deletion runs on the server with a durable snapshot selection and skips concurrently changed documents. Preserve request IDs for retries; DocumentCommandError carries the request ID even when the call times out. These commands require a 0.2.0 server.

All 20 RPCs have typed request/response wrappers. encode_bson and decode_bson preserve BSON types. Omit CA/token only for a plaintext development listener. Legacy Write/WriteBatch callers supply stable request IDs and inspect every item's state/status; no mutation is automatically retried.

Full API examples: https://github.com/beardsandbeers/mongot/blob/nomongo/clients/README.md

Metadata

Release files for mongot-standalone-client 0.2.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 mongot-standalone-client 0.2.0
File Size Uploaded Provenance Actions
mongot_standalone_client-0.2.0.tar.gz 28.7 kB Without provenance Details for mongot_standalone_client-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mongot-standalone-client 0.2.0
File Interpreter ABI Platform Actions
mongot_standalone_client-0.2.0-py3-none-any.whl Python 3 none any Details for mongot_standalone_client-0.2.0-py3-none-any.whl

Total release size: 57.1 kB

Release files / mongot_standalone_client-0.2.0.tar.gz

Download URL mongot_standalone_client-0.2.0.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
01e483ce1955ed1d566de30bcbd32b450e9f296b06d74be76e480a004b0d4738
BLAKE2b-256 checksum
How to use checksums
facb6933ae2b8fc615f73cbe8800a2b60abc063fe8315b65258023af8ed703a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / mongot_standalone_client-0.2.0-py3-none-any.whl

Download URL mongot_standalone_client-0.2.0-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81ba11d92415a99eac25636881df346df27eaa475aea3135f0c8fb038cbd5270
BLAKE2b-256 checksum
How to use checksums
4cff16e0ee76ffea8aba8bbcb174dc03546332ee2a20653ee6b467ad39ddf04c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for mongot-standalone-client 0.2.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