Skip to main content

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

Metadata

Release files for keyvalues1 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keyvalues1 2.1.0
File Size Uploaded
keyvalues1-2.1.0.tar.gz 141.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keyvalues1 2.1.0
File Interpreter ABI Platform
keyvalues1-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 145.4 kB

Release files / keyvalues1-2.1.0.tar.gz

Download URL keyvalues1-2.1.0.tar.gz
Size 141.4 kB
Tags Source
SHA-256 checksum
How to use checksums
76f2cd1a65d5a2dbfbded421694b71e22c4b767b5866191fa5a12f230bede2ef
BLAKE2b-256 checksum
How to use checksums
389f7ce5e01e1000bc5f0c44eeb5d81847297287c9be8dd7ec18fd74e07fa604
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / keyvalues1-2.1.0-py3-none-any.whl

Download URL keyvalues1-2.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6b54d7a4301825695e62056758d97bf3da7c1598f01db6088ef15d0a2c05256
BLAKE2b-256 checksum
How to use checksums
9edbb5f57174590ad47edac588d2f772c668056d686f57d71f9d18f6d74266c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page