Parse VDFs and Valve KeyValue Files
- PyVDF - https://noriah.github.io/PyVDF
- KeyValues - https://developer.valvesoftware.com/wiki/KeyValues
pip install PyVDF
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.
from PyVDF import PyVDF
Foo = PyVDF()
Foo = PyVDF(data=StringOData)
Foo = PyVDF(infile="/path/to/file.ext")
Foo = PyVDF(infile=fileInstance)