I remember in the past there was as discussion about replaced the SWING library for generation of pcbnew.py
package.
There also the thread to expose functions of Eeschema and other parts of KiCad to Python.
I saw the plan to deprecate the actual API interface in favor of use the CLI interface for automation:
Add deprecation notices to SWIG API (3bc190e5) · Commits · KiCad / KiCad Source Code / kicad · GitLab.
Is there some new plan or discussion of next steps in the Python API development?