Comparison
pycryptodome vs PyNaCl vs rsa
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Self-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 pynaclPure-Python RSA implementation
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install rsaIn short
- rsa is archived: avoid it for new projects.
- PyNaCl is the most used: 167.5M downloads a month.
- pycryptodome is better maintained: Pythie’s Index 80 against 65.
- Safe default for a new project: PyNaCl, or pycryptodome if active maintenance matters most.
Side by side
| Metric | pycryptodome | PyNaCl | rsa |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 65 | Pythie’s Index: 6 |
| Verdict | Actively maintained | Maintained | Archived |
| Downloads / month | 85.7M | 167.5M | 186.4M |
| Downloads, month over month | +8% | -4% | -5% |
| GitHub stars | 3.3K | 1.2K | 486 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 3.1K | 1.1K | 501 |
| Last release | Nov 30, 2026 | Jan 1, 2026 | Apr 16, 2025 |
| Releases, 12 months | 11 | 1 | 0 |
| Weeks with commits | 10 / 26 | 10 / 26 | 0 / 26 |
| Recent contributors | 8 | 15 | 18 |
| First release | Jun 2014 | Apr 2013 | Apr 2008 |
| Python versions | 3.9 – 3.15 | 3.8 – 3.14 | 3.6 – 3.13 |
| License | BSD-2-Clause AND Unlicense AND MIT | Apache-2.0 | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.