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.3

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.3
File Size Uploaded Provenance
catworld_sdk-0.1.3.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / catworld_sdk-0.1.3.tar.gz

Download URL catworld_sdk-0.1.3.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
74fc65399eddeb06c729a5f76ce2b5390d0d1622fd050343c36f845c55f72a2c
BLAKE2b-256 checksum
How to use checksums
c706f7023abc1a995e7b86d04fcccb2e7559c0bc00c1cd9f291a647b5434bd1c
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.3-py3-none-any.whl

Download URL catworld_sdk-0.1.3-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27be6efe3d6cab23b5861dcb94a9a5acb9072a52217276528276b33fe33a0266
BLAKE2b-256 checksum
How to use checksums
942205b3c1db7d9fc43c3749d63161be2c8051191c6d264ef5259d8590283da2
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.3

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