8000 GitHub - DoctorJohn/keyvalues1: Parser for version 1 of Valve's KeyValues format with focus on relevant steamcmd output
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

DoctorJohn/keyvalues1

Repository files navigation

KeyValues1

PyPI PyPI - Python Version Codecov License

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"])

About

Parser for version 1 of Valve's KeyValues format with focus on relevant steamcmd output

Topics

Resources

License

Stars

Watchers

Forks

Languages

0