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.3.tar.gz (6.7 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.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for apar_parser-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f47473bdc406fdc63884850f22d3d06e6c8c6af87954421f3bafdbef7257b3e2
MD5 ca7c50dd6d8f21d87e0fb634e38aba75
BLAKE2b-256 9c70bc4de46da51d32e4c1cc104ceaeb51851d3329c1cc564275002178bdda42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apar_parser-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 33e52b8ae0bca84197cc6d9103d95d6b9225f1ae804afcc43e70caaa94d82662
MD5 defecc3d9aea0a955639c1f91af48cf2
BLAKE2b-256 01484c5b64267c5f8ead0b4bd50d8274f1a4beb172ab5c49a259af6a0b9f210a

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