Awesome
PyVDF
Parse VDFs and Valve KeyValue Files
Documentation
- PyVDF - https://noriah.github.io/PyVDF
- KeyValues - https://developer.valvesoftware.com/wiki/KeyValues
Installation
pip install PyVDF
API
All functionality is provided through the PyVDF module. import it and call it to create an instance, or just call the static methods off the import.
Basic Usage
from PyVDF import PyVDF
Foo = PyVDF()
Foo = PyVDF(data=StringOData)
Foo = PyVDF(infile="/path/to/file.ext")
Foo = PyVDF(infile=fileInstance)