Skip to main content

A django-otp plugin that delivers tokens via Twilio's SMS service.

Project description

PyPI Documentation Source

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_otp_twilio-1.0.4.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

django_otp_twilio-1.0.4-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file django_otp_twilio-1.0.4.tar.gz.

File metadata

  • Download URL: django_otp_twilio-1.0.4.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for django_otp_twilio-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a05c66fccd77d19e7048056bbe21e7fe1da6e7939c69118fd5066d147d844d7a
MD5 98b7b77dd28cd29b8807385c1910698d
BLAKE2b-256 a0458d6f220d91150dc5c65938f5868e5282bacb5d0e709c44afa02292026979

See more details on using hashes here.

Provenance

File details

Details for the file django_otp_twilio-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_otp_twilio-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 153cad56dde0d6036ecd141ac1a678ade7b2f161b2890a712d8a241f34f9874c
MD5 1c23cd184dc2790c8fee8df53c363f0a
BLAKE2b-256 11f7cb05a8db928432fba3ab0aa51f56a87c2ed423512d5ffd93c84227867642

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page