Skip to content

Python: add type stubs #1453

Description

@agarny

By adding type stubs to our Python bindings, full autocompletion and type checking in VSCode, PyCharm, etc. would be possible.

Note that I am not sure how easy it would be to add such type stubs (since we are using SWIG). FWIW, it's dead easy using nanobind (see here; I have just done it for libOpenCOR and I now have autocompletion and type checking in VSCode).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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