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.1.0.tar.gz (48.9 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.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hp_cap_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 48.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 6b38e497f747ce5cb106e56e3621df0ae6bd186991a6bea20d45e6cb187053b8
MD5 d0274b87baf51b49e5c21c0fd6a5544c
BLAKE2b-256 d0cfc137bc7bcbd89acbffb2b686c3326c73d43e88b22989a3e8711dfa730f88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hp_cap_parser-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53c6a839e8466ab2a59d96aa67a6d52b29a70821e249dba463b4cbe18caf52a1
MD5 1fb29853fd68e094b9fb38371002a69e
BLAKE2b-256 5c9b193e963330c8a0d8a113a0a0c263dc407836f3f3f519176beee9a8ab5a21

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