[zeromq-dev] zproto python support?

Michel Pelletier pelletier.michel at gmail.com
Thu Apr 23 18:14:04 CEST 2015


Generating pyzmq is one approach, another to consider is generating a
python C wrapper around the zproto C generation with ctypes or cffi.  That
way it just becomes a thin layer on top of an already proven one.  I've
briefly looked at the latter but haven't had time to spike the idea out any
further.

-Michel

On Thu, Apr 23, 2015 at 4:52 AM, Pieter Hintjens <ph at imatix.com> wrote:

> Start with the zproto_codec layer, take any of the existing
> generators, and copy/rename with a _py in the filename. Build/install
> imatix/gsl. Take zproto_example.xml and generate using:
>
>     gsl -script:zproto_codec_py zproto_example
>
> On Thu, Apr 23, 2015 at 1:08 PM, Arnaud Loonstra <arnaud at sphaero.org>
> wrote:
> > Hi all,
> >
> > I'm currently working on porting zgossip to Python but running into
> > wrapping my head around zproto which is used to generate the code. Has
> > there been any attempt for generating python code using zproto? I see
> > there's go, php and csharp support? Any pointers to what it would mean
> > to add Python support?
> >
> > Rg,
> >
> > Arnaud
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150423/9a363b0a/attachment.htm>


More information about the zeromq-dev mailing list