Comparison
M2Crypto vs oscrypto vs pyOpenSSL vs tlslite-ng
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 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install oscryptoPython wrapper module around the OpenSSL library
Actively maintained. Last release 4 months ago, commits in 11 of the last 26 weeks. A safe choice.
pip install pyopensslPure python implementation of SSL and TLS.
Low maintenance activity. Last release 14 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install tlslite-ngIn short
- pyOpenSSL is the most used: 179.4M downloads a month, 9.9× more than oscrypto.
- Maintenance is comparable: M2Crypto 82, pyOpenSSL 79, tlslite-ng 25, oscrypto 19 on Pythie’s Index.
- Safe default for a new project: pyOpenSSL.
Side by side
| Metric | M2Crypto | oscrypto | pyOpenSSL | tlslite-ng |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 19 | Pythie’s Index: 79 | Pythie’s Index: 25 |
| Verdict | Actively maintained | Low maintenance activity | Actively maintained | Low maintenance activity |
| Downloads / month | 324.2K | 18.2M | 179.4M | 201.6K |
| Downloads, month over month | +9% | +1% | -3% | -2% |
| GitHub stars | – | 346 | 942 | 268 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 32 | 59 | 1K | 0 |
| Last release | Oct 12, 2026 | Mar 18, 2022 | Aug 1, 2026 | Sep 26, 2025 |
| Releases, 12 months | 5 | 0 | 5 | 0 |
| Weeks with commits | – | 3 / 26 | 11 / 26 | 1 / 26 |
| Recent contributors | – | 6 | 15 | 4 |
| First release | Apr 2006 | Oct 2015 | Apr 2008 | Jul 2015 |
| Python versions | 3.6 – 3.12 | 3.2 – 3.10 | 3.9 – 3.13 | 3.6 – 3.12 |
| License | BSD-2-Clause | MIT | Apache-2.0 | LGPL-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.