Skip to main content

Xaloqi TestLab — core

CI License: Apache 2.0 PyPI

Try a full UDS ECU with nothing but Python — no hardware, no CAN stack, no config file:

pipx run --spec xaloqi-tester xaloqi-sim --demo

or, if you'd rather install it:

pip install xaloqi-tester
xaloqi-sim --demo

That runs a real UDS conversation against an in-process simulated ECU: VIN read, session control, AES-CMAC SecurityAccess unlock, a security-gated DID read, DTC read — the same protocol traffic a real bench would see.

Run a full campaign against it

testlab-run --config testlab_config.yaml \
            --campaign campaigns/standalone_validation.yaml \
            --job basic_validation --virtual --json reports/run.json
testlab analyze --results reports/run.json

campaigns/*.yaml define test jobs — session control, SecurityAccess, DID/memory read-write, DTC handling, firmware transfer — as data, not code. --virtual runs them against the built-in simulator; the same YAML runs unmodified against real hardware once you add Xaloqi TestLab Pro.

What's in core (Apache-2.0)

  • UDS client (xaloqi.tester.UdsTester) — async and sync, all major UDS services including 0x27 SecurityAccess (AES-CMAC) and the 0x34/0x35/0x36/0x37 firmware up/download sequence.
  • VirtualBus — the in-process transport and the simulated ECU (xaloqi.sim, also the xaloqi-sim command).
  • Campaign runner (testlab-run) — 20 UDS actions, expect_nrc, variable capture/interpolation, JSON output (schema shared with the Xaloqi EDS diagnostics stack, so the same result format works with either).
  • testlab analyze — terminal summary of a run's JSON results.

What's in Pro

Real transports (SocketCAN, PCAN/Kvaser, DoIP, SOME/IP), the SOVD client, multi-ECU workspace mode, RTOS comparison, HTML reports/trends/dashboard, and AI-assisted failure analysis are part of Xaloqi TestLab Pro — installed as an additional wheel alongside this package. Core discovers Pro automatically through Python entry points: install Pro and every testlab command and campaign action above works unchanged, plus the paid ones. Without Pro installed, a paid transport, action, or subcommand fails with one clear message telling you what it needs.

Installing from source

git clone https://github.com/Xaloqi/xaloqi-testlab-core
cd xaloqi-testlab-core
pip install -e ".[dev]"
XALOQI_LICENSE_SKIP=1 pytest tests/ -v

Contributing

See CONTRIBUTING.md. Found a security issue? See SECURITY.md — please don't open a public issue for it.

License

Apache License 2.0 — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xaloqi_tester-1.5.1.tar.gz (82.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xaloqi_tester-1.5.1-py3-none-any.whl (61.0 kB view details)

Uploaded Python 3

File details

Details for the file xaloqi_tester-1.5.1.tar.gz.

File metadata

  • Download URL: xaloqi_tester-1.5.1.tar.gz
  • Upload date:
  • Size: 82.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for xaloqi_tester-1.5.1.tar.gz
Algorithm Hash digest
SHA256 8b4a500de4b438cdf5d1eae807cebdf65b899a2b12a93978a75c346fe4b9304c
MD5 a9a9febfc94e35059a9e0b90277bc84e
BLAKE2b-256 5a1b65c43910f7957fb9c19e07aaaa6f87600cee0a0b23272ea6a36b20d6a4a7

See more details on using hashes here.

File details

Details for the file xaloqi_tester-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: xaloqi_tester-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 61.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for xaloqi_tester-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e5fe4ea8516427a86a7589b306ac3e9f8c9f4212ddbf67e90e6392da98ad866
MD5 e9774a3760bf9a67e2db4bf3da9b8237
BLAKE2b-256 47d99b20cf301c2da7a7ed22ddec6a1ce32f20fee78babbd3245f093881c5ce5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.5.1 This release

2 files

1.5.0

2 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