$npx skillfedfor your agent

backports.ssl

The Python 3.4 standard `ssl` module API implemented on top of pyOpenSSL

SkipPyPI LibrariesReleased Dec 2015108.3K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — backports.ssl-0.0.9.tar.gz · builds from source
v0.0.9 · released 2015-12-09

No. The package is abandoned (last commit 2016-09-08) and targets Python versions that are themselves end-of-life and unsupported. If you are running Python 2.6, 3.2, or 3.3, you should upgrade to a modern Python version instead. If you must use an old version, the lack of maintenance means no security fixes or compatibility updates will be applied.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires pyOpenSSL to be installed; OpenSSL version on the system must support the SSL/TLS features you intend to use.
  • High install friction: the package is archived and last updated 2015-12-09, with no commits since 2016-09-08.
  • Maintenance is abandoned and security updates are unlikely.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no restrictions on use or redistribution, but the package's abandonment means no legal updates or clarifications will be issued.

last release 2015-12-09 (3901 days) · last repo commit 2016-09-08 · 11 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 108,256 downloads/mo, #12,567 on PyPI

Verify before relying

import backports.ssl as ssl
import socket

context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
context.verify_mode = ssl.CERT_REQUIRED
conn = context.wrap_socket(socket.socket(socket.AF_INET))
conn.connect(('google.com', 443))
  • Whether pyOpenSSL is automatically installed as a dependency or must be installed separately.
  • Current compatibility with modern OpenSSL versions and whether the package works with contemporary TLS standards.
  • Whether monkey-patching support still functions correctly with current versions of gevent, requests, or other libraries.
  • Security implications of using a backport from 2015 in modern threat environments.
Same gist for agents: .md · .json

What it is and what it does

backports.ssl brings the Python 3.4 ssl module API to older Python versions (2.6, 2.7, 3.2, 3.3) by implementing it on top of pyOpenSSL. This allows developers on legacy Python interpreters to use modern SSL/TLS socket operations—SSLContext, certificate verification, and related features—that would otherwise be unavailable. The package includes monkey-patching support to inject the backported ssl module into third-party libraries.

However, the package has been abandoned since its latest release on 2015-12-09 and receives no maintenance. It was designed to address a gap that PEP 466 partially closed for Python 2.7, but it remains the only option for Python 2.6, 3.2, and 3.3. Modern Python versions have native ssl support, and those interpreters are themselves long out of support.

Use it for

  • Running legacy Python 2.6 or 3.2 applications that need HTTPS connectivity without rewriting ssl code.
  • Monkey-patching HTTP libraries on old Python to enable modern TLS verification.
  • Accessing ssl.RAND_* functions on Python versions where PEP 466 does not apply.
  • Maintaining compatibility with systems locked to Python 2.7 while using modern ssl API patterns.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (last commit 2016-09-08) and targets Python versions that are themselves end-of-life and unsupported. If you are running Python 2.6, 3.2, or 3.3, you should upgrade to a modern Python version instead. If you must use an old version, the lack of maintenance means no security fixes or compatibility updates will be applied.

Install

backports-ssl on PyPI

Before you install

High install friction: the package is archived and last updated 2015-12-09, with no commits since 2016-09-08. Maintenance is abandoned and security updates are unlikely.

Requires pyOpenSSL to be installed; OpenSSL version on the system must support the SSL/TLS features you intend to use.

License in practice

MIT license is permissive and imposes no restrictions on use or redistribution, but the package's abandonment means no legal updates or clarifications will be issued.

Quickstart

import backports.ssl as ssl
import socket

context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
context.verify_mode = ssl.CERT_REQUIRED
conn = context.wrap_socket(socket.socket(socket.AF_INET))
conn.connect(('google.com', 443))

Verify before relying

  • Whether pyOpenSSL is automatically installed as a dependency or must be installed separately.
  • Current compatibility with modern OpenSSL versions and whether the package works with contemporary TLS standards.
  • Whether monkey-patching support still functions correctly with current versions of gevent, requests, or other libraries.
  • Security implications of using a backport from 2015 in modern threat environments.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 3,901 days since the last release
Last repo commit
First released
Downloads108,256 / month, #12,567 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries

Evidence: backports.ssl-0.0.9.tar.gz

Tags

Capabilities
ssl module backport python 2.6 2.7pyopenssl wrapper ssl apihttps support older pythonssl context python 2tls socket legacy python versionsbackport ssl modulepython 3.4 ssl on python 2
Topics
legacy-pythonabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ssl module backport python 2.6 2.7”

  • backports.sslProvides the Python 3.4 ssl module API on older Python versions (2.6,…
  • HTMLParserProvides HTMLParser from Python 2.7 as a backport for Python 2.6…
  • linecache2Provides a backport of Python's linecache module for older Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also pyOpenSSL · backports.ssl_match_hostname · python3-dtls · pickle5 · eval-type-backport · backports.shutil_get_terminal_size · django-utils-six · ndg-httpsclient · nassl · linecache2