Skip to main content

TLV(tag length lavue) data parser, especially useful for EMV tags parsing

Project description

TLV (tag length lavue) data parser, especially useful for [EMV]( tags parsing

To import the pytlv module in your code:
from pytlv.TLV import *


To parse data from a TLV string:
tlv = TLV(['84', 'A5']) # provide the possible tag values
>>> {'84': '315041592E5359532E4444463031', 'A5': '8801025F2D02656E'}


To build a TLV string:
tlv = TLV(['9F02', '9F04']){'9f02': '000000001337'})
>>> '9F0206000000001337'


Project details

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
pytlv-0.71.tar.gz (15.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page