mpxj
Python wrapper for the MPXJ Java library for manipulating project files
Decision gist · record as of 2026-08-14
Yes, if you need to work with project files from Python and can manage a Java dependency. The package is actively maintained, has no known vulnerabilities, and low install friction. The copyleft license (LGPL-2.0-or-later) requires compliance if you distribute derivative works. Main consideration is explicit JVM lifecycle management in your code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Java Runtime Environment (JRE) installed; explicit JVM lifecycle management required in calling code.
- Low install friction; pure Python wheel with no compiled dependencies.
- Actively maintained with a recent release (2026-08-08) and steady repository activity.
License · maintenance · safety
LGPL-2.0-or-later (copyleft) — Licensed under LGPL-2.0-or-later (copyleft). Derivative works and modifications must be distributed under compatible terms; proprietary applications using this package must comply with copyleft obligations.
last release 2026-08-08 (6 days) · last repo commit 2026-08-08 · 339 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 179,893 downloads/mo, #10,160 on PyPI
Alternatives
Verify before relying
import mpxj
# Start JVM, read project file, extract tasks, shutdown JVM
# See documentation for full examples of file conversion and schedule generation- Whether JPype is automatically installed as a dependency or must be manually installed separately.
- Performance characteristics when working with large project files or complex schedules.
- Compatibility matrix with specific Microsoft Project versions and file format variants.
- Complete list of supported project file formats beyond MPP, MPX, and MSPDI.
What it is and what it does
MPXJ is a Python wrapper around the Java MPXJ library that lets you read, write, and manipulate project management files in formats like MPP, MPX, and MSPDI. It exposes the MPXJ object model so you can extract tasks, resources, assignments, and schedule data, or generate new project files programmatically.
You can use it for simple file format conversion, direct data extraction from existing project files, or building complete project schedules from scratch with tasks, resources, dependencies, and milestones. The package requires a Java runtime and handles lifecycle management explicitly in your code.
Use it for
- Convert project files between formats without Microsoft Project installed.
- Extract task lists, resource assignments, and schedule data from existing project files for reporting.
- Programmatically generate new project schedules with tasks, dependencies, and resources.
- Integrate project file handling into Python-based project management tools.
- Migrate project data between systems by reading one format and writing another.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to work with project files from Python and can manage a Java dependency.
The package is actively maintained, has no known vulnerabilities, and low install friction. The copyleft license (LGPL-2.0-or-later) requires compliance if you distribute derivative works. Main consideration is explicit JVM lifecycle management in your code.
Install
mpxj on PyPI
Before you install
Low install friction; pure Python wheel with no compiled dependencies. Actively maintained with a recent release (2026-08-08) and steady repository activity.
Requires a Java Runtime Environment (JRE) installed; explicit JVM lifecycle management required in calling code.
License in practice
Licensed under LGPL-2.0-or-later (copyleft). Derivative works and modifications must be distributed under compatible terms; proprietary applications using this package must comply with copyleft obligations.
Quickstart
import mpxj
# Start JVM, read project file, extract tasks, shutdown JVM
# See documentation for full examples of file conversion and schedule generation
Verify before relying
- Whether JPype is automatically installed as a dependency or must be manually installed separately.
- Performance characteristics when working with large project files or complex schedules.
- Compatibility matrix with specific Microsoft Project versions and file format variants.
- Complete list of supported project file formats beyond MPP, MPX, and MSPDI.
Package facts
| License | LGPL-2.0-or-later copyleft |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 179,893 / month, #10,160 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: mpxj-16.7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “project file format conversion”
- mpxjReads and writes project management file formats (MPP, MPX, XML, and…
- hurry.filesizeConverts byte counts into human-readable file size strings using…
- markitdown-no-magikaConverts various file formats (PDF, Excel, Word, HTML, images, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also aspose-cells · javaproperties · jpype1 · pygexf · docx · mmdb-writer · tabula-py · py4j · JayDeBeApi · python-evtx