Skip to main content

A library for parsing HP Content Aggregator for Products (CAP) data

Project description

hp-cap-parser

A Python library for parsing HP Content Aggregator for Products (CAP) data files. Provides a clean, simple API for extracting and analyzing CAP information from HP system outputs.

Installation

pip install hp-cap-parser

Usage

from hp_cap_parser import HPCapParser

parser = HPCapParser()
parser.parse_file("input.xml", "output_directory")

Development

Setup

pip install -e .

Running Tests

pytest

For verbose output:

pytest -v

For coverage report:

pytest --cov

TODO:

Lifestyle & other image types : https://cap.hpcontent.com/support/solutions/articles/9000058002-working-with-images-in-cap

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

hp_cap_parser-0.3.0.tar.gz (49.4 kB view details)

Uploaded Source

Built Distribution

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

hp_cap_parser-0.3.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file hp_cap_parser-0.3.0.tar.gz.

File metadata

  • Download URL: hp_cap_parser-0.3.0.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hp_cap_parser-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7e197c9b16b81c502a5840aa9b0a30408efa8cd2960ec11c41b878e62aa046f4
MD5 68cb42bc0719ac82416066cf3b9522dd
BLAKE2b-256 8e72336b1451594699c4489f866a5b450433dabd00ce05d19993aa031c1c21ad

See more details on using hashes here.

File details

Details for the file hp_cap_parser-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: hp_cap_parser-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hp_cap_parser-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05d7f5b02df0b919e3509f74d0365a39f2c651f4eed5981460241074cb064c7d
MD5 e4d01de0c267e30e938f0a13c48091bb
BLAKE2b-256 97bb6bb5fccb06e5c54f85cddad7f519a2801be6ba2854f946f3069f0f75f82c

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