Skip to main content
PyPI Documentation Source

This is a django-otp plugin that handles YubiKey devices using the Yubico OTP algorithm. This includes two device definitions: one to verify YubiKey tokens locally and another to verify them against a web 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.

Release files for django-otp-yubikey 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-otp-yubikey 1.1.0
File Size Uploaded
django_otp_yubikey-1.1.0.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-otp-yubikey 1.1.0
File Interpreter ABI Platform
django_otp_yubikey-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / django_otp_yubikey-1.1.0.tar.gz

Download URL django_otp_yubikey-1.1.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
34dfe46baf120b8d2fd9510b4097b150907f761eea51c6604e4c8a694f954830
BLAKE2b-256 checksum
How to use checksums
0fa2fbeadde31b09121c843c28e84d23fff670c4bc04e7a90c042f29bb91abe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.0

Release files / django_otp_yubikey-1.1.0-py3-none-any.whl

Download URL django_otp_yubikey-1.1.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b010051446186273a52f8d25d3866ea1d2df8bc841e50d60e79919da08c539d7
BLAKE2b-256 checksum
How to use checksums
489a196ebc212c136661408496bfe32c7b41de735eae974354ea88758e3a012c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.0

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page