Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pure Python SSL and TLS library

Project Description

FlexTLS is an open source SSL and TLS python library. It is designed to be used in SSL/TLS scanners and similar applications. It must not be used as standalone crypto library.

You can find more information in the documentation.


  • Supported cryptographic protocols:
    • SSLv2, SSLv3, TLS 1.0, TLS 1.1 and TLS 1.2
    • DTLS 1.0 and DTLS 1.2
  • Decode and encode SSL/TLS/DTLS records
  • Handle fragmentation
    • TLS - Handle fragmentation on the record layer
    • DTLS - Handle fragmented handshake messages
  • Handle connection state



  • Python 2.6/2.7 or Python >= 3.2
  • Python packages:
    • six >= 1.4.1


$ pip install flextls


Published under the LGPLv3+ (see LICENSE for more information)

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(29.5 kB) Copy SHA256 Hash SHA256
Source None Mar 7, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers