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
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.1.0.tar.gz
(141.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keyvalues1-2.1.0.tar.gz.
File metadata
- Download URL: keyvalues1-2.1.0.tar.gz
- Upload date:
- Size: 141.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76f2cd1a65d5a2dbfbded421694b71e22c4b767b5866191fa5a12f230bede2ef
|
|
| MD5 |
de55493b96583daa865eab0563995b90
|
|
| BLAKE2b-256 |
389f7ce5e01e1000bc5f0c44eeb5d81847297287c9be8dd7ec18fd74e07fa604
|
File details
Details for the file keyvalues1-2.1.0-py3-none-any.whl.
File metadata
- Download URL: keyvalues1-2.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6b54d7a4301825695e62056758d97bf3da7c1598f01db6088ef15d0a2c05256
|
|
| MD5 |
f34c7bc175b6e03068b44ad0b8dc01b6
|
|
| BLAKE2b-256 |
9edbb5f57174590ad47edac588d2f772c668056d686f57d71f9d18f6d74266c9
|