Skip to main content

ods-exd-api-box

Python 3.12+ License: MIT Code style: ruff Type checking: mypy

A Python helper package to build ASAM ODS EXD-API gRPC plugins/services.

📖 Full documentation: totonga.github.io/ods-exd-api-box

What is ASAM ODS EXD-API?

The ASAM ODS standard defines how measurement and test data is stored and managed. The EXD-API (External Data API) is a gRPC interface that allows ODS servers to read data from external file formats (TDMS, CSV, HDF5, …) without importing the raw data.

Installation

# Core (ExdFileInterface only)
pip install ods-exd-api-box

# With pandas support (FileSimpleInterface)
pip install 'ods-exd-api-box[simple]'

Quick Start

Full-control interface

from ods_exd_api_box import ExdFileInterface, serve_plugin

class MyFileHandler(ExdFileInterface):
    # Implement: create, close, fill_structure, get_values
    ...

if __name__ == "__main__":
    serve_plugin("my-format", MyFileHandler.create, ["*.myext"])

Pandas-based simple interface

from ods_exd_api_box.simple import FileSimpleInterface, serve_plugin_simple

class MySimpleHandler(FileSimpleInterface):
    # Implement: create, close, data (returns pd.DataFrame)
    ...

if __name__ == "__main__":
    serve_plugin_simple("my-format", MySimpleHandler.create, ["*.myext"])

Architecture

sequenceDiagram
    actor CLIENT as Client
    participant PDTT as 🛠️Importer
    participant PODS as 🗃️ASAM ODS server
    participant PLUGIN as 📊EXD-API plugin
    participant FILE as 🗂️File Storage

    autonumber

    opt Import phase
        FILE ->>+ PDTT: New file shows up
        PDTT ->>+ PLUGIN : Get Structure
        PLUGIN -> FILE: Extract content information
        PLUGIN ->> PLUGIN: Create Structure
        PLUGIN ->>- PDTT: Return Structure
        PDTT ->> PODS: Import ODS structure
        Note right of PDTT: Create hierarchy<br/>AoTest,AoMeasurement,...
        PDTT ->>- PODS: Add External Data info
        Note right of PDTT: Attach AoFile ... for external data<br/>AoFile,AoSubmatrix,AoLocalColumn,...
    end

    Note over CLIENT, FILE: Now we can work with the imported files

    loop Runtime phase
        CLIENT ->> PODS: Establish ODS session
        CLIENT ->> PODS: Work with meta data imported from structure
        CLIENT ->> PODS: Access external channel in preview
        PODS ->> PLUGIN: GetValues
        PLUGIN ->> FILE: Get Channel values
        PLUGIN ->> PODS: Return values of channels
        PODS ->> CLIENT: Return values needed for plot
    end

Documentation

Topic Link
Architecture & internals Architecture
Choosing an interface Comparison
ExdFileInterface guide Full-control interface
FileSimpleInterface guide Simple interface
Server options & TLS Server Options
Docker deployment Docker
Real-world plugins Plugins

Development

pip install -e ".[dev,simple]"
python -m unittest discover -s tests
mypy .

Contributing

  1. Use dev container or set up local dev environment
  2. Ensure type checking passes: mypy .
  3. Run tests: python -m unittest discover -s tests
  4. Follow code style (Ruff, mypy)
  5. Add tests for new features

License

MIT License - see LICENSE file for details.

References

Metadata

Release files for ods-exd-api-box 1.7.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 ods-exd-api-box 1.7.0
File Size Uploaded Provenance Actions
ods_exd_api_box-1.7.0.tar.gz 161.9 kB With provenance Details for ods_exd_api_box-1.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ods-exd-api-box 1.7.0
File Interpreter ABI Platform Actions
ods_exd_api_box-1.7.0-py3-none-any.whl Python 3 none any Details for ods_exd_api_box-1.7.0-py3-none-any.whl

Total release size: 207.9 kB

Release files / ods_exd_api_box-1.7.0.tar.gz

Download URL ods_exd_api_box-1.7.0.tar.gz
Size 161.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c57ddae7f9746dc0cf7a12ec0930fe27bd5c50776b8b5101b0e70b67eb98ae6a
BLAKE2b-256 checksum
How to use checksums
cf569e59f2ebf3b71536929054b99b49a67c9a54a32e6d575dfa286ef1957a0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 6, 2026.

Transparency log

Release files / ods_exd_api_box-1.7.0-py3-none-any.whl

Download URL ods_exd_api_box-1.7.0-py3-none-any.whl
Size 46.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdfb1e483a7773b517ad97c2f82e211244db5330b2162b5e19091191a588b7c5
BLAKE2b-256 checksum
How to use checksums
aa415aca809c16353d442dfe9b3e1a2fbfd0cbf2be754b5971dd017374245f3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 6, 2026.

Transparency log

Security for ods-exd-api-box 1.7.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ods_exd_api_box-1.7.0.tar.gz

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 Jul 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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