$npx skillfedfor your agent

yubico-client

Library for verifying Yubikey One Time Passwords (OTPs)

SkipPyPI Python ModulesReleased May 202087.6K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — yubico_client-1.13.0-py2.py3-none-any.whl
v1.13.0 · released 2020-05-21 · 1 runtime deps: requests

No, unless you are maintaining legacy code already using this package. The project is abandoned (no releases since 2020-05-21, last commit 2022-09-07) and has not been tested with Python versions beyond 3.8 or requests versions beyond 2.22.0. For new YubiKey integrations, evaluate current Yubico SDKs or maintained authentication libraries. If you must use it, verify compatibility with your Python and dependency versions before deploying.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • You must obtain a Yubico client ID and secret key from Yubico's developer portal before calling verify().
  • Low install friction with a single runtime dependency (requests).
  • However, the package is in abandoned maintenance status with no releases since 2020-05-21; the last repository commit was 2022-09-07.

License · maintenance · safety

BSD (permissive) — Distributed under the BSD 3-Clause License (permissive), which allows commercial and private use with minimal restrictions—you may use, modify, and distribute the code provided you include the original license notice.

last release 2020-05-21 (2276 days) · last repo commit 2022-09-07 · 83 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 87,575 downloads/mo, #13,785 on PyPI

Verify before relying

pip install yubico-client

from yubico_client import Yubico

client = Yubico(client_id='your_client_id', secret_key='your_secret_key')
result = client.verify('otp_string')
  • Whether the package works reliably with modern versions of requests beyond 2.22.0 (last tested in 2020).
  • Whether Yubico's API servers still accept requests from this client version or if protocol changes have occurred.
  • Current compatibility with Python 3.9+ (package was last tested through Python 3.8).
Same gist for agents: .md · .json

What it is and what it does

Yubico Client is a Python library that validates one-time passwords (OTPs) generated by Yubico hardware tokens (YubiKeys) using Yubico's validation protocol version 2.0. It wraps HTTP communication with Yubico's API servers, handling OTP verification, retry logic for transient server errors, and SSL certificate validation. The library is designed for developers integrating YubiKey authentication into Python applications.

The package depends only on requests for HTTP communication and offers a simple constructor-based API where you provide a client ID and secret key, then call verify() with an OTP string. It supports querying custom internal validation servers if you run your own infrastructure. However, the project has been abandoned since 2020 with no maintenance activity; it was last tested against Python 3.8 and requests 2.22.0, so compatibility with newer Python versions and dependency versions is unverified.

Use it for

  • Integrate YubiKey two-factor authentication into a Python web application or service.
  • Validate OTPs from hardware tokens in a legacy system still running Python 2.7 or early Python 3.
  • Build a custom authentication layer that queries Yubico's validation API servers.
  • Operate an internal YubiKey validation server and use this client to communicate with it.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are maintaining legacy code already using this package.

The project is abandoned (no releases since 2020-05-21, last commit 2022-09-07) and has not been tested with Python versions beyond 3.8 or requests versions beyond 2.22.0. For new YubiKey integrations, evaluate current Yubico SDKs or maintained authentication libraries. If you must use it, verify compatibility with your Python and dependency versions before deploying.

Install

yubico-client on PyPI

Before you install

Low install friction with a single runtime dependency (requests). However, the package is in abandoned maintenance status with no releases since 2020-05-21; the last repository commit was 2022-09-07. Use only if you are locked into an existing integration or running legacy systems.

You must obtain a Yubico client ID and secret key from Yubico's developer portal before calling verify().

License in practice

Distributed under the BSD 3-Clause License (permissive), which allows commercial and private use with minimal restrictions—you may use, modify, and distribute the code provided you include the original license notice.

Quickstart

pip install yubico-client

from yubico_client import Yubico

client = Yubico(client_id='your_client_id', secret_key='your_secret_key')
result = client.verify('otp_string')

Verify before relying

  • Whether the package works reliably with modern versions of requests beyond 2.22.0 (last tested in 2020).
  • Whether Yubico's API servers still accept requests from this client version or if protocol changes have occurred.
  • Current compatibility with Python 3.9+ (package was last tested through Python 3.8).

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
requests
MaintenanceAbandoned 2,276 days since the last release
Last repo commit
First released
Downloads87,575 / month, #13,785 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: PyPyTopic :: SecurityTopic :: Software Development :: Libraries :: Python Modules

Evidence: yubico_client-1.13.0-py2.py3-none-any.whl

Tags

Capabilities
yubikey otp verificationone time password validationyubikey authenticationotp client libraryyubico api integrationhardware token verificationtwo-factor authentication otp
Topics
authenticationhardware-tokenabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “yubikey otp verification”

  • yubico-clientVerifies Yubico One Time Passwords (OTPs) using the validation…
  • django-two-factor-authAdds complete two-factor authentication to Django projects,…
  • PyOTPPyOTP generates and verifies one-time passwords (HOTP and TOTP) for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also PyOTP · fido2 · django-otp · django-two-factor-auth · authy · oathtool · pyu2f · secure-smtplib · django-otp-webauthn · vonage-verify-legacy