ValvePCF
ValvePCF is a Python library designed to parse and edit .PCF files, which are utilized for storing particle effects data in Valve's Source engine.
Full documentation: https://pysourcesdk.github.io/ValvePCF/
Installation
PyPI
ValvePCF is available on the Python Package Index. This makes installing it with pip as easy as:
pip3 install valvepcf
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/ValvePCF.git
and install it with:
python3 setup.py install
Usage
Here's a few example usage of ValvePCF
Parsing
Parsing can be done by creating an instance of Pcf with a path.
>>> from valvepcf import Pcf
>>> pcf = Pcf('C:/Program Files (x86)/Steam/steamapps/common/Team Fortress 2/tf/particles/custom.pcf')
Metadata
Release files for valvepcf 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| valvepcf-1.1.2.tar.gz | 21.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| valvepcf-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.8 kB
Release files / valvepcf-1.1.2.tar.gz
| Download URL | valvepcf-1.1.2.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4810e8c4e19479d4249c4d5b916a9233ac9dc1a8ef4081b98e99c21113e6e42f
|
|
BLAKE2b-256 checksum How to use checksums |
0a5ba29e93b097080a8cc354c726334a8f5c9e0e69b7692b20bce12e1ab14c3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / valvepcf-1.1.2-py3-none-any.whl
| Download URL | valvepcf-1.1.2-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a150a7dbc3e3393056faf5255231f059892626505e8a19af17d8bc0bd35378a
|
|
BLAKE2b-256 checksum How to use checksums |
2acc938c9748c80d106ed668a90a6db8033cfefb9ece355082203fafbb883e1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|