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

Trending this week

↑ cryptography↑ SecretStorage↑ Authlib↑ pycryptodomex↑ semgrep
#1cryptographyv46.0.5↑
86

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

872.0M/mo★ 7.5K
#2rsav4.9.1
82

Pure-Python RSA implementation

339.8M/moApache-2.0★ 491
#3pyOpenSSLv25.3.0
83

Python wrapper module around the OpenSSL library

213.5M/moApache License, Version 2.0★ 934
#4pyOpenSSLv25.3.0
83

Python wrapper module around the OpenSSL library

213.5M/moApache License, Version 2.0★ 934
#5asn1cryptov1.5.1
91

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

135.8M/moMIT
#6SecretStoragev3.5.0↑
78

Python bindings to FreeDesktop.org Secret Service API

179.7M/mo★ 137
#7paramikov4.0.0
83

SSH2 protocol library

130.6M/mo★ 9.7K
#8Authlibv1.6.9↑
85

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

114.8M/moBSD-3-Clause
#9pycryptodomev3.23.0
91

Cryptographic library for Python

74.4M/moBSD, Public Domain★ 3.2K
#10pycryptodomexv3.23.0↑
90

Cryptographic library for Python

52.4M/moBSD, Public Domain★ 3.2K
#11semgrepv1.153.1↑
87

Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.

42.2M/mo★ 14.6K
#12argon2-cffiv25.1.0↑
79

Argon2 for Python

53.4M/mo
#13argon2-cffi-bindingsv25.1.0↑
79

Low-level CFFI bindings for Argon2

53.2M/mo
#14joserfcv1.6.3
79

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

32.8M/moBSD-3-Clause★ 150
#15checkovv3.2.506↓
77

Infrastructure as code static analysis

26.7M/moApache License 2.0★ 8.5K
#16oscryptov1.3.0
83

TLS (SSL) sockets, key generation, encryption, decryption, signing, verification and KDFs using the OS crypto libraries. Does not require a

19.3M/moMIT★ 333
#17idv1.6.1
78

A tool for generating OIDC identities

23.1M/mo★ 14
#18banditv1.9.4↓
83

Security oriented static analyser for python code.

18.1M/moApache-2.0
#19jwcryptov1.5.6
81

Implementation of JOSE Web standards

19.7M/moLGPLv3+
#20asyncsshv2.22.0↑
89

AsyncSSH: Asynchronous SSHv2 client and server library

13.4M/moEPL-2.0 OR GPL-2.0-or-later
#21cyclonedx-python-libv11.6.0↑
88

Python library for CycloneDX

13.1M/moApache-2.0
#22pycryptov2.6.1↑
93

Cryptographic modules for Python.

8.3M/moPublic domain
#23blake3v1.0.8↑
93

Python bindings for the Rust blake3 crate

8.0M/moCC0-1.0 OR Apache-2.0
#24pip-auditv2.10.0↑
86

A tool for scanning Python environments for known vulnerabilities

9.2M/mo★ 1.2K
← All categoriesSearch security & cryptography packages →