Skip to main content

Parse IBM APAR information from web pages

Project description

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: txt or json (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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apar_parser-1.0.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apar_parser-1.0.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file apar_parser-1.0.2.tar.gz.

File metadata

  • Download URL: apar_parser-1.0.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for apar_parser-1.0.2.tar.gz
Algorithm Hash digest
SHA256 2110cd411b24237bdd1e377ec7601362e6af47e76fb37a860b21f1515e5ccf14
MD5 d19720b222e223f772d8963d5787a6d3
BLAKE2b-256 92ab4efc1641dff6dc65858f81eb74d2bb68487ca55e37f34243652ff7f0b108

See more details on using hashes here.

File details

Details for the file apar_parser-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for apar_parser-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f0f396110621730de16079102881247f7c6f659a6a6fc8a8258b3121f4d72ac
MD5 291ca5c89524a58cbdd8fb52ba2da5bf
BLAKE2b-256 a5f0eb6a9026919a2b7e8d9009d7e49aaee01d1a1e7554b9eeb45e3daa2b1096

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page