{"id":16802949,"url":"https://github.com/doctorjohn/keyvalues1","last_synced_at":"2025-08-01T14:02:30.949Z","repository":{"id":200876464,"uuid":"706449603","full_name":"DoctorJohn/keyvalues1","owner":"DoctorJohn","description":"Parser for version 1 of Valve's KeyValues format with focus on relevant steamcmd output","archived":false,"fork":false,"pushed_at":"2025-05-13T15:08:38.000Z","size":203,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T06:30:20.658Z","etag":null,"topics":["keyvalues","parser","python","python3","valve"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DoctorJohn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-18T01:23:55.000Z","updated_at":"2025-05-13T15:08:40.000Z","dependencies_parsed_at":"2024-11-13T23:24:22.309Z","dependency_job_id":"811cb323-4495-4ab6-9513-a3ae079bdacc","html_url":"https://github.com/DoctorJohn/keyvalues1","commit_stats":null,"previous_names":["doctorjohn/keyvalues1"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/DoctorJohn/keyvalues1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorJohn%2Fkeyvalues1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorJohn%2Fkeyvalues1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorJohn%2Fkeyvalues1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorJohn%2Fkeyvalues1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DoctorJohn","download_url":"https://codeload.github.com/DoctorJohn/keyvalues1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorJohn%2Fkeyvalues1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265109735,"owners_count":23712743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["keyvalues","parser","python","python3","valve"],"created_at":"2024-10-13T09:41:08.542Z","updated_at":"2025-08-01T14:02:30.852Z","avatar_url":"https://github.com/DoctorJohn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KeyValues1\n\n[![PyPI][pypi-image]][pypi-url]\n![PyPI - Python Version][python-image]\n[![Codecov][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n\n[pypi-image]: https://img.shields.io/pypi/v/keyvalues1\n[pypi-url]: https://pypi.org/project/keyvalues1/\n[python-image]: https://img.shields.io/pypi/pyversions/keyvalues1\n[codecov-image]: https://codecov.io/gh/DoctorJohn/keyvalues1/branch/main/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/DoctorJohn/keyvalues1\n[license-image]: https://img.shields.io/pypi/l/keyvalues1\n[license-url]: https://github.com/DoctorJohn/keyvalues1/blob/main/LICENSE\n\nParser for [version 1 of Valve's KeyValues format](https://developer.valvesoftware.com/wiki/KeyValues).\n\nThe focus of this particular library is parsing of relevant `steamcmd` output.\n\n## Installation\n\n```bash\npip install keyvalues1\n```\n\n## Usage\n\n```python\nfrom keyvalues1 import KeyValues1\n\ntext = \"\"\"\n    \"570\"\n    {\n        \"common\"\n        {\n            \"name\" \"Dota 2\"\n            \"oslist\" \"windows,macos,linux\"\n            \"type\" \"game\"\n        }\n    }\n\"\"\"\n\ndata = KeyValues1.parse(text)\n\nprint(data[\"570\"][\"common\"][\"name\"])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoctorjohn%2Fkeyvalues1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoctorjohn%2Fkeyvalues1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoctorjohn%2Fkeyvalues1/lists"}