Skip to main content

GPLv3 license PyPI pyversions Platforms PyPI version fury.io GitHub Workflow Status (with event) Test coverage

ValveVMF

ValveVMF is a Python library designed to parse and edit .VMF files, which store game level data for Valve's level editor, Hammer.

Full documentation: https://pysourcesdk.github.io/ValveVMF/

Installation

PyPI

ValveVMF is available on the Python Package Index. This makes installing it with pip as easy as:

pip3 install valvevmf

Git

If you want the latest code or even feel like contributing, the code is available on GitHub.

You can easily clone the code with git:

git clone git@github.com:pySourceSDK/ValveVMF.git

and install it with:

pip3 install .

Usage

Here's a few example usage of ValveVMF

Parsing

Parsing can be done by creating an instance of Vmf with a path.

>>> from valvevmf import Vmf

>>> vmf = Vmf('C:/mapsrc/yourmap.vmf')
>>> print(vmf.nodes)
>>> vmf.save()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

valvevmf-0.1.3.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

valvevmf-0.1.3-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file valvevmf-0.1.3.tar.gz.

File metadata

  • Download URL: valvevmf-0.1.3.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for valvevmf-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d5666520b8a04c400fb7263dffd9137c0da8477e8292188004bc2de10f12acc8
MD5 ffe5cd1a9cea327ee0f7bdc712786c07
BLAKE2b-256 502383aa2046231860e95f615395fc06fe4193b540556912077ab8c5b63919b8

See more details on using hashes here.

File details

Details for the file valvevmf-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: valvevmf-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for valvevmf-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ba7c797bbe83cb0aba1f4e420eda82727b5d70f5d0392c35b195a2e4b2779b06
MD5 b54e1104f369d7b10c5790d9b8945690
BLAKE2b-256 84babac2aea91a033be67d8c99a928a5a9596c61711db5d89ed03a6678c07c61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page