pfp - Python Format Parser - a python-based 010 template interpreter
Python Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
docs
pfp
tests
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.md
requirements.txt
setup.cfg
setup.py

README.md

  • Master Build Status - master
  • Develop Build Status - develop
  • Documentation Status

pfp

pfp is a python-based interpreter for 010 template scripts.

See the main documentation on Read the Docs

Installation

Install pfp with

pip install --upgrade pfp

Tl;DR

You don't feel like going to read the docs? This should get you started parsing something using 010 templates:

import pfp

dom = pfp.parse(
	data_file="~/Desktop/image.png",
	template_file="~/Desktop/PNGTemplate.bt"
)