Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-otp-twilio

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-otp-twilio

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

  • 1.0.5
  • PyPI
  • Socket score

Maintainers
1

.. image:: https://img.shields.io/pypi/v/django-otp-twilio?color=blue :target: https://pypi.org/project/django-otp-twilio/ :alt: PyPI .. image:: https://img.shields.io/readthedocs/django-otp-twilio :target: https://django-otp-twilio.readthedocs.io/ :alt: Documentation .. image:: https://img.shields.io/badge/github-django--otp--twilio-green :target: https://github.com/django-otp/django-otp-twilio :alt: Source

This is a django-otp plugin that delivers tokens via Twilio's SMS <https://www.twilio.com/sms>_ service.

See django-otp <https://pypi.org/project/django-otp>_ for more information on the OTP framework.

.. end-of-doc-intro

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.

.. _hatch: https://hatch.pypa.io/ .. _pipx: https://pypa.github.io/pipx/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc