A django-otp plugin that delivers tokens via Twilio's SMS service.
Project description
This is a django-otp plugin that delivers tokens via Twilio’s SMS service.
See django-otp for more information on the OTP framework.
Development
This project is built and managed with hatch. If you don’t have hatch, I recommend installing it with pipx: pipx install hatch.
pyproject.toml defines several useful scripts for development and testing. The default environment includes all dev and test dependencies for quickly running tests. The test environment defines the test matrix for running the full validation suite. Everything is executed in the context of the Django project in test/test_project.
As a quick primer, hatch scripts can be run with hatch run [<env>:]<script>. To run linters and tests in the default environment, just run hatch run check. This should run tests with your default Python version and the latest Django. Other scripts include:
manage: Run a management command via the test project. This can be used to generate migrations.
lint: Run all linters.
fix: Run all fixers to address linting issues. This may not fix every issue reported by lint.
test: Run all tests.
check: Run linters and tests.
warn: Run tests with all warnings enabled. This is especially useful for seeing deprecation warnings in new versions of Django.
cov: Run tests and print a code coverage report.
To run the full test matrix, run hatch run test:run. You will need multiple specific Python versions installed for this.
You can clean up the hatch environments with hatch env prune, for example to force dependency updates.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_otp_twilio-1.0.5.tar.gz
.
File metadata
- Download URL: django_otp_twilio-1.0.5.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c142d2253b5d2cde768e058ba648da19cf7fc0014229d7f8400efdec8b5cd6dd |
|
MD5 | 531cf553cfb830afd60aaa13a7b3dc4b |
|
BLAKE2b-256 | 0e1caffa0a339aa2f53c4243d43d74c722d85be830bd241d8fc6ee3bc1bc8dab |
File details
Details for the file django_otp_twilio-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: django_otp_twilio-1.0.5-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52ee508634725ce33cc3d74d1bfc8751bcbd5ccf10740b9661dd59709b42fe46 |
|
MD5 | 022146edb0d0c1fbb7678788a262018f |
|
BLAKE2b-256 | 6d6e6f4be37db9358ab2ad36c0ca238f08bb5d5ce95de512602cf6ff6831c4fe |