Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(33)  |  Call(23)  |  Derive(0)  |  Import(10)

src/g/r/gramps-3.4.2/src/gen/proxy/private.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.lib import (MediaRef, Attribute, Address, EventRef, 
                     Person, Name, Source, RepoRef, MediaObject, Place, Event, 
                     Family, ChildRef, Repository, LdsOrd, Surname, Citation)
    @rtype: Source
    """
    new_source = Source()
 
    new_source.set_author(source.get_author())

src/g/r/gramps-3.4.2/src/gen/db/read.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.lib import (MediaObject, Person, Family, Source, Citation, Event,
                     Place, Repository, Note, Tag, GenderStats, Researcher, 
                     NameOriginType)

src/g/r/gramps-3.4.2/src/gen/db/write.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.lib import (GenderStats, Person, Family, Event, Place, Source, 
                     Citation, MediaObject, Repository, Note, Tag)
from gen.db import (DbBsddbRead, DbWriteBase, BSDDBTxn, 

src/g/r/gramps-3.4.2/src/plugins/lib/libgrdb.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.lib import (MediaObject, Person, Family, Source, Event, Place, 
                     Repository, Note, GenderStats, Researcher)
from gen.utils.callback import Callback

src/g/r/gramps-3.4.2/src/plugins/lib/libgedcom.py   Gramps(Download)
        self.use_def_src = default_source
        if self.use_def_src:
            self.def_src = gen.lib.Source()
            fname = os.path.basename(filename).split('\\')[-1]
            self.def_src.set_title(_("Import from GEDCOM (%s)") % fname)
            self.__parse_trailer()
            for title, handle in self.inline_srcs.iteritems():
                src = gen.lib.Source()
                src.set_handle(handle)
                src.set_title(title)
 
        """
        obj = gen.lib.Source()
        intid = self.sid2id.get(gramps_id)
        if self.dbase.has_source_handle(intid):
            title = line.data
            handle = self.inline_srcs.get(title, Utils.create_id())
            src = gen.lib.Source()
            src.handle = handle
            src.gramps_id = self.dbase.find_next_source_gramps_id()

src/g/r/gramps-3.4.2/src/plugins/lib/libmixin.py   Gramps(Download)
#
#------------------------------------------------------------------------------
from gen.lib import (Person, Family, Event, Place, Source, 
                     MediaObject, Repository, Note, Tag)
 

src/g/r/gramps-3.4.2/src/plugins/tool/Check.py   Gramps(Download)
            self.progress.step()
            info = self.db.source_map[handle]
            source = gen.lib.Source()
            source.unserialize(info)
            handle_list = source.get_referenced_handles_recursively()
            self.progress.step()
            info = self.db.source_map[handle]
            source = gen.lib.Source()
            source.unserialize(info)
            handle_list = source.get_referenced_handles_recursively()
    def class_source(self, handle):
        source = gen.lib.Source()
        source.set_handle(handle)
        return source
 

src/g/r/gramps-3.4.2/src/Merge/mergesource.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.lib import (Person, Family, Event, Place, Source, Repository,
                     MediaObject, Citation)
from gen.db import DbTxn

src/g/r/gramps-3.4.2/src/Merge/mergenote.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from gen.lib import (Person, Family, Event, Place, Source, Citation, Repository,
                     MediaObject)
from gen.db import DbTxn

src/g/r/gramps-3.4.2/src/plugins/import/ImportProGen.py   Gramps(Download)
        else:
            # Create a new Source
            source = gen.lib.Source()
            source.set_title(source_name)
            self.db.add_source(source, self.trans)

  1 | 2 | 3  Next