Asynchronous Twilio Client
An asynchronous Twilio client
⚠️ The official Twilio Python Client now natively supports asyncio so this project had been depreciated.
Installation
Using a virtual environment is recommended for installing this package. Once the virtual environment is created and activated install the package with:
pip install twilio-python-async
Useage
When creating a client the twilio account sid and token can either be read from a TWILIO_ACCOUNT_SID
and TWILIO_AUTH_TOKEN variables, or passed into the client at creation. Using environment variables
is recommended. Examples below will assume the use of environment variables.
Send an SMS message
Messages can be sent by either using a Twilio messaging service sid, or by passing a from_ phone
number. The messaging service sid can be read from a TWILIO_MESSAGING_SERVICE_SID environment
variable. The examples below assumes the use of the environment variable.
from twilio_async import AsyncClient
async with AsyncClient() as client:
await client.message_create("My message", "+12068675309")
Retrieve message logs
from twilio_async import AsyncClient
async with AsyncClient() as client:
response = await client.get_message_logs()
Contributing
Contributions to this project are welcome. If you are interested in contributing please see our contributing guide
Metadata
Release files for twilio-python-async 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| twilio_python_async-0.2.3.tar.gz | 5.1 kB | Without provenance | Details for twilio_python_async-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| twilio_python_async-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for twilio_python_async-0.2.3-py3-none-any.whl |
Total release size: 11.0 kB
Release files / twilio_python_async-0.2.3.tar.gz
| Download URL | twilio_python_async-0.2.3.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84b0d4777d9f39221be59c0272f6e57ecd242306fb475d5a09af777be19cfcf8
|
|
BLAKE2b-256 checksum How to use checksums |
5e401a26b9b3167ed7d209a2194a27bf5bee9c9f5ca661f57c6a658fee785275
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure
|
Release files / twilio_python_async-0.2.3-py3-none-any.whl
| Download URL | twilio_python_async-0.2.3-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d455c32e3153b3706a89a45bb5d2efe66e8587d4c574465c3e70a0b70e3dc459
|
|
BLAKE2b-256 checksum How to use checksums |
df26b4c425700f5e56e5687503990506623f3b83d98bc3fe2e3ddbf6b830f43a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure
|
Security for twilio-python-async 0.2.3
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.