Parser for version 1 of Valve's KeyValues format
Project description
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"])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
keyvalues1-1.0.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for keyvalues1-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aaa3602663274b6984547bdd7b024d7f6705f440f89b4f71e6200dd1c1d7a29 |
|
MD5 | c43ae195deb0d17ffe99590a7ccdbc52 |
|
BLAKE2b-256 | b1f830f33a52a4721453b3a94339d1f01eec664891b4fb349219b1148deb2cc5 |