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.0b3.tar.gz (16.3 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.0b3-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: meibel-0.1.0b3.tar.gz
  • Upload date:
  • Size: 16.3 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.0b3.tar.gz
Algorithm Hash digest
SHA256 0fb86cbe75269574a83f6c3b74841a30ce99ec345524be94dab5bb3be8072de1
MD5 0371e0ab8699ddffbd35c7e22caa8f77
BLAKE2b-256 8f1e654a6c9239bf89eea75f092435f172731b1cc0b251e6e78327222ad1d11d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: meibel-0.1.0b3-py3-none-any.whl
  • Upload date:
  • Size: 23.6 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.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 f9542eddbd26d5410378ffb72422d5912e37c558e8a405a04c4c74ba6b383b62
MD5 8d65cb51372b40b9addacd3286aeffb2
BLAKE2b-256 f44984bbcb6ffcf889753b579c7654a19ff10242612c20aac23dcd3a07ae25ce

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