FEniCS/dolfinx

Generate Python type stubs using nanobind (v2)

Closed

#3,238 opened on May 31, 2024

 (2 comments) (0 reactions) (1 assignee)C++ (255 forks)auto 404
enhancementgood first issuenanobindroadmaptype-hints

Repository metrics

Stars
 (1,158 stars)
PR merge metrics
 (PR metrics pending)

Description

Nanobind can now auto-generate a type stubs for the wrapper code.

This has been used with Basix (https://github.com/FEniCS/basix/pull/829).

Contributor guide