2007-02-03 22:41:05 +05:30
|
|
|
#
|
|
|
|
# Gramps - a GTK+/GNOME based genealogy program
|
|
|
|
#
|
|
|
|
# Copyright (C) 2004-2006 Donald N. Allingham
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
#
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
"""
|
2007-02-04 01:38:41 +05:30
|
|
|
This package implements additions to the the GrampsDb database.
|
|
|
|
|
|
|
|
This package should be used for code that extended GrampsDb but also
|
|
|
|
depends on Gtk.
|
2007-02-03 22:41:05 +05:30
|
|
|
|
|
|
|
A number of importers and exporters are provided to convert between
|
|
|
|
the different backend formats.
|
|
|
|
|
2007-02-04 01:38:41 +05:30
|
|
|
To obtain a class that implements writers use the gramps_db_writer_factory
|
2007-02-03 22:41:05 +05:30
|
|
|
method and for readers use the gramps_db_reader_factory method. For information
|
2007-02-04 01:38:41 +05:30
|
|
|
on using these factories see the _GrampsDbUtilsFactories.py file comments.
|
2007-02-03 22:41:05 +05:30
|
|
|
|
|
|
|
"""
|
|
|
|
|
2007-10-03 22:44:26 +05:30
|
|
|
__version__ = "$Revision$"
|
2007-02-03 22:41:05 +05:30
|
|
|
|
|
|
|
from _GrampsDbWRFactories import \
|
|
|
|
gramps_db_writer_factory, \
|
|
|
|
gramps_db_reader_factory
|
|
|
|
|
|
|
|
|
2007-02-11 11:33:29 +05:30
|
|
|
from _GedcomParse import GedcomParser
|
2007-02-03 22:41:05 +05:30
|
|
|
from _WriteGedcom import GedcomWriter
|
|
|
|
|
2007-12-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: remove unused functions, add alt actions left/right
* src/GrampsDb: deleted with _GrampsDbWriteXML.py,
_GrampsDbFactories.py, _GrampsGEDDB.py, _GrampsXMLDB.py,
__init__.py, Makefile.am, _GrampsInMemDB.py, _GrampsBSDDB.py.
No more inmemory databases
* src/GrampsDbUtils: moved here _GrampsDbWriteXML.py and _GrampsBSDDB.py
* src/plugins/ReadGrdb.py:
* src/plugins/Checkpoint.py:
* src/ObjectSelector/_ObjectSelectorWindow.py:
* src/DbManager.py:
* src/GrampsDbUtils/_WriteGrdb.py:
* src/GrampsDbUtils/__init__.py:
* src/GrampsDbUtils/_GrampsDbWRFactories.py:
* src/GrampsDbUtils/_WriteXML.py:
* src/GrampsDbUtils/Makefile.am:
* src/gramps_main.py:
* src/RecentFiles.py: recent-files-gramps.xml, don't overwrite 2.2.x data
* src/ArgHandler.py:
* src/DbLoader.py: remove unused functions
* src/Makefile.am:
* po/POTFILES.in:
* src/GrampsDbUtils/importdbdir.py: allow import of new database via cli
Remove inMem Editing, move remaining to DbUtils, fix ArgHandler
svn: r9613
2007-12-28 20:39:01 +05:30
|
|
|
from _GrampsDbWriteXML import GrampsDbXmlWriter, \
|
|
|
|
exportData, quick_write
|
2007-02-03 22:41:05 +05:30
|
|
|
from _WriteXML import XmlWriter
|
|
|
|
|
2007-03-25 07:55:37 +05:30
|
|
|
import _Backup as Backup
|
|
|
|
|