pfp - Python Format Parser - a python-based 010 template interpreter
Python Shell
Latest commit 29ea9a8 Feb 11, 2017 @d0c-s4vage committed on GitHub Merge pull request #55 from ExodusIntelligence/hotfix-array_item_set_…
…fetch-54

overwriting array values with a list works correctly now

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