Skip to main content

catworld-sdk

Cliente oficial Python para a API Catworld.

Instalação

pip install catworld-sdk

Uso

from catworld import CatworldClient

with CatworldClient("https://seu-catworld.exemplo.com", "cw_live_...") as client:
    projects = client.projects()
    datasets = client.datasets()

    result = client.upload("dados.csv", dataset_id="...", mode="replace")
    print(result["status"], result["rowCount"])

    rows = client.query("SELECT TOP 10 * FROM [schema].[tabela]")
    print(rows["rows"])

Métodos

  • projects() / datasets() / tables(dataset_id) / rows(table_id, limit=100)
  • query(sql, timeout=30, limit=10000)
  • upload(path, dataset_id, mode="replace", key_column=None, poll_interval=2)

O token de API precisa de permissão WRITE (ou ADMIN) no escopo do dataset para usar upload().

Metadata

Release files for catworld-sdk 0.1.2

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

Source distribution (sdist)

Source distribution for catworld-sdk 0.1.2
File Size Uploaded Provenance
catworld_sdk-0.1.2.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for catworld-sdk 0.1.2
File Interpreter ABI Platform
catworld_sdk-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / catworld_sdk-0.1.2.tar.gz

Download URL catworld_sdk-0.1.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
04ebd56d4e65ab72ea7f32abeedbb9bf22215694a471321f4e1c402c8d0a38eb
BLAKE2b-256 checksum
How to use checksums
66a864eea245ac44ad659e8beeea7b3e9e0373673c9739decdc56c43ee1d1e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / catworld_sdk-0.1.2-py3-none-any.whl

Download URL catworld_sdk-0.1.2-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f47d490cccde950be87d0ce87b92d2c2c2412db9b430e48d2c0fc2d648b2cf72
BLAKE2b-256 checksum
How to use checksums
831c08e706c6ebd4e60f71c45997cd872e8cf5317026df12252debca267693ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for catworld-sdk 0.1.2

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.

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