← Back to team overview

kicad-developers team mailing list archive

Re: Getting kicad to work with wxPython Phoenix

 

I guess this is the same idea as with https://github.com/KiCad/kicad-python

2017-11-23 19:28 GMT+01:00 Greg Smith <ecomputerd@xxxxxxxxx>:

> "I was simply afraid that we
> may spent a lot of time petting the SWIG interface, which we will nuke
> it and start from scratch because of inevitable switch to Phoenix."
>
> I agree. I would suggest that the Python API is not quite stable enough to
> freeze the API. If we desire a stable interface/API, one could be written
> in Python itself. I am on the edge of implementing such an interface with
> KiCommand.
>
> KiCommand, in addition to being a command line interface, is a set of
> function calls that *could* be considered an API / Python class when
> complete.
>
> I have reviewed the Python API unit tests and found them to be lacking in
> coverage. I am duplicating those tests in KiCommand, and plan to extend the
> KiCommand tests, which could potentially be applied to the current Python
> API.
>
> If a stable API is desired, there should also be a set of unit tests
> verifying that functionality.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References