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-2.0.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for keyvalues1-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c91df2efda096cfa037b8145e2f792e6ab74971e9cdf0ae7cd43ab23f42fd3b1 |
|
MD5 | ec1959cfececebe03980684736a6e666 |
|
BLAKE2b-256 | 2b2112557beea8b4f3ebd88a5cd56542c06e980cedcd02451b3123bd83a8d050 |