Comparison
cryptography vs pycrypto vs pysodium 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 cryptographyCryptographic modules for Python.
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install pycryptopython libsodium wrapper
Maintained. Last release 6 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pysodiumA 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
- pycrypto looks abandoned: avoid it for new projects.
- cryptography is the most used: 1.4B downloads a month, 141× more than pycrypto.
- Maintenance is comparable: cryptography 93, tink 86, pysodium 47 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 | pycrypto | pysodium | tink |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 19 | Pythie’s Index: 47 | Pythie’s Index: 86 |
| Verdict | Actively maintained | Likely abandoned | Maintained | Actively maintained |
| Downloads / month | 1.4B | 9.7M | 411K | 2.6M |
| Downloads, month over month | +7% | +5% | +10% | +55% |
| GitHub stars | 7.9K | – | 138 | 80 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13K | 468 | 36 | 12 |
| Last release | Sep 30, 2026 | Jun 20, 2014 | Oct 17, 2026 | Aug 13, 2026 |
| Releases, 12 months | 11 | 0 | 1 | 6 |
| Weeks with commits | 26 / 26 | – | 1 / 26 | 22 / 26 |
| Recent contributors | 17 | – | 17 | 15 |
| First release | Jan 2014 | Dec 2010 | Aug 2013 | Jul 2020 |
| Python versions | 3.9 – 3.15 | – | – | 3.10 – 3.14 |
| License | Apache-2.0 OR BSD-3-Clause | non-standard | non-standard | Apache-2.0 |
| Known vulnerabilities | None | 4 | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.