Comparison
cryptography vs miscreant vs pycryptodome vs PyNaCl
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 cryptographyMisuse-resistant authenticated symmetric encryption
Archived. The repository is read-only: no more fixes or releases will come.
pip install miscreantSelf-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 pycryptodomePython binding to the Networking and Cryptography (NaCl) library
Maintained. Last release 11 months ago, commits in 10 of the last 26 weeks. Weaker on release cadence.
pip install pynaclIn short
- miscreant is archived: avoid it for new projects.
- cryptography is the most used: 1.4B downloads a month, 8.1× more than PyNaCl.
- cryptography also has the best Pythie’s Index (93).
- Safe default for a new project: cryptography.
Side by side
| Metric | cryptography | miscreant | pycryptodome | PyNaCl |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 2 | Pythie’s Index: 80 | Pythie’s Index: 65 |
| Verdict | Actively maintained | Archived | Actively maintained | Maintained |
| Downloads / month | 1.4B | 1.2M | 85.7M | 167.5M |
| Downloads, month over month | +7% | +4% | +8% | -4% |
| GitHub stars | 7.9K | 474 | 3.3K | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13K | 5 | 3.1K | 1.1K |
| Last release | Sep 30, 2026 | Dec 25, 2017 | Nov 30, 2026 | Jan 1, 2026 |
| Releases, 12 months | 11 | 0 | 11 | 1 |
| Weeks with commits | 26 / 26 | 0 / 26 | 10 / 26 | 10 / 26 |
| Recent contributors | 17 | 1 | 8 | 15 |
| First release | Jan 2014 | Jul 2017 | Jun 2014 | Apr 2013 |
| Python versions | 3.9 – 3.15 | – | 3.9 – 3.15 | 3.8 – 3.14 |
| License | Apache-2.0 OR BSD-3-Clause | MIT | BSD-2-Clause AND Unlicense AND MIT | Apache-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.