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)}")

Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

License

MIT License

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for konvo-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4e9e895ecf21b150e38dbdeb875639d85b46a2a443fdc07953962ca18d30fec2
MD5 0b9c81b5cc3be28b460389ad9462178a
BLAKE2b-256 629306ef365d163ef8d1a6cf762d2a5cc1ffd48c9220c89ba94d9579b40ce683

See more details on using hashes here.

File details

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

File metadata

  • Download URL: konvo-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72d25e2f1aacaca611365f732a411abf0b2d0e3d54001352919faa6d3b728829
MD5 6180e8581249c240f5845d821e9af5ce
BLAKE2b-256 913e8b47425ae5f6e05d879c0e60df40bd7be68226028af902fb0dfb2db1d4ed

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