Skip to main content

docmost-client

Unofficial, not affiliated with Docmost.

Typed sync and async Python client for the internal API of self-hosted Docmost Community Edition (tested with Docmost 0.96.0).

from docmost_client import DocmostClient

with DocmostClient.from_env() as docmost:  # reads DOCMOST_* environment variables
    hits = docmost.search("deploy runbook", limit=5)
    for hit in hits:
        print(hit.title, hit.space.slug)
    if hits:
        page = docmost.get_page(hits[0].id, format="markdown")
        print(page.updated_at, page.content)

AsyncDocmostClient has the same methods as coroutines.

  • Read-only by default; set DOCMOST_READ_ONLY=0 to allow create_page / update_page.
  • DOCMOST_ALLOWED_SPACES restricts every operation to the listed spaces.
  • The JWT stays in memory and is revoked when the client is closed.
  • Errors are subclasses of DocmostError with a stable code.

See the project README for configuration, formats, and limitations.

Metadata

Release files for docmost-client 0.1.1

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

Source distribution (sdist)

Source distribution for docmost-client 0.1.1
File Size Uploaded
docmost_client-0.1.1.tar.gz 34.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for docmost-client 0.1.1
File Interpreter ABI Platform
docmost_client-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 75.2 kB

Release files / docmost_client-0.1.1.tar.gz

Download URL docmost_client-0.1.1.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
093d45265720e0df99b78dec8b5288d2e2439d20ca248a60a6e49e02d1e56095
BLAKE2b-256 checksum
How to use checksums
827429453b6de451828b457c574afc11f990a7ab54811065c54950abe8c89949
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / docmost_client-0.1.1-py3-none-any.whl

Download URL docmost_client-0.1.1-py3-none-any.whl
Size 40.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93979068d9743567b8a3031bdd2851c421875dfb1123d186c2e9c25a21edf29b
BLAKE2b-256 checksum
How to use checksums
f167a04b87d3c9767eaf59b86ec76be269c809bbcbd0ec5278625f9af63fe589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release 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