Skip to main content

Larkup Python SDK

The synchronous and asynchronous Python clients for a generated Larkup server.

Install

pip install larkup

Use

from larkup import LarkupClient, LarkupClientOptions

client = LarkupClient(
    LarkupClientOptions(
        base_url="http://localhost:8080",
        api_key="your-api-key",
    )
)

result = client.query("What is Larkup?", top_k=5)

for event in client.chat("Summarize the result."):
    if event.type == "text-delta":
        print(event.text or "", end="", flush=True)

The SDK supports health and OpenAPI discovery, retrieval, document CRUD, sequential or parallel bulk indexing with progress, corpus filtering and export, scraping, and streaming chat grounded in retrieved content. AsyncLarkupClient provides matching asynchronous methods.

LarkupHubClient and AsyncLarkupHubClient provide typed Marketplace catalog discovery. Install and uninstall operations remain in the CLI because they change the local Larkup tool directory.

See the Python SDK documentation for the complete guide.

Download files

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

Source Distribution

larkup-0.1.50.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

larkup-0.1.50-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file larkup-0.1.50.tar.gz.

File metadata

  • Download URL: larkup-0.1.50.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.15

File hashes

Hashes for larkup-0.1.50.tar.gz
Algorithm Hash digest
SHA256 40c674a37543b49fe54b0b50d494a7c1a1df873c6b55f528d26c2cbb20c03164
MD5 14f483465fc9779a30d8a43dcb04ef5f
BLAKE2b-256 9551d237057bc72efd85edb5764cc5b9467dbc301585606b67fd6fc688375b01

See more details on using hashes here.

File details

Details for the file larkup-0.1.50-py3-none-any.whl.

File metadata

  • Download URL: larkup-0.1.50-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.15

File hashes

Hashes for larkup-0.1.50-py3-none-any.whl
Algorithm Hash digest
SHA256 2cad380367b14d036f77ad5b01d257bcf9d01a5d7d678e9a8a055e175638a89b
MD5 44626a8f92d797c69b5bfc2500cf528c
BLAKE2b-256 3cdaab289ef0f356e20c3dd0bc54882f8facf488c6b2ea0d99b79817bff4d67b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.1.74

2 files

0.1.72

2 files

0.1.71

2 files

0.1.70

2 files

0.1.69

2 files

0.1.68

2 files

0.1.67

2 files

0.1.64

2 files

0.1.62

2 files

0.1.61

2 files

This release

0.1.50 This release

2 files

0.1.49

2 files

0.1.43

2 files

0.1.42

2 files

0.1.41

2 files

0.1.40

2 files

0.1.39

2 files

0.1.38

2 files

0.1.37

2 files

0.1.36

2 files

0.1.35

2 files

0.1.32

2 files

0.1.30

2 files

0.1.29

2 files

0.1.20

2 files

0.1.19

2 files

0.1.14

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page