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()

Metadata

Release files for valvevmf 0.1.3

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

Source distribution (sdist)

Source distribution for valvevmf 0.1.3
File Size Uploaded
valvevmf-0.1.3.tar.gz 20.6 kB Details

Built distribution (wheel)

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

Total release size: 41.3 kB

Release files / valvevmf-0.1.3.tar.gz

Download URL valvevmf-0.1.3.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d5666520b8a04c400fb7263dffd9137c0da8477e8292188004bc2de10f12acc8
BLAKE2b-256 checksum
How to use checksums
502383aa2046231860e95f615395fc06fe4193b540556912077ab8c5b63919b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / valvevmf-0.1.3-py3-none-any.whl

Download URL valvevmf-0.1.3-py3-none-any.whl
Size 20.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba7c797bbe83cb0aba1f4e420eda82727b5d70f5d0392c35b195a2e4b2779b06
BLAKE2b-256 checksum
How to use checksums
84babac2aea91a033be67d8c99a928a5a9596c61711db5d89ed03a6678c07c61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

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