PyPI StatsPyPI Stats
DiscoverCompareTrendingDashboard
PyPI Stats — Download analytics for Python packages
APIGitHubPrivacyTerms

Sign in to subscribe to our weekly trending newsletter.

Download data sourced from BigQuery (Google). Counts may include CI/CD and mirror traffic.
Inspired by and built upon the work of pypistats.org
Discover/Security & Cryptography
🔒

Best Python Security & Cryptography Libraries

Libraries for encryption, authentication, vulnerability scanning, and secure communications.

24 packages · ranked by health score & downloads

#1cryptographyv46.0.5↓
87

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

707.8M/moApache-2.0 OR BSD-3-Clause★ 7.6K
#2pyOpenSSLv25.3.0↓
86

Python wrapper module around the OpenSSL library

137.9M/moApache License, Version 2.0★ 943
#3pyOpenSSLv25.3.0↓
86

Python wrapper module around the OpenSSL library

137.9M/moApache License, Version 2.0★ 940
#4rsav4.9.1↓
78

Pure-Python RSA implementation

168.6M/moApache-2.0★ 490
#5SecretStoragev3.5.0↓
78

Python bindings to FreeDesktop.org Secret Service API

129.0M/mo★ 141
#6SecretStoragev3.5.0↓
78

Python bindings to FreeDesktop.org Secret Service API

129.0M/mo★ 138
#7asn1cryptov1.5.1↓
83

Fast ASN.1 parser and serializer with definitions for private keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8, PKCS#

88.9M/moMIT★ 359
#8Authlibv1.6.9↓
86
← All categoriesSearch security & cryptography packages →

The ultimate Python library in building OAuth and OpenID Connect servers and clients.

72.3M/moBSD-3-Clause★ 5.3K
#9Authlibv1.6.9↓
86

The ultimate Python library in building OAuth and OpenID Connect servers and clients.

72.3M/moBSD-3-Clause★ 5.3K
#10joserfcv1.6.3↓
87

The ultimate Python library for JOSE RFCs, including JWS, JWE, JWK, JWA, JWT

64.9M/moBSD-3-Clause★ 164
#11pycryptodomev3.23.0↓
89

Cryptographic library for Python

51.5M/moBSD, Public Domain★ 3.2K

19 more packages

Sign in for free to see the full list

Sign in free