[GNC] Using Python Interface for Web Development.
John Ralls
jralls at ceridwen.us
Tue Nov 18 22:43:05 EST 2025
> On Nov 17, 2025, at 17:53, Bite Gao <Redfrog2000 at outlook.com> wrote:
>
> GnuCash Maintainers:
> Hello! I am a web developer who would like to use GnuCash's backend engine as a engine for my web financial management system. Since I planned to use django as the backend engine, I would like to know what backend interface I should using: the native c++ interface with python ctypes library, or the python interface.
> Also, since this mail involves some of development code, should I post it to the development mailing list instead?
Since it’s not about developing GnuCash it doesn’t really matter which list.
There’s no way to attach a python backend module at present so I suppose you’ll have to write a C/C++ shim module to connect to Django. You might be able to get enough from the python bindings to connect to your web UI, but I suspect not. They’re intended for simple scripting and there’s a lot that they don’t expose.
Regards,
John Ralls
More information about the gnucash-user
mailing list