Skip to main content
PyPI Documentation Source

This uses django-agent-trust to add OTP-based machine authorization to django-otp.

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.

Metadata

Release files for django-otp-agents 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-agents 1.1.0
File Size Uploaded
django_otp_agents-1.1.0.tar.gz 14.0 kB Details

Built distribution (wheel)

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

Total release size: 22.4 kB

Release files / django_otp_agents-1.1.0.tar.gz

Download URL django_otp_agents-1.1.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3808d586a182dedfce514ed504173af71046177d7b6f941970a4b1a9c91782b8
BLAKE2b-256 checksum
How to use checksums
1d00904396a09a3a20accc1db9d223d7793f7126a4a930a29160dd1b3f6c1d42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

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

Download URL django_otp_agents-1.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
397c7774f58825feb1bfbc3494d9dd47d0273fb4ed440ba9a5832907ece2bf67
BLAKE2b-256 checksum
How to use checksums
da5202a417992a8c34da1ca62cc94fc4d7102c5ee26a71c911d7b2613ef2f3fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

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.5.1

2 release files

0.5.0

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2.0

1 release file

0.1.4

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