django-twilio-access-token


Namedjango-twilio-access-token JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/senseobservationsystems/django-twilio-access-token/
SummaryA Django app to generate Twilio access token for particular Twilio services.
upload_time2023-07-10 09:22:09
maintainer
docs_urlNone
authorPanji Y. Wiwaha
requires_python
license
keywords django twilio access token
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            
# 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](https://www.twilio.com/docs/libraries/python#install-the-library) 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](https://pip.pypa.io/en/stable/) 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:
1. Ensure pip installed on your local machine. If you don't have it, you can follow the installation guide [here](https://pip.pypa.io/en/stable/installing/).
2. Open terminal and go to the root directory of where the package live, for instance: `$ cd Documents/py-projects/django-twilio-access-token`.
3. Run `$ ./scripts/requirement-install.sh` from your command line.
4. Run `$ source venv/bin/activate`.
5. Run `$ python manage.py runserver 0.0.0.0:8000` and 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](https://github.com/senseobservationsystems/django-twilio-access-token/issues).

Master git repository [django-twilio-access-token](https://github.com/senseobservationsystems/django-twilio-access-token).


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/senseobservationsystems/django-twilio-access-token/",
    "name": "django-twilio-access-token",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "django,twilio,access,token",
    "author": "Panji Y. Wiwaha",
    "author_email": "panjiyudasetya@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/97/51/3c8c77641e7cb5637172e159a2e8491a198fef35105fb1f661138a935df2/django-twilio-access-token-0.0.5.tar.gz",
    "platform": null,
    "description": "\n# django-twilio-access-token\n\nThis is a Django application that can be used to generate Twilio access token for particular services, such as Voice, Chat, and Video.\n\n## Prerequisite\n\n### Twilio\n\nWe use Twilio client for [python](https://www.twilio.com/docs/libraries/python#install-the-library) 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](https://pip.pypa.io/en/stable/) command;\n\n```\npip install twilio\n```\n\nor simply add Twilio on your `requirements.txt`\n\n```\ntwilio~=6.32.0\n```\n\n### Twilio keys\n\nIn order to make the package works with your django project, you need to define the Twilio keys inside your project `settings.py`, for example:\n```\nTWILIO_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/\n\nTWILIO_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/\nTWILIO_VIDEO_API_KEY_SECRET = 'PUT_YOUR_TWILIO_VIDEO_API_KEY_SECRET_HERE'\n```\n\nOr see the `test_project/test_app/settings.py` if you need to know more.\n\n## How to run the test project\n\nTo try out the package, you can run our test application by following these steps:\n1. Ensure pip installed on your local machine. If you don't have it, you can follow the installation guide [here](https://pip.pypa.io/en/stable/installing/).\n2. Open terminal and go to the root directory of where the package live, for instance: `$ cd Documents/py-projects/django-twilio-access-token`.\n3. Run `$ ./scripts/requirement-install.sh` from your command line.\n4. Run `$ source venv/bin/activate`.\n5. Run `$ python manage.py runserver 0.0.0.0:8000` and enjoy the token API's.\n\n## Get involved!\n\nWe are happy to receive bug reports, fixes, documentation enhancements, and other improvements.\n\nPlease report bugs via the github [issue tracker](https://github.com/senseobservationsystems/django-twilio-access-token/issues).\n\nMaster git repository [django-twilio-access-token](https://github.com/senseobservationsystems/django-twilio-access-token).\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Django app to generate Twilio access token for particular Twilio services.",
    "version": "0.0.5",
    "project_urls": {
        "Homepage": "https://github.com/senseobservationsystems/django-twilio-access-token/"
    },
    "split_keywords": [
        "django",
        "twilio",
        "access",
        "token"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "682c5b0908aee8b8264e6d41eb08e51ad1689d272e4b4b5f3386731c940a1af6",
                "md5": "8cea9f6fb7c2c0ad5450b8a4deca3336",
                "sha256": "6298398cc58c8422caea54fa4daf50e032a1231f1a89a070c42b692e481935b5"
            },
            "downloads": -1,
            "filename": "django_twilio_access_token-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8cea9f6fb7c2c0ad5450b8a4deca3336",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7152,
            "upload_time": "2023-07-10T09:22:07",
            "upload_time_iso_8601": "2023-07-10T09:22:07.043506Z",
            "url": "https://files.pythonhosted.org/packages/68/2c/5b0908aee8b8264e6d41eb08e51ad1689d272e4b4b5f3386731c940a1af6/django_twilio_access_token-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "97513c8c77641e7cb5637172e159a2e8491a198fef35105fb1f661138a935df2",
                "md5": "c3a53f2e3565c940905cb5bf625bac53",
                "sha256": "a18a87762a0c60c03997150b2eabcce42bd80cab8a62224a90467159deb3d748"
            },
            "downloads": -1,
            "filename": "django-twilio-access-token-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "c3a53f2e3565c940905cb5bf625bac53",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5977,
            "upload_time": "2023-07-10T09:22:09",
            "upload_time_iso_8601": "2023-07-10T09:22:09.640377Z",
            "url": "https://files.pythonhosted.org/packages/97/51/3c8c77641e7cb5637172e159a2e8491a198fef35105fb1f661138a935df2/django-twilio-access-token-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-10 09:22:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "senseobservationsystems",
    "github_project": "django-twilio-access-token",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "django-twilio-access-token"
}
        
Elapsed time: 1.11113s