Comparison
libnacl vs pycryptodome vs PyNaCl vs rsa
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python bindings for libsodium based on ctypes
Low maintenance activity. Last release over 3 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install libnaclSelf-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 9 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 63.
- Safe default for a new project: PyNaCl, or pycryptodome if active maintenance matters most.
Side by side
| Metric | libnacl | pycryptodome | PyNaCl | rsa |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 25 | Pythie’s Index: 80 | Pythie’s Index: 63 | Pythie’s Index: 6 |
| Verdict | Low maintenance activity | Actively maintained | Maintained | Archived |
| Downloads / month | 173.2K | 85.7M | 167.5M | 186.4M |
| Downloads, month over month | +6% | +8% | -4% | -5% |
| GitHub stars | 84 | 3.3K | 1.2K | 486 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 21 | 3.1K | 1.1K | 501 |
| Last release | Aug 6, 2023 | Nov 30, 2026 | Jan 1, 2026 | Apr 16, 2025 |
| Releases, 12 months | 0 | 11 | 1 | 0 |
| Weeks with commits | 0 / 26 | 10 / 26 | 9 / 26 | 0 / 26 |
| Recent contributors | 21 | 8 | 15 | 18 |
| First release | May 2014 | Jun 2014 | Apr 2013 | Apr 2008 |
| Python versions | 3.4 – 3.11 | 3.9 – 3.15 | 3.8 – 3.14 | 3.6 – 3.13 |
| License | Apache-2.0 | BSD-2-Clause AND Unlicense AND MIT | Apache-2.0 | 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.