PQ Python

liboqs-python

liboqs-python wraps liboqs, whose maintainers do not recommend it for production, so use it only for prototyping and interoperability testing.

PyPI
liboqs-python
Version cited
0.16.0.2upstream liboqs 0.17.0-rc1 released 1 Dec 2026
Downloads
56K/mo

Key exchange and encryption

Stopgap only

PQ KEMs; upstream says not production

Signatures and identity

Stopgap only

PQ signatures; not for production

What to do

Use liboqs-python only for prototypes and interop tests; use cryptography or pycryptodome in production. Do not confuse it with the unrelated PyPI package oqs.

Since 1 Dec 2026 liboqs 0.17.0-rc1 (1 Dec 2026) disables Classic McEliece by default; it does not mention the advisory.

Details

research-grade

liboqs-python 0.16.0.2 (55,919 downloads per 30 days) binds the Open Quantum Safe liboqs C library. Its README warns, in bold: “WE DO NOT CURRENTLY RECOMMEND RELYING ON THIS LIBRARY IN A PRODUCTION ENVIRONMENT.” Both reports class it as interop and prototyping only.

  • liboqs 0.17.0-rc1, released 1 Dec 2026, disables Classic McEliece by default “based on recent cryptanalysis reports, a BSI recommendation and the lack of upstream maintenance”. It does not mention the advisory.
  • The unrelated PyPI package oqs is “Open Quick Script”, not liboqs.
  • asyncssh needs liboqs for its sntrup761 key exchange.
Sources cited on this page 2
  1. liboqs github.com
  2. liboqs 0.17.0-rc1 github.com

All sources across the guide