keyvalues1 1.1.0

Creator: rpa-with-ash

Last updated:

Add to Cart

Description:

keyvalues1 1.1.0

KeyValues1




Parser for version 1 of Valve's KeyValues format.
The focus of this particular library is parsing of relevant steamcmd output.
Installation
pip install keyvalues1

Usage
from keyvalues1 import KeyValues1

text = """
"570"
{
"common"
{
"name" "Dota 2"
"oslist" "windows,macos,linux"
"type" "game"
}
}
"""

data = KeyValues1.parse(text)

print(data["570"]["common"]["name"])

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.