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 fichierHrxParseError: JSON invalideHrxValidationError: payload non conforme aux modeles PydanticHrxSchemaError: payload non conforme au schema JSONHrxVersionError: 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)
| File | Size | Uploaded | |
|---|---|---|---|
| hrxlib-0.1.0.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|