Skip to main content

HRX Python SDK (hrxlib)

Paquet Python fournissant les modeles Pydantic et helpers pour le format HRX.

Installation (locally):

pip install build
cd src/hrx/sdk/python
python -m build
pip install dist/hrxlib-0.1.0-py3-none-any.whl

Usage:

from pathlib import Path

from hrx import HRX

doc = HRX.from_path(Path("candidate.hrx"))
candidate = doc.candidate
payload_dict = doc.to_dict()
payload_json = doc.to_json(indent=2)

# Optional: strict JSON schema validation
doc.validate_against_schema(Path("../../models/hrx-schema-v1.json"))

Erreurs SDK:

  • HrxFileError: probleme de lecture/ecriture fichier
  • HrxParseError: JSON invalide
  • HrxValidationError: payload non conforme aux modeles Pydantic
  • HrxSchemaError: payload non conforme au schema JSON
  • HrxVersionError: version HRX non supportee

Licence: MIT

Metadata

Release files for hrxlib 0.1.0

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

Source distribution (sdist)

Source distribution for hrxlib 0.1.0
File Size Uploaded
hrxlib-0.1.0.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hrxlib 0.1.0
File Interpreter ABI Platform
hrxlib-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / hrxlib-0.1.0.tar.gz

Download URL hrxlib-0.1.0.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e48f56d2a1f78f7a25476789c5bd26bcdd419304e3214abcae61c4151e311a61
BLAKE2b-256 checksum
How to use checksums
0ae0cb3b5ae2b5c5c8e40acdcde196e5fe1bf5785b349944c99680ce43b2bfc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / hrxlib-0.1.0-py3-none-any.whl

Download URL hrxlib-0.1.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea29aeb22d9302e46d518ce36e27a840f9ff8add31b100b3dde76ef9b1034e32
BLAKE2b-256 checksum
How to use checksums
9048efbfdac55d246db68d9cd0ee5e17105635e3f7cba69e21f25fea5f92a170
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

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