Skip to main content

Python gRPC SDK for MarkItDown microservice — MarkItDown, Storage, Pipeline, and message schemas

Project description

markitdownapi-sdk

Python gRPC SDK for MarkItDown microservice.

Services

Proto Service Description
markitdown.proto MarkItDownService Document/URL to Markdown conversion
storage.proto StorageService MinIO object storage (SaveObject / GetObject)
pipeline.proto PipelineService Pipeline runtime status
input.proto Upstream message schemas (DocConvertMessage)
output.proto Downstream notification schemas (DocConvertNotification)

Install

pip install markitdownapi-sdk

Usage

import grpc
from markitdownapi.v1.markitdown_pb2 import ConvertURLRequest
from markitdownapi.v1.markitdown_pb2_grpc import MarkItDownServiceStub

channel = grpc.insecure_channel("localhost:9091")
stub = MarkItDownServiceStub(channel)
resp = stub.ConvertURL(ConvertURLRequest(url="https://example.com"))
print(resp.markdown)

Regenerate

buf generate  # requires buf CLI

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

markitdownapi_sdk-0.2.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

markitdownapi_sdk-0.2.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file markitdownapi_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: markitdownapi_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for markitdownapi_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 22bffa25980bccde05cddcc777bd6c3aed0d4dc1d8f762bc6a414cebc3443b36
MD5 ddf159af370b64785acc4729b79b36ce
BLAKE2b-256 3d83ad11946815897d92f6d73f76f453e3bf324ccadc8b7e74be9574ee375cc6

See more details on using hashes here.

File details

Details for the file markitdownapi_sdk-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for markitdownapi_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bf29f85118220f2a00b1a05808e8b959eb026c6fa184d7c9e639395e5a9f6a7
MD5 9ed9c2fb1e6cab8516044dda13250f95
BLAKE2b-256 e6cf19152016f292cdf09c40a0acd163999f76216d09a50a3f1a44db0a11cb1c

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