An actively maintained fork of PyP6Xer: A Python parser for Primavera XER files.
Project description
Alt-Ctrl-Proj Python Primavera P6 XER parser
Alt-Ctrl-Proj is an actively maintained fork of PyP6Xer, an open-source project for parsing Primavera XER files in Python. The project is a 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 Alt-Ctrl-Proj
The usage of the library is fairly simple and the import examples can be:
from xer_parser.reader import Reader
Here are some examples of reading and parsing xer files:
xer = Reader("<filename>") # this returns a reader object
to read all projects in file as one xer file may have multiple projects stored into it:
for project in xer.projects:
print(project)
XER Explorer Tool
Alt-Ctrl-Proj now includes an XER Explorer tool that helps you quickly analyze the contents of XER files. The tool generates a concise report with key information about the file, including projects, calendars, WBS elements, and more.
Command-line Usage
After installing Alt-Ctrl-Proj, you can use the XER Explorer tool directly from the command line using the provided entry point:
# Basic usage
xer-explorer path/to/your/file.xer
# Specify custom output file
xer-explorer path/to/your/file.xer -o custom_report.txt
# Include large collections (which are skipped by default)
xer-explorer path/to/your/file.xer --include-large
Note: The
xer-explorercommand is available after installing the package via pip. The script inscripts/xer_explorer.pyis for development or manual use only.
Programmatic Usage
You can also use the Explorer in your Python code:
from xer_parser.tools import explore_xer_file
# Generate a report with default settings
explore_xer_file("path/to/your/file.xer", "output_report.txt")
For more advanced usage and examples, see the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alt_ctrl_proj-0.0.4.tar.gz.
File metadata
- Download URL: alt_ctrl_proj-0.0.4.tar.gz
- Upload date:
- Size: 60.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8cf4ce4676aae64fbdd2022ef533f1c9a88db959c50892e9c1567aa1b462ec6
|
|
| MD5 |
78446c6485c670134d977425b5746f82
|
|
| BLAKE2b-256 |
831a42b5ca27b0702a52471dacf1286dab5f7be8305b26d8a030184579a721bf
|
File details
Details for the file alt_ctrl_proj-0.0.4-py3-none-any.whl.
File metadata
- Download URL: alt_ctrl_proj-0.0.4-py3-none-any.whl
- Upload date:
- Size: 85.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033cb95b4b7ec0ce4086ebbc1712bc3fa51dc66daff71288a635e9922403a642
|
|
| MD5 |
e82c5fe94dda8c84476f05f9e29d19b2
|
|
| BLAKE2b-256 |
3a2ef6760b7ebd370af0efc103ea7c9133f12b8a6c00ee9aa9711ae164b0a257
|