Metadata-Version: 2.4
Name: pytlv
Version: 0.71
Summary: TLV(tag length lavue) data parser, especially useful for EMV tags parsing
Home-page: https://github.com/timgabets/pytlv
Author: Tim Gabets
Author-email: tim@gabets.ru
License: LGPLv2
Keywords: EMV TLV ICC parse
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Communications
Classifier: Intended Audience :: Developers
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: summary

TLV (tag length lavue) data parser, especially useful for [EMV](http://emvco.com) tags parsing

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

```

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

```

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

```

