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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| valvevmf-0.1.3.tar.gz | 20.6 kB | Without provenance | Details for valvevmf-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| valvevmf-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for valvevmf-0.1.3-py3-none-any.whl |
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
|
Security for valvevmf 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.