tls-parser
Small library to parse TLS records.
Decision gist · record as of 2026-08-14
Yes, if you need to parse TLS records in Python. The package is stable, has no dependencies, and is proven in production use. However, verify the license terms in the repository first, and check whether it supports the TLS versions your use case requires. The aging maintenance status means security updates may be slow; monitor the repository for any critical fixes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Low install friction with no runtime dependencies.
- Maintenance status is aging—last commit was 2025-10-19, and no release has been made in 495 days, though the repository remains active and not archived.
License · maintenance · safety
(unclear) — License status is unclear; no SPDX identifier or license text is declared in the package metadata. Verify the actual license terms in the repository before use in proprietary or copyleft-sensitive contexts.
last release 2025-04-06 (495 days) · last repo commit 2025-10-19 · 18 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 143,834 downloads/mo, #11,166 on PyPI
Alternatives
Verify before relying
pip install tls-parser
from tls_parser.parser import parse_tls_record
record_bytes = b'...' # Raw TLS record data
parsed = parse_tls_record(record_bytes)- Actual license terms and conditions (not declared in package metadata)
- Whether the package handles all modern TLS versions or only specific versions
- Performance characteristics when parsing large or malformed TLS records
- Specific TLS record types and protocol versions supported by version 2.0.2
What it is and what it does
tls_parser is a lightweight library for parsing TLS records from raw binary data. It extracts and interprets the structure of TLS protocol messages, making it useful for security tools, protocol analysis, and SSL/TLS inspection workflows. The package has no runtime dependencies, keeping it minimal and easy to integrate.
The library is used by SSLyze, a popular SSL/TLS scanning tool, indicating it is battle-tested for real-world TLS analysis. It supports current Python versions and has been maintained since 2017, though recent development activity has slowed—the last release was 2025-04-06 and the repository shows a last commit of 2025-10-19.
Use it for
- Analyze TLS handshakes and protocol messages in security testing frameworks
- Build SSL/TLS inspection tools that need to parse raw protocol data
- Debug TLS communication issues by examining record structure and content
- Integrate TLS parsing into network monitoring or intrusion detection systems
- Validate TLS record format compliance in protocol implementations
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to parse TLS records in Python.
The package is stable, has no dependencies, and is proven in production use. However, verify the license terms in the repository first, and check whether it supports the TLS versions your use case requires. The aging maintenance status means security updates may be slow; monitor the repository for any critical fixes.
Install
tls-parser on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is aging—last commit was 2025-10-19, and no release has been made in 495 days, though the repository remains active and not archived.
Requires Python 3.8 or later.
License in practice
License status is unclear; no SPDX identifier or license text is declared in the package metadata. Verify the actual license terms in the repository before use in proprietary or copyleft-sensitive contexts.
Quickstart
pip install tls-parser
from tls_parser.parser import parse_tls_record
record_bytes = b'...' # Raw TLS record data
parsed = parse_tls_record(record_bytes)
Verify before relying
- Actual license terms and conditions (not declared in package metadata)
- Whether the package handles all modern TLS versions or only specific versions
- Performance characteristics when parsing large or malformed TLS records
- Specific TLS record types and protocol versions supported by version 2.0.2
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 495 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 143,834 / month, #11,166 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: tls_parser-2.0.2-py3-none-any.whl
Tags
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 › “TLS record parsing”
- tls-parserParses TLS records from binary data, extracting protocol-level…
- tlslite-ngPure Python implementation of SSL/TLS protocols (SSLv3.0, TLS…
- checkdmarcValidates SPF, DMARC, BIMI, MTA-STS, and related email authentication…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also sslyze · nassl · pip-system-certs · textfsm · python-certifi-win32 · dpkt · wincertstore · access-parser · pem