Skip to content

[feature] Add stubs for the python bindings #972

@melMass

Description

@melMass

Is your feature request related to a problem? Please describe.
I'm always frustrated when autocomplete doesn't work

Describe the solution you'd like
Whatever fit best the maintainer's workflow, a few ideas:

Describe alternatives you've considered
For a working POC I tried mypy's stubgen:

pip install mypy
stubgen -m f3d
stubgen -m f3d.pyf3d

Then copy the generated pyi files to site-packages/f3d

Additional context
The POC output
f3d-stubs.zip

Contribution
Probably easier if it's done by maintainers but if I'm pointed to the process I can dig into it yes!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions