Comparison
cryptography vs M2Crypto vs pycryptodome vs tlslite-ng
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Actively maintained. Last release 2 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install cryptographyA Python crypto and SSL toolkit
Actively maintained. Last release 7 weeks ago. A safe choice.
pip install m2cryptoSelf-contained cryptographic library for Python, classical and post-quantum
Actively maintained. Last release 2 days ago, commits in 10 of the last 26 weeks. A safe choice.
pip install pycryptodomePure python implementation of SSL and TLS.
Low maintenance activity. Last release 14 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install tlslite-ngIn short
- cryptography is the most used: 1.4B downloads a month, 16× more than pycryptodome.
- cryptography also has the best Pythie’s Index (93).
- Safe default for a new project: cryptography.
Side by side
| Metric | cryptography | M2Crypto | pycryptodome | tlslite-ng |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 82 | Pythie’s Index: 80 | Pythie’s Index: 25 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Low maintenance activity |
| Downloads / month | 1.4B | 324.2K | 85.7M | 201.6K |
| Downloads, month over month | +7% | +9% | +8% | -2% |
| GitHub stars | 7.9K | – | 3.3K | 268 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13K | 32 | 3.1K | 0 |
| Last release | Sep 30, 2026 | Oct 12, 2026 | Nov 30, 2026 | Sep 26, 2025 |
| Releases, 12 months | 11 | 5 | 11 | 0 |
| Weeks with commits | 26 / 26 | – | 10 / 26 | 1 / 26 |
| Recent contributors | 18 | – | 8 | 4 |
| First release | Jan 2014 | Apr 2006 | Jun 2014 | Jul 2015 |
| Python versions | 3.9 – 3.15 | 3.6 – 3.12 | 3.9 – 3.15 | 3.6 – 3.12 |
| License | Apache-2.0 OR BSD-3-Clause | BSD-2-Clause | BSD-2-Clause AND Unlicense AND MIT | LGPL-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.