tls-parser is a small library to parse TLS records. Current version 2.0.2 supports Python >=3.8. It provides classes like TlsRecord, TlsHandshake, and parsing of TLS 1.2 and 1.3. The library appears to be in maintenance mode with infrequent releases.
pip install tls-parserVerified import paths — ran on the pinned version, not inferred.
Parses a raw TLS record from bytes and prints the record type and TLS version.
Use 'pip install tls-parser' and update imports to match current module structure (e.g., from tls_parser.tls_record import TlsRecord).
Ensure the input bytes include the TLS record header (content type, version, length) and the correct number of payload bytes as specified in the length field.
Consider using alternatives like 'pycryptodome' or 'scapy' for TLS parsing if you need ongoing support.
No dependency data recorded yet.