WebexPythonSDK-async
Basic functionalities are derived from WebexPythonSDK, but modified to use asynchronous HTTP calls.
Examples
from webexpythonsdk_async import AsyncWebexAPI
import asyncio
token = "YOUR_TOKEN"
persion_email = "YOUR_EMAIL"
api = AsyncWebexAPI(access_token=token)
async def main():
async for webhook in api.webhooks.list():
print(f"type: {type(webhook)}, {webhook}")
resp = await api.messages.create(toPersonEmail=persion_email, text="Hello World")
print(f"type: {type(resp)}, {resp}")
if __name__ == "__main__":
asyncio.run(main())
Installation
python -m pip install webexpythonsdk-async
Todo
- Support synchronous calls.
- Add more examples.
- Remove Python 2 style code.
- Add type annotations.
Metadata
Release files for webexpythonsdk-async 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| webexpythonsdk_async-0.1.3.tar.gz | 62.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| webexpythonsdk_async-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 167.3 kB
Release files / webexpythonsdk_async-0.1.3.tar.gz
| Download URL | webexpythonsdk_async-0.1.3.tar.gz |
|---|---|
| Size | 62.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c04940c528cf3697aaf0dc2c5356313bb11480f2477883614084235127301486
|
|
BLAKE2b-256 checksum How to use checksums |
d8f0b2b4a929e22f28815cac96b281d4dbcfb28c4217c88dfdd9ea38411d6a0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / webexpythonsdk_async-0.1.3-py3-none-any.whl
| Download URL | webexpythonsdk_async-0.1.3-py3-none-any.whl |
|---|---|
| Size | 104.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8597201ad04467d02d656748d1d68f3f650ecdd8946f0a2efefc2b178350cf1
|
|
BLAKE2b-256 checksum How to use checksums |
e6c1821f7de5021e61bd1e8c490ff589501a6ba7832e9add088d65722ffff87b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|