



I've added some high-level functions (currently put in DbState, for lack of a better place) including: make_database, open_database, and import_from_file. This new API is of course open for design discussions. The basic goal is to be able to do with a few lines of code that which currently requires the GUI or a lot more code.





I'll be making some example Python notebooks for the folks working on integrating Gramps with FamilySearch [1]. Here is a first notebook, also showing the new API:









(I'm not sure at this point about investing a huge effort into a FS-based system... they have an uneven track record with open source so far. But elderamevans seems committed. And I suspect some of this code can be useful in interfacing with other web-based systems, and for informing our own web-based designs.)





-Doug





One of my goals for Gramps 5.0 is to make the gramps source code much easier to use from outside of Gramps Gtk. This has a lot of benefit for ourselves (such as being able to write better tests) but also for others attempting to integrate with Gramps.