On 10 March 2015 at 23:39, Franz de Copenhague <
[email protected]> wrote:

>
> > -----Original Message-----
> > From: jan i [mailto:[email protected]]
> > Sent: Tuesday, March 10, 2015 6:16 PM
> > To: [email protected]
> > Subject: Re: [Python] RE: Initial questions about web-based application
> >
> > On 10 March 2015 at 23:07, Franz de Copenhague <
> > [email protected]> wrote:
> >
> > > Python can be a good option for the web-app backend and I would like
> > > to know if you guys have any Python bind for the C DocFormats API. If
> > > not, I will be glad to start doing it.
> > >
> >
> > We do not have that, we are actually still working on making the
> DocFormats
> > API simpler. Currently you call directly down the chain to whatever
> function
> > you use.
> >
> > A Python bind, would be very good. I am sure peter can point at the
> needed
> > handful of functions we really need.
> >
> > rgds
> > jan I.
> >
> >
> > >
> > >
> > >
> > > JD
> > >
> > >
>
> I am just thinking on binding the current API like it is now for dfutil
> and dfconvert. For example:
>
> >>> import docformats as df
>
> >>> status = df.convert.get("concrete.docx",  "abstract.html")
>
> >>> status = df.util.normalize("other.html")
>

you are right that is good start, and will get all the python challenges
dealt with, then we can always later do more.

May I suggest you do it in:
    consumers/dfwebserver and consumers/dfwebapp

rgds
jan i.


>
> JD
>

Reply via email to