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.
Metadata
Release files for Alt-Ctrl-Proj 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| alt_ctrl_proj-0.0.4.tar.gz | 60.6 kB | Without provenance | Details for alt_ctrl_proj-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alt_ctrl_proj-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for alt_ctrl_proj-0.0.4-py3-none-any.whl |
Total release size: 145.7 kB
Release files / alt_ctrl_proj-0.0.4.tar.gz
| Download URL | alt_ctrl_proj-0.0.4.tar.gz |
|---|---|
| Size | 60.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8cf4ce4676aae64fbdd2022ef533f1c9a88db959c50892e9c1567aa1b462ec6
|
|
BLAKE2b-256 checksum How to use checksums |
831a42b5ca27b0702a52471dacf1286dab5f7be8305b26d8a030184579a721bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / alt_ctrl_proj-0.0.4-py3-none-any.whl
| Download URL | alt_ctrl_proj-0.0.4-py3-none-any.whl |
|---|---|
| Size | 85.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
033cb95b4b7ec0ce4086ebbc1712bc3fa51dc66daff71288a635e9922403a642
|
|
BLAKE2b-256 checksum How to use checksums |
3a2ef6760b7ebd370af0efc103ea7c9133f12b8a6c00ee9aa9711ae164b0a257
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for Alt-Ctrl-Proj 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.