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.4.tar.gz (16.7 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.4-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for konvo-0.0.4.tar.gz
Algorithm Hash digest
SHA256 be96c1e0a850a619ab620a538ecc7852791ebf5c958dbd1bfb33338baf417f73
MD5 116a40d2d298e0b5ef9ae2ff39b19d9a
BLAKE2b-256 e78d357060f4fec1b5fdc574fcdd2081c9f8d828d8743baca5f31aabc664e86e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for konvo-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5594de90df236a3682e72f49249479849f086d932d40165395ed88047ec9ac26
MD5 8922ab8fcdab44a2d154e5e0552b1c1f
BLAKE2b-256 9637043b4d4dd7675950fae578bf08be9978ee1ca84ce94845e026fbddba921a

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