A library for interpreting & editing .vmf files
This library was created for editing Valve's .vmf (Valve Map Format)
Parsing is provided by ValveVmf
Created as part of QtPyHammer
To use the latest version, clone from git & install dependencies:
$ git clone [email protected]:QtPyHammer-devs/vmf_tool.git
$ python -m pip install -r requirements.txt
Or to use the latest stable release, install via pip (Python 3.7+):
pip install vmf_tool
>>> import vmf_tool
>>> some_map = vmf_tool.Vmf.from_file("mapsrc/some_map.vmf")
>>> some_map.save_as("mapsrc/some_map.vmf.copy")