Comparison
cryptography vs fernet vs pycrypto vs pycryptodome
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 simple python fernet implementation
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install fernetCryptographic modules for Python.
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install pycryptoSelf-contained cryptographic library for Python, classical and post-quantum
Actively maintained. Last release 1 day ago, commits in 10 of the last 26 weeks. A safe choice.
pip install pycryptodomeIn short
- fernet 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, 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 | fernet | pycrypto | pycryptodome |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 13 | Pythie’s Index: 19 | Pythie’s Index: 80 |
| Verdict | Actively maintained | Likely abandoned | Likely abandoned | Actively maintained |
| Downloads / month | 1.4B | 301K | 9.7M | 85.7M |
| Downloads, month over month | +7% | +3% | +5% | +8% |
| GitHub stars | 7.9K | 15 | – | 3.3K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13K | 18 | 468 | 3.1K |
| Last release | Sep 30, 2026 | Sep 18, 2016 | Jun 20, 2014 | Nov 30, 2026 |
| Releases, 12 months | 11 | 0 | 0 | 11 |
| Weeks with commits | 26 / 26 | 0 / 26 | – | 10 / 26 |
| Recent contributors | 18 | 2 | – | 8 |
| First release | Jan 2014 | Aug 2016 | Dec 2010 | Jun 2014 |
| Python versions | 3.9 – 3.15 | 3.4 – 3.5 | – | 3.9 – 3.15 |
| License | Apache-2.0 OR BSD-3-Clause | MIT | non-standard | BSD-2-Clause AND Unlicense AND MIT |
| Known vulnerabilities | None | None | 4 | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.