Skip to main content

Kadoa SDK for Python

Official Python SDK for the Kadoa API, providing easy integration with Kadoa's web data extraction platform.

Installation

We recommend using uv, a fast and modern Python package manager:

uv add kadoa-sdk
# or
uv pip install kadoa-sdk

Alternatively, you can use traditional pip:

pip install kadoa-sdk

Requirements: Python 3.12 or higher

Quick Start

from kadoa_sdk import KadoaClient, KadoaClientConfig
from kadoa_sdk.extraction.types import ExtractionOptions

client = KadoaClient(
    KadoaClientConfig(
        api_key='your-api-key'
    )
)

# AI automatically detects and extracts data
result = client.extraction.run(
    ExtractionOptions(
        urls=['https://sandbox.kadoa.com/ecommerce'],
        name='My First Extraction'
    )
)

print(f"Extracted {len(result.data)} items")

That's it! With the SDK, data is automatically extracted. For more control, specify exactly what fields you want using the builder API.

Realtime WebSockets

realtime = await client.connect_realtime()
realtime.on_event(lambda event: print("Event:", event))
realtime.on_connection(
    lambda connected, reason=None: print("Connection:", connected, reason)
)

The SDK reconnects automatically when the realtime service drains a socket during deploys. When the server includes _cursor on events, the client resumes with lastCursor on the replacement subscribe and suppresses overlap duplicates by event["id"].

Documentation

For comprehensive documentation, examples, and API reference, visit:

Requirements

  • Python 3.12 or higher
  • Dependencies are automatically installed

Support

License

MIT

Metadata

Release files for kadoa_sdk 0.18.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kadoa_sdk 0.18.4
File Size Uploaded Provenance Actions
kadoa_sdk-0.18.4.tar.gz 255.3 kB Without provenance Details for kadoa_sdk-0.18.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kadoa_sdk 0.18.4
File Interpreter ABI Platform Actions
kadoa_sdk-0.18.4-py3-none-any.whl Python 3 none any Details for kadoa_sdk-0.18.4-py3-none-any.whl

Total release size: 1.1 MB

Release files / kadoa_sdk-0.18.4.tar.gz

Download URL kadoa_sdk-0.18.4.tar.gz
Size 255.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5e18815a8b93c9e1b23e6d541877a118030caa78cf42f5d6a78781cde9fa2515
BLAKE2b-256 checksum
How to use checksums
ff9a52a77be9cccd393c6a7a97d2bcea11e15587e99fe96615c6e47a2ba6e76a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / kadoa_sdk-0.18.4-py3-none-any.whl

Download URL kadoa_sdk-0.18.4-py3-none-any.whl
Size 806.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44de9924291c956a0198e0e05f3f5b2d88acf39a757e8260768b10f9af7606ef
BLAKE2b-256 checksum
How to use checksums
31aa89e472a762f3af1700305d928a2a3518d010c2a9b1f16eecc57f7ff40a4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for kadoa_sdk 0.18.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.18.4 This release

2 release files No provenance

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