texa: Python SDK for the Texa API
pip install texa
export TEXA_API_KEY=texa_test_... # from Texa Desk: Texa AI, Developers
from texa import Client
texa = Client()
convo = texa.open_conversation(channel="web", customer_ref="user-1842",
idempotency_key="open-user-1842")
out = texa.send_message(convo["conversation_id"], "Where is my transfer?",
message_id="msg-551")
events = texa.run_actions(convo["conversation_id"], out, {
"get_transfer_status": lambda inputs: {"status": "paid_out"},
})
for e in events:
if e["type"] == "reply":
print(e["text"])
AsyncClienthas the same methods, awaited.texa.webhooks.parse(secret, headers, raw_body)checks a webhook's signature.- Errors are
texa.TexaErrorwithstatus,code,message,fieldandrequest_id.
Guides and the full reference: https://api.texadesk.com/docs
Metadata
Release files for texa 1.0.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 | Actions |
|---|---|---|---|---|
| texa-1.0.0.tar.gz | 8.7 kB | Without provenance | Details for texa-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| texa-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for texa-1.0.0-py3-none-any.whl |
Total release size: 17.7 kB
Release files / texa-1.0.0.tar.gz
| Download URL | texa-1.0.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3d532e04c77fced74dddcd7f7f99f0621322864b022f1205bcd376a6d8b9f7c
|
|
BLAKE2b-256 checksum How to use checksums |
7336242e05e90e9163b44ad4711fe2e937f1163b98d7b1ed6cab263c6bab5d91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / texa-1.0.0-py3-none-any.whl
| Download URL | texa-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7d0cffa66665892e0211e9d6923e9a4c5e4cdd9d07c474c9509bdb8712b7e1e
|
|
BLAKE2b-256 checksum How to use checksums |
9f659e9100d9eb1651db41c4a4e14a96ef7fa988d5ce758608d531ea25003f6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for texa 1.0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.