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.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 docmost-client 0.1.0
File Size Uploaded
docmost_client-0.1.0.tar.gz 34.5 kB Details

Built distribution (wheel)

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

Total release size: 74.9 kB

Release files / docmost_client-0.1.0.tar.gz

Download URL docmost_client-0.1.0.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ca1b03d83a9ee82753f19575307f1f9e4ec9da9fca692f2e6049079119403daa
BLAKE2b-256 checksum
How to use checksums
adc01961152d8a95abf16546f7ed23b07f9feeb63414bcf57a5d5c2ac47a096b
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.0-py3-none-any.whl

Download URL docmost_client-0.1.0-py3-none-any.whl
Size 40.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71763053f4b72f1c3e212575a6510109cb3338be6808ff9586dd99ece21d36c7
BLAKE2b-256 checksum
How to use checksums
c68efb9b15e70268f0b22f79532d912327549bd29812cf18a469da5d89c7faf0
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

0.1.1

2 release files

This release

0.1.0 This release

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