Parser for XER written in Python
PyXerRemote Python Primavera P6 XER parser for remote files
PyXerRemote is a branch of PyP6Xer which is an open source project to parse Primavera xer files in python. The project is work in progress and open for community contributions.
In order to install a copy in your system you can use pip package manager as follows:
pip install PyP6XER
The usage of the library is fairly simple and the import examples can be:
from xerparser.reader import Reader
Here are some examples of reading and parsing xer files:
xer = Reader("url") # this returns a reader object
to reade all projects in file as one xer file may have multiple projects stored into it:
for project in xer.projects: print(project)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.