Python wrapper for the MPXJ Java library for manipulating project file formats (MPP, MPD, XER, PMXML, Planner, etc.). Current version 16.1.0, requires Python >=3.6. Released regularly, roughly quarterly.
pip install mpxjNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Read a Microsoft Project MPP file and print tasks with durations.
Install a JRE (e.g., OpenJDK 11) and ensure 'java' is in PATH or JAVA_HOME is set.
Use UniversalProjectReader instead of MPPReader or XERReader.
Use getter methods: project.getTitle(), task.getName(), etc.
Set JsonWriter.setWriteTimephasedData(True) to include timephased data.