nixflex
Official Python SDK for the Nixflex voice AI platform - AI phone agents, outbound campaigns, SMS and caller context.
pip install nixflex
from nixflex import Nixflex
client = Nixflex(api_key="nxf_xxx:nxfs_xxx") # both halves, joined by a colon
call = client.calls.create(
agent_id="agent_15d1a9ee16294087",
to_number="+447700900123",
prompt="Call Sam to confirm his appointment on Tuesday at 11.",
)
print(call["call_id"])
Async:
from nixflex import AsyncNixflex
async with AsyncNixflex(api_key="nxf_xxx:nxfs_xxx") as client:
agents = await client.agents.list()
- Every endpoint:
agents,calls,campaigns,phone_numbers,callers(caller context),sms(+sms.campaigns),keys,usage,webhooks,storage,llm,tts- the same names as the Node SDK and the CLI. - Retries: a 429 is retried once honouring
Retry-After; network failures retry once; 5xx retries onlyGET/DELETE. APOSTis never blind-retried - a call is never dialled twice. - Typed errors:
NixflexAuthenticationError,NixflexRateLimitError(.retry_after_seconds),NixflexNotFoundError, ... verify_webhook_signature(raw_body, header, key_secret)for signed webhooks.- Python 3.9+, one dependency (
httpx).
Metadata
Release files for nixflex 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nixflex-0.2.0.tar.gz | 12.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nixflex-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.4 kB
Release files / nixflex-0.2.0.tar.gz
| Download URL | nixflex-0.2.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
241a9e54da03fef6c43f85532dcf23f6ead70b72f86c98b02a9eb187271c10c1
|
|
BLAKE2b-256 checksum How to use checksums |
15643b218c0dbb36cdcca458c749527f9521a90ccabe3627fa66db6bfdd07b35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / nixflex-0.2.0-py3-none-any.whl
| Download URL | nixflex-0.2.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1f9a6c5959df30ccda8636efe7a9a66a5d6faf3787ce75b5c4f6778db98437d
|
|
BLAKE2b-256 checksum How to use checksums |
c53f0355a27c989f359f20f049fa8b85f404cf65664364f762eb5bb7a25d566e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Security for nixflex 0.2.0
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.