django-twilio-access-token
This is a Django application that can be used to generate Twilio access token for particular services, such as Voice, Chat, and Video.
Prerequisite
Twilio
We use Twilio client for python to generate an access token for Twilio services. To make the package works on your project, you need to install Twilio client either through pip command;
pip install twilio
or simply add Twilio on your requirements.txt
twilio~=6.32.0
Twilio keys
In order to make the package works with your django project, you need to define the Twilio keys inside your project settings.py, for example:
TWILIO_ACCOUNT_SID = 'PUT_YOUR_TWILIO_ACCOUNT_SID_HERE' # You can find Twilio Account SID at the top right section of this page https://www.twilio.com/console/
TWILIO_VIDEO_API_KEY_SID = 'PUT_YOUR_TWILIO_VIDEO_API_KEY_SID_HERE' # You can obtain these keys by creating it through https://www.twilio.com/console/video/project/api-keys/
TWILIO_VIDEO_API_KEY_SECRET = 'PUT_YOUR_TWILIO_VIDEO_API_KEY_SECRET_HERE'
Or see the test_project/test_app/settings.py if you need to know more.
How to run the test project
To try out the package, you can run our test application by following these steps:
- Ensure pip installed on your local machine. If you don't have it, you can follow the installation guide here.
- Open terminal and go to the root directory of where the package live, for instance:
$ cd Documents/py-projects/django-twilio-access-token. - Run
$ ./scripts/requirement-install.shfrom your command line. - Run
$ source venv/bin/activate. - Run
$ python manage.py runserver 0.0.0.0:8000and enjoy the token API's.
Get involved!
We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.
Please report bugs via the github issue tracker.
Master git repository django-twilio-access-token.
Release files for django-twilio-access-token 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-twilio-access-token-0.0.5.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_twilio_access_token-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / django-twilio-access-token-0.0.5.tar.gz
| Download URL | django-twilio-access-token-0.0.5.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a18a87762a0c60c03997150b2eabcce42bd80cab8a62224a90467159deb3d748
|
|
BLAKE2b-256 checksum How to use checksums |
97513c8c77641e7cb5637172e159a2e8491a198fef35105fb1f661138a935df2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / django_twilio_access_token-0.0.5-py3-none-any.whl
| Download URL | django_twilio_access_token-0.0.5-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6298398cc58c8422caea54fa4daf50e032a1231f1a89a070c42b692e481935b5
|
|
BLAKE2b-256 checksum How to use checksums |
682c5b0908aee8b8264e6d41eb08e51ad1689d272e4b4b5f3386731c940a1af6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|