Skip to content

Wavix Python SDK v1.0.0

Latest

Choose a tag to compare

@n-mednis n-mednis released this 03 Jul 07:20
953cb46

Wavix Python SDK v1.0.0

This is the first public GitHub release of the official Wavix Python SDK.

The SDK provides Python developers with programmatic access to the Wavix APIs, making it easier to add messaging, voice, phone number management, SIP trunking, number validation, and call detail record retrieval to Python applications.

What’s included

  • Python client library for the Wavix API.
  • Sync and async clients.
  • SMS and MMS messaging.
  • Voice calling and call control.
  • Phone number search, purchase, and management.
  • Phone number validation.
  • SIP trunk management.
  • Call detail record retrieval.
  • API key authentication.
  • Typed request and response models.
  • Structured SDK errors for API and request failures.
  • Automatic page-number pagination for list operations.
  • Retry support for eligible timeout, rate-limit, and server-error responses.
  • Request-level options for raw response access, custom timeouts, and custom HTTP clients.

Installation

pip install wavix-python-sdk

Requires Python 3.10 or later.

Basic usage

import os

from wavix import Wavix

client = Wavix(token=os.environ["WAVIX_API_KEY"])

Async usage

import os

from wavix import AsyncWavix

client = AsyncWavix(token=os.environ["WAVIX_API_KEY"])

Important

Retries can repeat an operation if the server processes the original request but the client does not receive the response. For operations that send messages, place calls, or change resources, make sure your application can safely handle repeated requests.