Skip to main content

Python OATH

https://github.com/bdauvergne/python-oath/workflows/CI/badge.svg https://img.shields.io/pypi/dm/oath
python-oath is a package implementing the three main OATH specifications:
  • HOTP, an event based one-time password standard – OTP – using HMAC signatures,

  • TOTP, a time based OTP,

  • OCRA, a mixed OTP / signature system based on HOTP for complex use cases.

It’s Python 3 ready.

Getting started

The main APIs are:

  • hotp, to generate a password.

  • accept_hotp, to check a received password,

  • totp and accept_totp, the same for the TOTP standard.

  • GoogleAuthenticator to parse Google Authenticator URI

  • from_b32key to create a a GoogleAuthenticator object from a simple base32 key

Metadata

Release files for oath 1.4.5

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

Source distribution (sdist)

Source distribution for oath 1.4.5
File Size Uploaded
oath-1.4.5.tar.gz 112.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oath 1.4.5
File Interpreter ABI Platform
oath-1.4.5-py3-none-any.whl Python 3 none any Details

Total release size: 125.4 kB

Release files / oath-1.4.5.tar.gz

Download URL oath-1.4.5.tar.gz
Size 112.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c5c53ed25b52ef621d7c08f359c21207fe2e36a89df8b3cd26fb54b4ff613b8
BLAKE2b-256 checksum
How to use checksums
67b6754e3ceb51480587c5f478661c1159473b2e3cc6c59a0f5db77da3664cb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / oath-1.4.5-py3-none-any.whl

Download URL oath-1.4.5-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0e95cba8cad359104a736b576de3a3a7c633f9168764673e3dd622e1bd139a7
BLAKE2b-256 checksum
How to use checksums
df379457dd60b07ef7e9f00001d1cd45a023937f342f1db3a9bacf0fba926edb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.4.5 This release

2 release files

1.4.4

2 release files

1.4.3

4 release files

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

0.9

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