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.2.0.tar.gz (49.6 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.2.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hp_cap_parser-0.2.0.tar.gz
  • Upload date:
  • Size: 49.6 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.2.0.tar.gz
Algorithm Hash digest
SHA256 1b5668ba5a9020f781bfc5481409310cfed4396a6c7f6a706dc2d1315d568ec6
MD5 ef782ed8fc38c33a8cca60a993583485
BLAKE2b-256 c60ba0a3932ef7bbd09cdb96a04c63a8c8df4be42a5efe15c8f81c5b23ad49d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hp_cap_parser-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a782a5a0374523274d5590f1c65bf58d37404c3ed6bc386251503bcd5b39c5c1
MD5 db7719dfd4aea5386dec410a7a170b73
BLAKE2b-256 cb77923d085d9e8b3d02058960526c90ef913f4d4725e662d026b5690736544b

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