D extensions to python, inline in an ipython/jupyter notebook

John Colvin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Jun 14 23:51:42 PDT 2015


On Monday, 15 June 2015 at 05:11:17 UTC, Laeeth Isharc wrote:
> On Sunday, 14 June 2015 at 15:51:37 UTC, John Colvin wrote:
>> Bare-bones at the moment, but hopefully of interest to some 
>> people
>>
>> https://github.com/DlangScience/PydMagic
>>
>> This allows you to write D extensions to python, as inline 
>> cells in an ipython/jupyter notebook.
>
> This was just what I was looking for - great work, and I think 
> this will be very useful.
>
>
>
> Laeeth

It's really only a beginning. Pyd's API is pretty clunky feeling 
by modern D standards, I hope to extend @pdef to automatically 
work for most language constructs, amongst other sugar.

I also aim to factor it out in to a library that doesn't depend 
on ipython, so people can just get a nicer Pyd. Ultimately maybe 
it could replace the upstream API.

Any contributions are very much welcome, it's a fun thing to work 
on but I'm crazily busy at the moment. Anyone who's interested, 
get in touch :)


More information about the Digitalmars-d-announce mailing list