Skip to content

Expand the Python binding to cover the full C API and publish wheels #117

@grzanka

Description

@grzanka

Part of #108 (health-review epic).

Context

The ctypes Python binding currently exposes only get_version, get_stp, get_stp_table, get_default_table, and get_csda_table. The C library offers considerably more, and a first-class Python wrapper is a stated goal alongside the WASM web app.

Gaps

Not yet wrapped:

Distribution gap

The package is dev-install only (requires a locally built .so via LIBDEDX_SO). There are no published wheels.

Proposed change

  • Extend python/libdedx/_api.py (and the .pyi stubs) to wrap the full API, with numpy-friendly array helpers and Pythonic error handling (raise on *err).
  • Build and publish wheels (manylinux/macOS/Windows) bundling the native library, to PyPI, via CI.

Acceptance criteria

References

Depends on / relates to: #112, #111, #79, #6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions