Skip to main content

HPXML Version Translator

This package converts an HPXML file to a newer version.

Requirements

Python >=3.6

Installation

In general, we recommended to use a virtual environment or conda environment and then installing with pip, like so:

pip install hpxml-version-translator

Developer Installation

If you want to do work on the repo, clone this repo and install in development mode.

cd path/to/repo
pip install -e ".[dev]"

How to use

Command Line

hpxml_version_translator -h
usage: hpxml_version_translator [-h] [-o OUTPUT] [-v {2.0,2.1,2.2,2.2.1,2.3,3.0,3.1,4.0,4.1,4.2,5.0}] hpxml_input

HPXML Version Translator, convert an HPXML file to a newer version

positional arguments:
  hpxml_input           Filename of hpxml file

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Filename of output HPXML file. If not provided, will go to stdout
  -v {2.0,2.1,2.2,2.2.1,2.3,3.0,3.1,4.0,4.1,4.2,5.0}, --to_hpxml_version {2.0,2.1,2.2,2.2.1,2.3,3.0,3.1,4.0,4.1,4.2,5.0}
                        Version of HPXML to translate to, default: 5.0

In a Python script

from hpxml_version_translator import convert_hpxml_to_version

convert_hpxml_to_version("5.0", "path/to/in.xml", "path/to/out.xml")

It also works with path-like objects and binary file-like objects.

Metadata

Release files for hpxml-version-translator 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hpxml-version-translator 3.0.1
File Size Uploaded
hpxml_version_translator-3.0.1.tar.gz 269.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hpxml-version-translator 3.0.1
File Interpreter ABI Platform
hpxml_version_translator-3.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 540.6 kB

Release files / hpxml_version_translator-3.0.1.tar.gz

Download URL hpxml_version_translator-3.0.1.tar.gz
Size 269.3 kB
Tags Source
SHA-256 checksum
How to use checksums
98f64ba52e4140506fa451e252c3b560101ba6fcb40cdc9638a07dc752212d28
BLAKE2b-256 checksum
How to use checksums
89497cdc7674f3c7eb95a079bbff91e695023abb04594b5cc8787ee69690d406
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release files / hpxml_version_translator-3.0.1-py3-none-any.whl

Download URL hpxml_version_translator-3.0.1-py3-none-any.whl
Size 271.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1af6c2964be109b6e3d5dcf765b138c3ce791a23f6ef83f1c491d190e7cfb26
BLAKE2b-256 checksum
How to use checksums
475fe0633b83c7dbfef06f981564ba27071eb09a7f14251abee97ec304384a00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page