Comparison
M2Crypto vs oscrypto vs pycrypto
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python crypto and SSL toolkit
Actively maintained. Last release 7 weeks ago. A safe choice.
pip install m2cryptoTLS (SSL) sockets, key generation, encryption, decryption, signing, verification and KDFs using the OS crypto libraries. Does not require a compiler, and relies on the OS for patching. Works on Windows, OS X and Linux/BSD.
Low maintenance activity. Last release over 4 years ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install oscryptoCryptographic modules for Python.
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install pycryptoIn short
- pycrypto looks abandoned: avoid it for new projects.
- oscrypto is the most used: 18.5M downloads a month, 1.9× more than pycrypto.
- M2Crypto is better maintained: Pythie’s Index 82 against 17.