Skip to main content

Konvotech Python Package

Project description

Konvo Python SDK

The official Python SDK for the Konvotech API.

Installation

pip install konvo

Usage

Basic Setup

from konvo import KonvoClient

# Initialize client with your API key
client = KonvoClient(api_key="your_api_key_here")

# Check API health
health_status = client.system.check_health()
print(health_status)  # {"status": "healthy"}

Configuration Options

The KonvoClient accepts several configuration options:

client = KonvoClient(
    api_key="your_api_key_here",
    max_retries=3,          # Number of retries for failed requests
    log_level="WARNING",    # Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
    timeout=30              # Request timeout in seconds
)

Error Handling

The SDK raises custom exceptions:

  • KonvoError: Base exception for all Konvotech API errors
  • APIError: Raised when API requests fail, includes status_code
try:
    client.system.check_health()
except APIError as e:
    print(f"API request failed with status {e.status_code}: {str(e)}")

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

konvo-0.0.3.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

konvo-0.0.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file konvo-0.0.3.tar.gz.

File metadata

  • Download URL: konvo-0.0.3.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.18

File hashes

Hashes for konvo-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ec51cba1dafeeb5ff47cb244fb9f31d706c6af4591061f175e344f3010a0c3b6
MD5 e151d62925a2612396548cd053c1b988
BLAKE2b-256 611ec4e0b70de30f00f7ae50cc985f0e7e16d75075942998439b697142631c59

See more details on using hashes here.

File details

Details for the file konvo-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: konvo-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.18

File hashes

Hashes for konvo-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7d43261392f5a101989c517f0b92e0c0f6f0657bb109f4622cd922131a58d645
MD5 3c13c49a31e8c3a2bc7186724868dd71
BLAKE2b-256 5ce8b330662768cc3483b5643cfaf162b42f9ef7e8533e377a864f204d6fa296

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