Which version of inkex should I use ?

Asked by Kristian Benoit on 2018-09-24

Hi, I started writing extensions in Python to draw/tile/print cards in Inkscape. I started using the "inkex.py" provided under ubuntu 18.04. I was thinking about making/rewriting inkex (calling it exscape :) to make it more of an inkscape type of tool for dev as I found it awkward to code in an object that seams to expect every thing to be coded within it. I started coding on an old computer and realized inkex.py was not really compatible. I then searched on the net and found this ("https://gitlab.com/inkscape/extensions.git") repos that has a newer version of inkex (updated like yesterday) and splitted in a bunch of files.

My extensions are getting good, but I wonder if I should use this new version of inkex as it'll be the official version and (perhaps) fit more with my expectations ? ... There does not seam to have official released version of inkex and it seams in active dev... Which version should I used ?

Kristian

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2018-09-28
Last reply:
2018-09-28
Martin Owens (doctormo) said : #1

Dear Kristian,

The new extensions library for Inkex is in development and we are looking for people like you who are passionate about reforming the API so that it is stronger and better for all new writers.

Please join me on GitLab and create a new issue showing us the kinds of design ideas you have and we can have a talk about how to use the ideas in inkex.

If you want to continue to use inkex.py (the old one) you can do that, we're trying to make it backwards compatible. If you have written your own library/upgrade, then it makes sense to use the new inkex/ module and help make it better.

Best Regards, Martin Owens

Hi Martin,
I did not really code anything to replace inkex, but a quick and dirty
template. I then realized how dependant it is toward lxml.etree that (at
the time) I did not really experienced.

I think I can probably help. My first task will be to write a template wiki
for you to fill. The goal will be to show me (and others) how the new
library is expected to be used so it's easier to see the expected behavior.
It will eventually be useful to figure out how to write an extension.

To help you by creating a template I first need dev access to the project
in gitlab.

Kristian

On Mon, Sep 24, 2018, 10:52 AM Martin Owens <
<email address hidden>> wrote:

> Your question #674333 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/674333
>
> Status: Open => Answered
>
> Martin Owens proposed the following answer:
> Dear Kristian,
>
> The new extensions library for Inkex is in development and we are
> looking for people like you who are passionate about reforming the API
> so that it is stronger and better for all new writers.
>
> Please join me on GitLab and create a new issue showing us the kinds of
> design ideas you have and we can have a talk about how to use the ideas
> in inkex.
>
> If you want to continue to use inkex.py (the old one) you can do that,
> we're trying to make it backwards compatible. If you have written your
> own library/upgrade, then it makes sense to use the new inkex/ module
> and help make it better.
>
> Best Regards, Martin Owens
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/inkscape/+question/674333/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/inkscape/+question/674333
>
> You received this question notification because you asked the question.
>

Martin Owens (doctormo) said : #3

I've added someone with your name to the project. My goal is to add any documentation to the code itself as it's written. Please proceed as you are planning.

amarajohsan (amarajohsan) said : #4

I prefer Ubuntu Linux version but I am using Microsoft window 10 on my laptop. When I had a problem of installing them and setup I took help from this site http://www.msofficetechnicalsupportnumbers.com/blog/playback-devices-in-skype/

Can you help with this problem?

Provide an answer of your own, or ask Kristian Benoit for more information if necessary.

To post a message you must log in.