python interface to the price database

Derek Atkins warlord at MIT.EDU
Tue Nov 30 11:28:14 EST 2010


Peter Holtermann <peter.holtermann at systemausfall.org> writes:

> On Mon, 2010-11-29 at 15:59 -0500, Derek Atkins wrote: 
>> Peter Holtermann <peter.holtermann at systemausfall.org> writes:
>> 
>> > Dear all,
>> >
>> > I successfully installed a recent gnucash-svn version and managed to use
>> > the python-interface. Anyway, I couldn't find any functions to access
>> > the price database, to insert via a python script stock prices etc. or
>> > read them out and do a postprocess outside of gnucash. Do such functions
>> > exist?
>> 
>> Right now I do not believe they are wrapped in python..  This is partly
>> due to the fact that Python does not share a wrapper implementation with
>> the Guile wrappings.  The APIs ARE wrapped in Guile/scheme in
>> src/engine/engine.i, but not in the python equivalent.  I see no
>> additional references to gnc-pricedb.h in any interface files.
>
> Are there plans to improve the python interface, especially this
> feature? I think its pretty crucial for stocks/currencies.

I don't know -- you'll have to ask the people who donated and maintain
that code.

> -Peter

>> > Please remember to CC this list on all your replies.
>> > You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list