Skip to main content

Thin Python SDK and CLI for the hosted Docspeed /v1 customer API.

Project description

Docspeed Python SDK

Thin Python SDK and CLI for the hosted Docspeed /v1/* customer API.

Install

pip install docspeed

CLI installs also work with:

pipx install docspeed
uv tool install docspeed

Python Quickstart

from docspeed import Docspeed

with Docspeed(api_key="docspeed_sk_...") as client:
    uploaded = client.files.upload("sample.pdf")
    parsed = client.parse(
        {
            "input": {"file_id": uploaded.file_id},
            "execution_mode": "sync",
            "grounding": "ocr_lines",
            "include_artifacts": True,
        }
    )
    print(parsed.markdown[:500])

CLI Quickstart

docspeed --api-key "$DOCSPEED_API_KEY" parse --file sample.pdf --execution-mode sync

The package is intentionally thin:

  • hosted API client only
  • streaming multipart uploads for large files
  • core dependencies limited to httpx, pydantic, and typer
  • provider-native agent SDKs are not required

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docspeed-0.1.0.tar.gz (288.3 kB view details)

Uploaded Source

Built Distribution

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

docspeed-0.1.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file docspeed-0.1.0.tar.gz.

File metadata

  • Download URL: docspeed-0.1.0.tar.gz
  • Upload date:
  • Size: 288.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for docspeed-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b5ed9beb2c766f06c4f8c19de8c2ae61398a40e466a547e85b57ed24c49295b8
MD5 9681639f16d0b5a4ec043068c206b705
BLAKE2b-256 92adf4bea073ca91baa8e264cb7155dd51d71ef5ab89ffa9a437773c955fb4d8

See more details on using hashes here.

File details

Details for the file docspeed-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: docspeed-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for docspeed-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16095b674471fac25ab6815b7af4ae5267029e8075fa72f45217c3877182758d
MD5 a8733920bc9d57b3ddd8ab5a7679dcfa
BLAKE2b-256 0b6fb8e83f4d72799a624ec9f3158dbbe6a648cf45c7db6f237ca60930dbb0ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page