Comparison
cryptography vs M2Crypto vs pyaes vs pycrypto
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 m2cryptoPure-Python Implementation of the AES block-cipher and common modes of operation
Likely abandoned. No release or commit for years (last release over 9 years ago).
pip install pyaesCryptographic modules for Python.
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install pycryptoIn short
- pyaes looks abandoned: avoid it for new projects.
- pycrypto looks abandoned: avoid it for new projects.
- cryptography is the most used: 1.4B downloads a month, 141× more than pycrypto.
- cryptography also has the best Pythie’s Index (93).
- Safe default for a new project: cryptography.
Side by side
| Metric | cryptography | M2Crypto | pyaes | pycrypto |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 82 | Pythie’s Index: 10 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Actively maintained | Likely abandoned | Likely abandoned |
| Downloads / month | 1.4B | 324.2K | 5.3M | 9.7M |
| Downloads, month over month | +7% | +9% | +11% | +5% |
| GitHub stars | 7.9K | – | 475 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13K | 32 | 267 | 468 |
| Last release | Sep 30, 2026 | Oct 12, 2026 | Sep 20, 2017 | Jun 20, 2014 |
| Releases, 12 months | 11 | 5 | 0 | 0 |
| Weeks with commits | 26 / 26 | – | 0 / 26 | – |
| Recent contributors | 17 | – | 5 | – |
| First release | Jan 2014 | Apr 2006 | May 2014 | Dec 2010 |
| Python versions | 3.9 – 3.15 | 3.6 – 3.12 | – | – |
| License | Apache-2.0 OR BSD-3-Clause | BSD-2-Clause | MIT | non-standard |
| Known vulnerabilities | None | None | None | 4 |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.