APAR Parser
Parse IBM APAR (Authorized Program Analysis Report) information from IBM support pages.
Installation
Using uvx (Recommended)
Note: If you don't have uvx installed, see Installing uv/uvx below.
# Run directly
uvx apar-parser -i apar_list.txt -o output_dir
# Or run from local directory
uvx --from . apar-parser -i apar_list.txt -o output_dir
Using pip
# Install from PyPI
pip install apar-parser
# Or install from local directory
pip install .
Usage
Process APAR list from file
apar-parser -i apar_list.txt -o output_dir
Process one or more APARs
# Single APAR
apar-parser -a OA41368 -o output_dir
# Multiple APARs
apar-parser -a OA41368 OA36415 OA12345 -o output_dir
Output formats
Text format (default):
apar-parser -i apar_list.txt -o output_dir
JSON format (structured data):
apar-parser -i apar_list.txt -o output_dir -f json
GUI mode (Windows only, requires tkinter)
apar-parser --gui
Input File Format
Plain text file with one APAR number per line:
OA41368
OA36415
OA12345
Output
Text format
Creates text files in the output directory:
{APAR}.txt- Successfully parsed APAR{APAR}.notfound.txt- APAR not found{APAR}.logon.txt- Requires IBM ID login
JSON format
Creates JSON files with structured data:
{
"apar_number": "OA41368",
"title": "ABEND0C4-11 IN EDGFLTS...",
"modified_date": "21 May 2013",
"apar_information": {
"apar_number": "OA41368",
"reported_component_name": "DFSMSRMM",
...
},
"problem_summary": "...",
"problem_conclusion": "..."
}
Options
-i, --input: Input file with APAR numbers (one per line)-o, --output: Output directory (required unless using --gui)-a, --apar: One or more APAR numbers to process (e.g.-a OA41368 OA36415)-f, --format: Output format:txtorjson(default: txt)--gui: Use GUI for file selection (Windows only, requires tkinter)
Installing uv/uvx
macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Or with pip:
pip install uv
Disclaimer
This is an unofficial tool and is not affiliated with or endorsed by IBM. This tool parses publicly available APAR information from IBM support pages for convenience purposes only. Users are responsible for complying with IBM's terms of service and acceptable use policies when using this tool.
Acknowledgments
Special thanks to Tom Tsai, the original author of this function.
Metadata
Release files for apar-parser 1.0.3
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 |
|---|---|---|---|---|
| apar_parser-1.0.3.tar.gz | 6.7 kB | Without provenance | Details for apar_parser-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apar_parser-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for apar_parser-1.0.3-py3-none-any.whl |
Total release size: 13.8 kB
Release files / apar_parser-1.0.3.tar.gz
| Download URL | apar_parser-1.0.3.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f47473bdc406fdc63884850f22d3d06e6c8c6af87954421f3bafdbef7257b3e2
|
|
BLAKE2b-256 checksum How to use checksums |
9c70bc4de46da51d32e4c1cc104ceaeb51851d3329c1cc564275002178bdda42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Release files / apar_parser-1.0.3-py3-none-any.whl
| Download URL | apar_parser-1.0.3-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33e52b8ae0bca84197cc6d9103d95d6b9225f1ae804afcc43e70caaa94d82662
|
|
BLAKE2b-256 checksum How to use checksums |
01484c5b64267c5f8ead0b4bd50d8274f1a4beb172ab5c49a259af6a0b9f210a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Security for apar-parser 1.0.3
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.