https://github.com/noriah/pyvdf
Python Library for Reading and Writing VDFs (Valve Data File)
https://github.com/noriah/pyvdf
keyvalue python vdf
Last synced: 9 months ago
JSON representation
Python Library for Reading and Writing VDFs (Valve Data File)
- Host: GitHub
- URL: https://github.com/noriah/pyvdf
- Owner: noriah
- License: mit
- Archived: true
- Created: 2013-12-03T01:28:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2022-03-18T04:04:02.000Z (about 4 years ago)
- Last Synced: 2025-07-21T16:18:40.083Z (9 months ago)
- Topics: keyvalue, python, vdf
- Language: Python
- Homepage:
- Size: 400 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
PyVDF
==
Parse VDFs and Valve KeyValue Files
[](https://codeclimate.com/github/noriah/PyVDF)
[](https://travis-ci.org/noriah/PyVDF)
[](https://pypi.python.org/pypi/PyVDF)
[](https://coveralls.io/r/noriah/PyVDF)
## 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
```python
from PyVDF import PyVDF
Foo = PyVDF()
Foo = PyVDF(data=StringOData)
Foo = PyVDF(infile="/path/to/file.ext")
Foo = PyVDF(infile=fileInstance)
```