[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: Update on PyKF5 bindings
From:       Shaheed Haque <srhaque () theiet ! org>
Date:       2016-11-07 10:46:47
Message-ID: CAHAc2jfnxRwhxpaos7r44mD_yiSBMOfucYjvnMtW+3NPVoibkg () mail ! gmail ! com
[Download RAW message or body]

At this point, now that Steve's integration with cmake is emerging into the
sunlight, my branches in kdebindings and github should be considered as of
academic interest only.

As time permits, I plan to focus on wherever the integration work lands.

On 7 Nov 2016 10:33 a.m., "Boudewijn Rempt" <boud@valdyas.org> wrote:

> On Tue, 1 Nov 2016, Stephen Kelly wrote:
>
> > [I wrote this yesterday but just realized it didn't get delivered]
> >
> > Boudewijn Rempt wrote:
> >
> > > I'm wondering what the status is of this project...
> >
> > Hi Boud,
> >
> > I've been busy moving from Berlin back to Dublin, which I just did last
> > weekend. Things were blocked on me for some months.
> >
> > I've just now pushed the first iteration of the bindings to ECM and a use
> > of
> > the generator to KItemModels.
>
> Oh, cool! I will check out both. What I'm not clear on, though is, the last
> part -- is the generator that uses python-clang still in shaheed's branch
> in PyKDE5? Or somewhere else?
>
> >
> > Next steps are
> >
> > 1) Figure out any issues with those regarding CI, packaging etc.
> > 2) Add bindings for other simple libraries
> > 3) Extend the features of the binding generator
> > 4) Add bindings for other libraries which need advanced features
> > 5) GOTO step 3
> >
> > There are already features which we worked on some months ago which I
> held
> > back from the generator for now, so that there is something easy to debug
> > for step 1.
> >
> > > I've spend the past
> > > week defining Krita's bindings wrapper library, and then spent some
> time
> > > exposing it to Python. I've first used Python to wrap and expose
> > > properties and slots dynamically
> > > (https://phabricator.kde.org/diffusion/KRITA/browse/rempt%
> 252FT1625-python-scripting/plugins/extensions/pykrita/
> plugin/krita/mikro.py),
> > > but I'm also considering doing full sip-based bindings.
> > >
> > > Writing those by hand is going to be a chore, so it would be nice if
> the
> > > autogeneration tool works. This is the bindings library:
> > >
> > > https://phabricator.kde.org/diffusion/KRITA/browse/rempt%
> 252FT1625-python-scripting/plugins/extensions/pykrita/libkis/
> > >
> > > (Very rough, most things aren't implemented yet, and I generated it
> from a
> > > dumb definition file.)
> >
> > I haven't had a look yet. Hopefully the generator will be usable for
> those
> > kinds of things.
> >
> > Thanks,
> >
> > Steve.
> >
>
> --
> Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org
>

[Attachment #3 (text/html)]

<p dir="ltr">At this point, now that Steve&#39;s integration with cmake is emerging \
into the sunlight, my branches in kdebindings and github should be considered as of \
academic interest only.</p> <p dir="ltr">As time permits, I plan to focus on wherever \
the integration work lands.</p> <div class="gmail_extra"><br><div \
class="gmail_quote">On 7 Nov 2016 10:33 a.m., &quot;Boudewijn Rempt&quot; &lt;<a \
href="mailto:boud@valdyas.org">boud@valdyas.org</a>&gt; wrote:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 1 Nov 2016, Stephen Kelly \
wrote:<br> <br>
&gt; [I wrote this yesterday but just realized it didn&#39;t get delivered]<br>
&gt;<br>
&gt; Boudewijn Rempt wrote:<br>
&gt;<br>
&gt; &gt; I&#39;m wondering what the status is of this project...<br>
&gt;<br>
&gt; Hi Boud,<br>
&gt;<br>
&gt; I&#39;ve been busy moving from Berlin back to Dublin, which I just did last<br>
&gt; weekend. Things were blocked on me for some months.<br>
&gt;<br>
&gt; I&#39;ve just now pushed the first iteration of the bindings to ECM and a \
use<br> &gt; of<br>
&gt; the generator to KItemModels.<br>
<br>
Oh, cool! I will check out both. What I&#39;m not clear on, though is, the last<br>
part -- is the generator that uses python-clang still in shaheed&#39;s branch<br>
in PyKDE5? Or somewhere else?<br>
<br>
&gt;<br>
&gt; Next steps are<br>
&gt;<br>
&gt; 1) Figure out any issues with those regarding CI, packaging etc.<br>
&gt; 2) Add bindings for other simple libraries<br>
&gt; 3) Extend the features of the binding generator<br>
&gt; 4) Add bindings for other libraries which need advanced features<br>
&gt; 5) GOTO step 3<br>
&gt;<br>
&gt; There are already features which we worked on some months ago which I held<br>
&gt; back from the generator for now, so that there is something easy to debug<br>
&gt; for step 1.<br>
&gt;<br>
&gt; &gt; I&#39;ve spend the past<br>
&gt; &gt; week defining Krita&#39;s bindings wrapper library, and then spent some \
time<br> &gt; &gt; exposing it to Python. I&#39;ve first used Python to wrap and \
expose<br> &gt; &gt; properties and slots dynamically<br>
&gt; &gt; (<a href="https://phabricator.kde.org/diffusion/KRITA/browse/rempt%252FT1625-python-scripting/plugins/extensions/pykrita/plugin/krita/mikro.py" \
rel="noreferrer" target="_blank">https://phabricator.kde.org/<wbr>diffusion/KRITA/brow \
se/rempt%<wbr>252FT1625-python-scripting/<wbr>plugins/extensions/pykrita/<wbr>plugin/krita/mikro.py</a>),<br>
 &gt; &gt; but I&#39;m also considering doing full sip-based bindings.<br>
&gt; &gt;<br>
&gt; &gt; Writing those by hand is going to be a chore, so it would be nice if \
the<br> &gt; &gt; autogeneration tool works. This is the bindings library:<br>
&gt; &gt;<br>
&gt; &gt; <a href="https://phabricator.kde.org/diffusion/KRITA/browse/rempt%252FT1625-python-scripting/plugins/extensions/pykrita/libkis/" \
rel="noreferrer" target="_blank">https://phabricator.kde.org/<wbr>diffusion/KRITA/brow \
se/rempt%<wbr>252FT1625-python-scripting/<wbr>plugins/extensions/pykrita/<wbr>libkis/</a><br>
 &gt; &gt;<br>
&gt; &gt; (Very rough, most things aren&#39;t implemented yet, and I generated it \
from a<br> &gt; &gt; dumb definition file.)<br>
&gt;<br>
&gt; I haven&#39;t had a look yet. Hopefully the generator will be usable for \
those<br> &gt; kinds of things.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Steve.<br>
&gt;<br>
<br>
--<br>
Boudewijn Rempt | <a href="http://www.krita.org" rel="noreferrer" \
target="_blank">http://www.krita.org</a>, <a href="http://www.valdyas.org" \
rel="noreferrer" target="_blank">http://www.valdyas.org</a><br> \
</blockquote></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic