Comparison
cryptography vs libnacl vs PyNaCl vs tink
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 cryptographyPython 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 libnaclPython 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 pynaclA multi-language, cross-platform library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.
Actively maintained. Last release 4 months ago, commits in 22 of the last 26 weeks. A safe choice.
pip install tinkIn short
- cryptography is the most used: 1.4B downloads a month, 8.1× more than PyNaCl.
- Maintenance is comparable: cryptography 93, tink 86, PyNaCl 65, libnacl 25 on Pythie’s Index.
- tink is growing fastest: downloads +55% over the last month.
- Safe default for a new project: cryptography.
Side by side
| Metric | cryptography | libnacl | PyNaCl | tink |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 25 | Pythie’s Index: 65 | Pythie’s Index: 86 |
| Verdict | Actively maintained | Low maintenance activity | Maintained | Actively maintained |
| Downloads / month | 1.4B | 173.2K | 167.5M | 2.6M |
| Downloads, month over month | +7% | +6% | -4% | +55% |
| GitHub stars | 7.9K | 84 | 1.2K | 80 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13K | 21 | 1.1K | 12 |
| Last release | Sep 30, 2026 | Aug 6, 2023 | Jan 1, 2026 | Aug 13, 2026 |
| Releases, 12 months | 11 | 0 | 1 | 6 |
| Weeks with commits | 26 / 26 | 0 / 26 | 10 / 26 | 22 / 26 |
| Recent contributors | 17 | 21 | 15 | 15 |
| First release | Jan 2014 | May 2014 | Apr 2013 | Jul 2020 |
| Python versions | 3.9 – 3.15 | 3.4 – 3.11 | 3.8 – 3.14 | 3.10 – 3.14 |
| License | Apache-2.0 OR BSD-3-Clause | Apache-2.0 | 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.