Skip to main content

The Meibel API provides document parsing, datasource management, and AI agent orchestration.

Project description

Meibel Python SDK

The official Python SDK for the Meibel API. Provides document parsing, datasource management, and AI agent orchestration.

Installation

pip install meibel==0.1.0b1

Quick Start

from meibel import MeibelClient

client = MeibelClient(
    api_key="your-api-key",
    base_url="https://api.meibel.ai/v2",
)

# Parse a document
with open("document.pdf", "rb") as f:
    result = client.documents.parse_document(file=f)
    print(result.job_id)

# Process a document synchronously (waits for completion)
with open("document.pdf", "rb") as f:
    result = client.documents.process_document(file=f)
    print(result)

# List datasources
datasources = client.datasources.list_datasources()
for ds in datasources.items:
    print(ds.name)

Async Usage

from meibel import AsyncMeibelClient

client = AsyncMeibelClient(
    api_key="your-api-key",
    base_url="https://api.meibel.ai/v2",
)

result = await client.documents.process_document(file=open("doc.pdf", "rb"))

Documentation

License

MIT

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

meibel-0.1.0b1.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

meibel-0.1.0b1-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file meibel-0.1.0b1.tar.gz.

File metadata

  • Download URL: meibel-0.1.0b1.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for meibel-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 9018fc59912ad21ff1ea39ae3dc35c22ed20f0ec64425a7da4640650751c4b89
MD5 56e2dda5d0216d579f582fd15c1a265d
BLAKE2b-256 8a911eb3f89c6c0b60924f7834ff26b20c9bbdb7b93d5ee1935370967d38a6b3

See more details on using hashes here.

File details

Details for the file meibel-0.1.0b1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for meibel-0.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 baf89ff47c6292a43a925f03e56ae2b86c5e85e7f55ef666ea1dee3807fa4e6a
MD5 f8d83830eb7540e791e54c39589494ab
BLAKE2b-256 477a03e66f44d4a37830063cbaf9b2c31a0e8e5ddd7216601a26ff2b9a4e4d07

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