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

Uploaded Python 3

File details

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

File metadata

  • Download URL: meibel-0.1.0b4.tar.gz
  • Upload date:
  • Size: 16.2 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.0b4.tar.gz
Algorithm Hash digest
SHA256 bdf01518d1955e5654627a99e486b9c1894e5d4dc8336ed43c6a14cd0dad6f6e
MD5 35e93530c9486a7742fd9839b6ccb650
BLAKE2b-256 01984af83ff7ee7f017e0e3ad0597b09b31fa8ff8d8897f812906e2998e51e3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: meibel-0.1.0b4-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.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 48a43f8ef42ece886ee531cce54e1769ec5d0742b7c04e320b9d9eb98bdf0085
MD5 868f64789531ebee0e9d5f1e6c48b14f
BLAKE2b-256 e63d4d0faaa552fa6856c07971779825fc8c69834af267ac421f7a142feb89ca

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