tgclients package
Subpackages
- tgclients.databinding package
- Subpackages
- Submodules
- tgclients.databinding.rdf module
- tgclients.databinding.textgrid_metadata_2010 module
AuthorityTypeBibliographicCitationTypeBibliographicCitationType.authorBibliographicCitationType.editorBibliographicCitationType.edition_titleBibliographicCitationType.place_of_publicationBibliographicCitationType.publisherBibliographicCitationType.date_of_publicationBibliographicCitationType.edition_noBibliographicCitationType.seriesBibliographicCitationType.volumeBibliographicCitationType.issueBibliographicCitationType.spageBibliographicCitationType.epageBibliographicCitationType.bib_identifierBibliographicCitationType.MetaBibliographicCitationType.authorBibliographicCitationType.bib_identifierBibliographicCitationType.date_of_publicationBibliographicCitationType.edition_noBibliographicCitationType.edition_titleBibliographicCitationType.editorBibliographicCitationType.epageBibliographicCitationType.issueBibliographicCitationType.place_of_publicationBibliographicCitationType.publisherBibliographicCitationType.seriesBibliographicCitationType.spageBibliographicCitationType.volume
CollectionTypeCollectionType.collectorCollectionType.abstractCollectionType.collection_descriptionCollectionType.spatialCollectionType.temporalCollectionType.subjectCollectionType.MetaCollectionType.abstractCollectionType.collection_descriptionCollectionType.collectorCollectionType.spatialCollectionType.subjectCollectionType.temporal
DateTypeEditionTypeEditionType.is_edition_ofEditionType.agentEditionType.sourceEditionType.form_of_notationEditionType.languageEditionType.licenseEditionType.LicenseEditionType.MetaEditionType.agentEditionType.form_of_notationEditionType.is_edition_ofEditionType.languageEditionType.licenseEditionType.source
GeneratedTypeGeneratedType.createdGeneratedType.last_modifiedGeneratedType.issuedGeneratedType.textgrid_uriGeneratedType.revisionGeneratedType.pidGeneratedType.extentGeneratedType.fixityGeneratedType.data_contributorGeneratedType.projectGeneratedType.warningGeneratedType.permissionsGeneratedType.availabilityGeneratedType.any_elementGeneratedType.FixityGeneratedType.MetaGeneratedType.PidGeneratedType.ProjectGeneratedType.TextgridUriGeneratedType.WarningGeneratedType.any_elementGeneratedType.availabilityGeneratedType.createdGeneratedType.data_contributorGeneratedType.extentGeneratedType.fixityGeneratedType.issuedGeneratedType.last_modifiedGeneratedType.permissionsGeneratedType.pidGeneratedType.projectGeneratedType.revisionGeneratedType.textgrid_uriGeneratedType.warning
GeneratedTypeAvailabilityGenericTypeIdentifierTypeItemTypeMetadataContainerTypeObjectObjectCitationTypePidPidTypeProvidedTypeRelationTypeSourceTypeTgObjectMetadataWorkTypeWorkType.agentWorkType.abstractWorkType.date_of_creationWorkType.spatialWorkType.temporalWorkType.subjectWorkType.genreWorkType.type_valueWorkType.MetaWorkType.abstractWorkType.agentWorkType.date_of_creationWorkType.genreWorkType.spatialWorkType.subjectWorkType.temporalWorkType.type_value
WorkTypeGenre
- tgclients.databinding.textgrid_metadata_agent_2010 module
AgentRoleTypeAgentRoleType.ACTORAgentRoleType.ADAPTERAgentRoleType.ANALYSTAgentRoleType.ANIMATORAgentRoleType.ANNOTATORAgentRoleType.APPLICANTAgentRoleType.ARCHITECTAgentRoleType.ARRANGERAgentRoleType.ART_COPYISTAgentRoleType.ARTISTAgentRoleType.ARTISTIC_DIRECTORAgentRoleType.ASSIGNEEAgentRoleType.ASSOCIATED_NAMEAgentRoleType.ATTRIBUTED_NAMEAgentRoleType.AUCTIONEERAgentRoleType.AUTHORAgentRoleType.AUTHOR_IN_QUOTATIONSAgentRoleType.AUTHOR_OF_AFTERWORDAgentRoleType.AUTHOR_OF_DIALOGAgentRoleType.AUTHOR_OF_INTRODUCTIONAgentRoleType.AUTHOR_OF_SCREENPLAYAgentRoleType.BIBLIOGRAPHIC_ANTECEDENTAgentRoleType.BINDERAgentRoleType.BINDING_DESIGNERAgentRoleType.BLURB_WRITERAgentRoleType.BOOK_DESIGNERAgentRoleType.BOOK_PRODUCERAgentRoleType.BOOK_JACKET_DESIGNERAgentRoleType.BOOKPLATE_DESIGNERAgentRoleType.BOOKSELLERAgentRoleType.CALLIGRAPHERAgentRoleType.CARTOGRAPHERAgentRoleType.CENSORAgentRoleType.CINEMATOGRAPHERAgentRoleType.CLIENTAgentRoleType.COLLABORATORAgentRoleType.COLLECTORAgentRoleType.COLLOTYPERAgentRoleType.COLORISTAgentRoleType.COMMENTATORAgentRoleType.COMMENTATOR_FOR_WRITTEN_TEXTAgentRoleType.COMPILERAgentRoleType.COMPLAINANTAgentRoleType.COMPLAINANT_APPELLANTAgentRoleType.COMPLAINANT_APPELLEEAgentRoleType.COMPOSERAgentRoleType.COMPOSITORAgentRoleType.CONCEPTORAgentRoleType.CONDUCTORAgentRoleType.CONSERVATORAgentRoleType.CONSULTANTAgentRoleType.CONSULTANT_TO_PROJECTAgentRoleType.CONTESTANTAgentRoleType.CONTESTANT_APPELLANTAgentRoleType.CONTESTANT_APPELLEEAgentRoleType.CONTESTEEAgentRoleType.CONTESTEE_APPELLANTAgentRoleType.CONTESTEE_APPELLEEAgentRoleType.CONTRACTORAgentRoleType.CONTRIBUTORAgentRoleType.COPYRIGHT_CLAIMANTAgentRoleType.COPYRIGHT_HOLDERAgentRoleType.CORRECTORAgentRoleType.CORRESPONDENTAgentRoleType.COSTUME_DESIGNERAgentRoleType.COVER_DESIGNERAgentRoleType.CREATORAgentRoleType.CURATOR_OF_AN_EXHIBITIONAgentRoleType.DANCERAgentRoleType.DATA_CONTRIBUTORAgentRoleType.DATA_MANAGERAgentRoleType.DEDICATEEAgentRoleType.DEDICATORAgentRoleType.DEFENDANTAgentRoleType.DEFENDANT_APPELLANTAgentRoleType.DEFENDANT_APPELLEEAgentRoleType.DEGREE_GRANTORAgentRoleType.DELINEATORAgentRoleType.DEPICTEDAgentRoleType.DEPOSITORAgentRoleType.DESIGNERAgentRoleType.DIRECTORAgentRoleType.DISSERTANTAgentRoleType.DISTRIBUTION_PLACEAgentRoleType.DISTRIBUTORAgentRoleType.DONORAgentRoleType.DRAFTSMANAgentRoleType.DUBIOUS_AUTHORAgentRoleType.EDITORAgentRoleType.ELECTRICIANAgentRoleType.ELECTROTYPERAgentRoleType.ENGINEERAgentRoleType.ENGRAVERAgentRoleType.ETCHERAgentRoleType.EVENT_PLACEAgentRoleType.EXPERTAgentRoleType.FACSIMILISTAgentRoleType.FIELD_DIRECTORAgentRoleType.FILM_EDITORAgentRoleType.FIRST_PARTYAgentRoleType.FORGERAgentRoleType.FORMER_OWNERAgentRoleType.FUNDERAgentRoleType.GEOGRAPHIC_INFORMATION_SPECIALISTAgentRoleType.HONOREEAgentRoleType.HOSTAgentRoleType.ILLUMINATORAgentRoleType.ILLUSTRATORAgentRoleType.INSCRIBERAgentRoleType.INSTRUMENTALISTAgentRoleType.INTERVIEWEEAgentRoleType.INTERVIEWERAgentRoleType.INVENTORAgentRoleType.LABORATORYAgentRoleType.LABORATORY_DIRECTORAgentRoleType.LEADAgentRoleType.LANDSCAPE_ARCHITECTAgentRoleType.LENDERAgentRoleType.LIBELANTAgentRoleType.LIBELANT_APPELLANTAgentRoleType.LIBELANT_APPELLEEAgentRoleType.LIBELEEAgentRoleType.LIBELEE_APPELLANTAgentRoleType.LIBELEE_APPELLEEAgentRoleType.LIBRETTISTAgentRoleType.LICENSEEAgentRoleType.LICENSORAgentRoleType.LIGHTING_DESIGNERAgentRoleType.LITHOGRAPHERAgentRoleType.LYRICISTAgentRoleType.MANUFACTURERAgentRoleType.MARBLERAgentRoleType.MARKUP_EDITORAgentRoleType.METADATA_CONTACTAgentRoleType.METALENGRAVERAgentRoleType.MODERATORAgentRoleType.MONITORAgentRoleType.MUSIC_COPYISTAgentRoleType.MUSICAL_DIRECTORAgentRoleType.MUSICIANAgentRoleType.NARRATORAgentRoleType.OPPONENTAgentRoleType.ORGANIZER_OF_MEETINGAgentRoleType.ORIGINATORAgentRoleType.OTHERAgentRoleType.OWNERAgentRoleType.PAPERMAKERAgentRoleType.PATENT_APPLICANTAgentRoleType.PATENT_HOLDERAgentRoleType.PATRONAgentRoleType.PERFORMERAgentRoleType.PERMITTING_AGENCYAgentRoleType.PHOTOGRAPHERAgentRoleType.PLAINTIFFAgentRoleType.PLAINTIFF_APPELLANTAgentRoleType.PLAINTIFF_APPELLEEAgentRoleType.PLATEMAKERAgentRoleType.PRINTERAgentRoleType.PRINTER_OF_PLATESAgentRoleType.PRINTMAKERAgentRoleType.PROCESS_CONTACTAgentRoleType.PRODUCERAgentRoleType.PRODUCTION_MANAGERAgentRoleType.PRODUCTION_PERSONNELAgentRoleType.PROGRAMMERAgentRoleType.PROJECT_DIRECTORAgentRoleType.PROOFREADERAgentRoleType.PUBLICATION_PLACEAgentRoleType.PUBLISHERAgentRoleType.PUBLISHING_DIRECTORAgentRoleType.PUPPETEERAgentRoleType.RECIPIENTAgentRoleType.RECORDING_ENGINEERAgentRoleType.REDACTORAgentRoleType.RENDERERAgentRoleType.REPORTERAgentRoleType.REPOSITORYAgentRoleType.RESEARCH_TEAM_HEADAgentRoleType.RESEARCH_TEAM_MEMBERAgentRoleType.RESEARCHERAgentRoleType.RESPONDENTAgentRoleType.RESPONDENT_APPELLANTAgentRoleType.RESPONDENT_APPELLEEAgentRoleType.RESPONSIBLE_PARTYAgentRoleType.RESTAGERAgentRoleType.REVIEWERAgentRoleType.RUBRICATORAgentRoleType.SCENARISTAgentRoleType.SCIENTIFIC_ADVISORAgentRoleType.SCRIBEAgentRoleType.SCULPTORAgentRoleType.SECOND_PARTYAgentRoleType.SECRETARYAgentRoleType.SETDESIGNERAgentRoleType.SIGNERAgentRoleType.SINGERAgentRoleType.SOUND_DESIGNERAgentRoleType.SPEAKERAgentRoleType.SPONSORAgentRoleType.STAGE_MANAGERAgentRoleType.STANDARDS_BODYAgentRoleType.STEREOTYPERAgentRoleType.STORYTELLERAgentRoleType.SUPPORTING_HOSTAgentRoleType.SURVEYORAgentRoleType.TEACHERAgentRoleType.TECHNICAL_DIRECTORAgentRoleType.THESIS_ADVISORAgentRoleType.TRANSCRIBERAgentRoleType.TRANSLATORAgentRoleType.TYPE_DESIGNERAgentRoleType.TYPOGRAPHERAgentRoleType.UNIVERSITY_PLACEAgentRoleType.VIDEOGRAPHERAgentRoleType.VOCALISTAgentRoleType.WITNESSAgentRoleType.WOOD_ENGRAVERAgentRoleType.WOODCUTTERAgentRoleType.WRITER_OF_ACCOMPANYING_MATERIALAgentRoleType.ACTORAgentRoleType.ADAPTERAgentRoleType.ANALYSTAgentRoleType.ANIMATORAgentRoleType.ANNOTATORAgentRoleType.APPLICANTAgentRoleType.ARCHITECTAgentRoleType.ARRANGERAgentRoleType.ARTISTAgentRoleType.ARTISTIC_DIRECTORAgentRoleType.ART_COPYISTAgentRoleType.ASSIGNEEAgentRoleType.ASSOCIATED_NAMEAgentRoleType.ATTRIBUTED_NAMEAgentRoleType.AUCTIONEERAgentRoleType.AUTHORAgentRoleType.AUTHOR_IN_QUOTATIONSAgentRoleType.AUTHOR_OF_AFTERWORDAgentRoleType.AUTHOR_OF_DIALOGAgentRoleType.AUTHOR_OF_INTRODUCTIONAgentRoleType.AUTHOR_OF_SCREENPLAYAgentRoleType.BIBLIOGRAPHIC_ANTECEDENTAgentRoleType.BINDERAgentRoleType.BINDING_DESIGNERAgentRoleType.BLURB_WRITERAgentRoleType.BOOKPLATE_DESIGNERAgentRoleType.BOOKSELLERAgentRoleType.BOOK_DESIGNERAgentRoleType.BOOK_JACKET_DESIGNERAgentRoleType.BOOK_PRODUCERAgentRoleType.CALLIGRAPHERAgentRoleType.CARTOGRAPHERAgentRoleType.CENSORAgentRoleType.CINEMATOGRAPHERAgentRoleType.CLIENTAgentRoleType.COLLABORATORAgentRoleType.COLLECTORAgentRoleType.COLLOTYPERAgentRoleType.COLORISTAgentRoleType.COMMENTATORAgentRoleType.COMMENTATOR_FOR_WRITTEN_TEXTAgentRoleType.COMPILERAgentRoleType.COMPLAINANTAgentRoleType.COMPLAINANT_APPELLANTAgentRoleType.COMPLAINANT_APPELLEEAgentRoleType.COMPOSERAgentRoleType.COMPOSITORAgentRoleType.CONCEPTORAgentRoleType.CONDUCTORAgentRoleType.CONSERVATORAgentRoleType.CONSULTANTAgentRoleType.CONSULTANT_TO_PROJECTAgentRoleType.CONTESTANTAgentRoleType.CONTESTANT_APPELLANTAgentRoleType.CONTESTANT_APPELLEEAgentRoleType.CONTESTEEAgentRoleType.CONTESTEE_APPELLANTAgentRoleType.CONTESTEE_APPELLEEAgentRoleType.CONTRACTORAgentRoleType.CONTRIBUTORAgentRoleType.COPYRIGHT_CLAIMANTAgentRoleType.COPYRIGHT_HOLDERAgentRoleType.CORRECTORAgentRoleType.CORRESPONDENTAgentRoleType.COSTUME_DESIGNERAgentRoleType.COVER_DESIGNERAgentRoleType.CREATORAgentRoleType.CURATOR_OF_AN_EXHIBITIONAgentRoleType.DANCERAgentRoleType.DATA_CONTRIBUTORAgentRoleType.DATA_MANAGERAgentRoleType.DEDICATEEAgentRoleType.DEDICATORAgentRoleType.DEFENDANTAgentRoleType.DEFENDANT_APPELLANTAgentRoleType.DEFENDANT_APPELLEEAgentRoleType.DEGREE_GRANTORAgentRoleType.DELINEATORAgentRoleType.DEPICTEDAgentRoleType.DEPOSITORAgentRoleType.DESIGNERAgentRoleType.DIRECTORAgentRoleType.DISSERTANTAgentRoleType.DISTRIBUTION_PLACEAgentRoleType.DISTRIBUTORAgentRoleType.DONORAgentRoleType.DRAFTSMANAgentRoleType.DUBIOUS_AUTHORAgentRoleType.EDITORAgentRoleType.ELECTRICIANAgentRoleType.ELECTROTYPERAgentRoleType.ENGINEERAgentRoleType.ENGRAVERAgentRoleType.ETCHERAgentRoleType.EVENT_PLACEAgentRoleType.EXPERTAgentRoleType.FACSIMILISTAgentRoleType.FIELD_DIRECTORAgentRoleType.FILM_EDITORAgentRoleType.FIRST_PARTYAgentRoleType.FORGERAgentRoleType.FORMER_OWNERAgentRoleType.FUNDERAgentRoleType.GEOGRAPHIC_INFORMATION_SPECIALISTAgentRoleType.HONOREEAgentRoleType.HOSTAgentRoleType.ILLUMINATORAgentRoleType.ILLUSTRATORAgentRoleType.INSCRIBERAgentRoleType.INSTRUMENTALISTAgentRoleType.INTERVIEWEEAgentRoleType.INTERVIEWERAgentRoleType.INVENTORAgentRoleType.LABORATORYAgentRoleType.LABORATORY_DIRECTORAgentRoleType.LANDSCAPE_ARCHITECTAgentRoleType.LEADAgentRoleType.LENDERAgentRoleType.LIBELANTAgentRoleType.LIBELANT_APPELLANTAgentRoleType.LIBELANT_APPELLEEAgentRoleType.LIBELEEAgentRoleType.LIBELEE_APPELLANTAgentRoleType.LIBELEE_APPELLEEAgentRoleType.LIBRETTISTAgentRoleType.LICENSEEAgentRoleType.LICENSORAgentRoleType.LIGHTING_DESIGNERAgentRoleType.LITHOGRAPHERAgentRoleType.LYRICISTAgentRoleType.MANUFACTURERAgentRoleType.MARBLERAgentRoleType.MARKUP_EDITORAgentRoleType.METADATA_CONTACTAgentRoleType.METALENGRAVERAgentRoleType.MODERATORAgentRoleType.MONITORAgentRoleType.MUSICAL_DIRECTORAgentRoleType.MUSICIANAgentRoleType.MUSIC_COPYISTAgentRoleType.NARRATORAgentRoleType.OPPONENTAgentRoleType.ORGANIZER_OF_MEETINGAgentRoleType.ORIGINATORAgentRoleType.OTHERAgentRoleType.OWNERAgentRoleType.PAPERMAKERAgentRoleType.PATENT_APPLICANTAgentRoleType.PATENT_HOLDERAgentRoleType.PATRONAgentRoleType.PERFORMERAgentRoleType.PERMITTING_AGENCYAgentRoleType.PHOTOGRAPHERAgentRoleType.PLAINTIFFAgentRoleType.PLAINTIFF_APPELLANTAgentRoleType.PLAINTIFF_APPELLEEAgentRoleType.PLATEMAKERAgentRoleType.PRINTERAgentRoleType.PRINTER_OF_PLATESAgentRoleType.PRINTMAKERAgentRoleType.PROCESS_CONTACTAgentRoleType.PRODUCERAgentRoleType.PRODUCTION_MANAGERAgentRoleType.PRODUCTION_PERSONNELAgentRoleType.PROGRAMMERAgentRoleType.PROJECT_DIRECTORAgentRoleType.PROOFREADERAgentRoleType.PUBLICATION_PLACEAgentRoleType.PUBLISHERAgentRoleType.PUBLISHING_DIRECTORAgentRoleType.PUPPETEERAgentRoleType.RECIPIENTAgentRoleType.RECORDING_ENGINEERAgentRoleType.REDACTORAgentRoleType.RENDERERAgentRoleType.REPORTERAgentRoleType.REPOSITORYAgentRoleType.RESEARCHERAgentRoleType.RESEARCH_TEAM_HEADAgentRoleType.RESEARCH_TEAM_MEMBERAgentRoleType.RESPONDENTAgentRoleType.RESPONDENT_APPELLANTAgentRoleType.RESPONDENT_APPELLEEAgentRoleType.RESPONSIBLE_PARTYAgentRoleType.RESTAGERAgentRoleType.REVIEWERAgentRoleType.RUBRICATORAgentRoleType.SCENARISTAgentRoleType.SCIENTIFIC_ADVISORAgentRoleType.SCRIBEAgentRoleType.SCULPTORAgentRoleType.SECOND_PARTYAgentRoleType.SECRETARYAgentRoleType.SETDESIGNERAgentRoleType.SIGNERAgentRoleType.SINGERAgentRoleType.SOUND_DESIGNERAgentRoleType.SPEAKERAgentRoleType.SPONSORAgentRoleType.STAGE_MANAGERAgentRoleType.STANDARDS_BODYAgentRoleType.STEREOTYPERAgentRoleType.STORYTELLERAgentRoleType.SUPPORTING_HOSTAgentRoleType.SURVEYORAgentRoleType.TEACHERAgentRoleType.TECHNICAL_DIRECTORAgentRoleType.THESIS_ADVISORAgentRoleType.TRANSCRIBERAgentRoleType.TRANSLATORAgentRoleType.TYPE_DESIGNERAgentRoleType.TYPOGRAPHERAgentRoleType.UNIVERSITY_PLACEAgentRoleType.VIDEOGRAPHERAgentRoleType.VOCALISTAgentRoleType.WITNESSAgentRoleType.WOODCUTTERAgentRoleType.WOOD_ENGRAVERAgentRoleType.WRITER_OF_ACCOMPANYING_MATERIAL
AgentTypePersonType
- tgclients.databinding.textgrid_metadata_script_2010 module
FormOfNotationTypeFormOfNotationType.ARABFormOfNotationType.ARMIFormOfNotationType.ARMNFormOfNotationType.AVSTFormOfNotationType.BALIFormOfNotationType.BAMUFormOfNotationType.BASSFormOfNotationType.BATKFormOfNotationType.BENGFormOfNotationType.BLISFormOfNotationType.BOPOFormOfNotationType.BRAHFormOfNotationType.BRAIFormOfNotationType.BUGIFormOfNotationType.BUHDFormOfNotationType.CAKMFormOfNotationType.CANSFormOfNotationType.CARIFormOfNotationType.CHAMFormOfNotationType.CHERFormOfNotationType.CIRTFormOfNotationType.COPTFormOfNotationType.CPRTFormOfNotationType.CYRLFormOfNotationType.CYRSFormOfNotationType.DEVAFormOfNotationType.DSRTFormOfNotationType.EGYDFormOfNotationType.EGYHFormOfNotationType.EGYPFormOfNotationType.ETHIFormOfNotationType.GEORFormOfNotationType.GEOKFormOfNotationType.GLAGFormOfNotationType.GOTHFormOfNotationType.GRANFormOfNotationType.GREKFormOfNotationType.GUJRFormOfNotationType.GURUFormOfNotationType.HANGFormOfNotationType.HANIFormOfNotationType.HANOFormOfNotationType.HANSFormOfNotationType.HANTFormOfNotationType.HEBRFormOfNotationType.HIRAFormOfNotationType.HMNGFormOfNotationType.HRKTFormOfNotationType.HUNGFormOfNotationType.INDSFormOfNotationType.ITALFormOfNotationType.JAVAFormOfNotationType.JPANFormOfNotationType.KALIFormOfNotationType.KANAFormOfNotationType.KHARFormOfNotationType.KHMRFormOfNotationType.KNDAFormOfNotationType.KOREFormOfNotationType.KPELFormOfNotationType.KTHIFormOfNotationType.LANAFormOfNotationType.LAOOFormOfNotationType.LATFFormOfNotationType.LATGFormOfNotationType.LATNFormOfNotationType.LEPCFormOfNotationType.LIMBFormOfNotationType.LINAFormOfNotationType.LINBFormOfNotationType.LISUFormOfNotationType.LOMAFormOfNotationType.LYCIFormOfNotationType.LYDIFormOfNotationType.MANDFormOfNotationType.MANIFormOfNotationType.MAYAFormOfNotationType.MENDFormOfNotationType.MERCFormOfNotationType.MEROFormOfNotationType.MLYMFormOfNotationType.MOONFormOfNotationType.MONGFormOfNotationType.MTEIFormOfNotationType.MYMRFormOfNotationType.NARBFormOfNotationType.NBATFormOfNotationType.NKGBFormOfNotationType.NKOOFormOfNotationType.OGAMFormOfNotationType.OLCKFormOfNotationType.ORKHFormOfNotationType.ORYAFormOfNotationType.OSMAFormOfNotationType.PALMFormOfNotationType.PERMFormOfNotationType.PHAGFormOfNotationType.PHLIFormOfNotationType.PHLPFormOfNotationType.PHLVFormOfNotationType.PHNXFormOfNotationType.PLRDFormOfNotationType.PRTIFormOfNotationType.QAAAFormOfNotationType.QABXFormOfNotationType.RJNGFormOfNotationType.ROROFormOfNotationType.RUNRFormOfNotationType.SAMRFormOfNotationType.SARAFormOfNotationType.SARBFormOfNotationType.SAURFormOfNotationType.SGNWFormOfNotationType.SHAWFormOfNotationType.SINHFormOfNotationType.SUNDFormOfNotationType.SYLOFormOfNotationType.SYRCFormOfNotationType.SYREFormOfNotationType.SYRJFormOfNotationType.SYRNFormOfNotationType.TAGBFormOfNotationType.TALEFormOfNotationType.TALUFormOfNotationType.TAMLFormOfNotationType.TAVTFormOfNotationType.TELUFormOfNotationType.TENGFormOfNotationType.TFNGFormOfNotationType.TGLGFormOfNotationType.THAAFormOfNotationType.THAIFormOfNotationType.TIBTFormOfNotationType.UGARFormOfNotationType.VAIIFormOfNotationType.VISPFormOfNotationType.WARAFormOfNotationType.XPEOFormOfNotationType.XSUXFormOfNotationType.YIIIFormOfNotationType.ZINHFormOfNotationType.ZMTHFormOfNotationType.ZSYMFormOfNotationType.ZXXXFormOfNotationType.ZYYYFormOfNotationType.ZZZZFormOfNotationType.ARABFormOfNotationType.ARMIFormOfNotationType.ARMNFormOfNotationType.AVSTFormOfNotationType.BALIFormOfNotationType.BAMUFormOfNotationType.BASSFormOfNotationType.BATKFormOfNotationType.BENGFormOfNotationType.BLISFormOfNotationType.BOPOFormOfNotationType.BRAHFormOfNotationType.BRAIFormOfNotationType.BUGIFormOfNotationType.BUHDFormOfNotationType.CAKMFormOfNotationType.CANSFormOfNotationType.CARIFormOfNotationType.CHAMFormOfNotationType.CHERFormOfNotationType.CIRTFormOfNotationType.COPTFormOfNotationType.CPRTFormOfNotationType.CYRLFormOfNotationType.CYRSFormOfNotationType.DEVAFormOfNotationType.DSRTFormOfNotationType.EGYDFormOfNotationType.EGYHFormOfNotationType.EGYPFormOfNotationType.ETHIFormOfNotationType.GEOKFormOfNotationType.GEORFormOfNotationType.GLAGFormOfNotationType.GOTHFormOfNotationType.GRANFormOfNotationType.GREKFormOfNotationType.GUJRFormOfNotationType.GURUFormOfNotationType.HANGFormOfNotationType.HANIFormOfNotationType.HANOFormOfNotationType.HANSFormOfNotationType.HANTFormOfNotationType.HEBRFormOfNotationType.HIRAFormOfNotationType.HMNGFormOfNotationType.HRKTFormOfNotationType.HUNGFormOfNotationType.INDSFormOfNotationType.ITALFormOfNotationType.JAVAFormOfNotationType.JPANFormOfNotationType.KALIFormOfNotationType.KANAFormOfNotationType.KHARFormOfNotationType.KHMRFormOfNotationType.KNDAFormOfNotationType.KOREFormOfNotationType.KPELFormOfNotationType.KTHIFormOfNotationType.LANAFormOfNotationType.LAOOFormOfNotationType.LATFFormOfNotationType.LATGFormOfNotationType.LATNFormOfNotationType.LEPCFormOfNotationType.LIMBFormOfNotationType.LINAFormOfNotationType.LINBFormOfNotationType.LISUFormOfNotationType.LOMAFormOfNotationType.LYCIFormOfNotationType.LYDIFormOfNotationType.MANDFormOfNotationType.MANIFormOfNotationType.MAYAFormOfNotationType.MENDFormOfNotationType.MERCFormOfNotationType.MEROFormOfNotationType.MLYMFormOfNotationType.MONGFormOfNotationType.MOONFormOfNotationType.MTEIFormOfNotationType.MYMRFormOfNotationType.NARBFormOfNotationType.NBATFormOfNotationType.NKGBFormOfNotationType.NKOOFormOfNotationType.OGAMFormOfNotationType.OLCKFormOfNotationType.ORKHFormOfNotationType.ORYAFormOfNotationType.OSMAFormOfNotationType.PALMFormOfNotationType.PERMFormOfNotationType.PHAGFormOfNotationType.PHLIFormOfNotationType.PHLPFormOfNotationType.PHLVFormOfNotationType.PHNXFormOfNotationType.PLRDFormOfNotationType.PRTIFormOfNotationType.QAAAFormOfNotationType.QABXFormOfNotationType.RJNGFormOfNotationType.ROROFormOfNotationType.RUNRFormOfNotationType.SAMRFormOfNotationType.SARAFormOfNotationType.SARBFormOfNotationType.SAURFormOfNotationType.SGNWFormOfNotationType.SHAWFormOfNotationType.SINHFormOfNotationType.SUNDFormOfNotationType.SYLOFormOfNotationType.SYRCFormOfNotationType.SYREFormOfNotationType.SYRJFormOfNotationType.SYRNFormOfNotationType.TAGBFormOfNotationType.TALEFormOfNotationType.TALUFormOfNotationType.TAMLFormOfNotationType.TAVTFormOfNotationType.TELUFormOfNotationType.TENGFormOfNotationType.TFNGFormOfNotationType.TGLGFormOfNotationType.THAAFormOfNotationType.THAIFormOfNotationType.TIBTFormOfNotationType.UGARFormOfNotationType.VAIIFormOfNotationType.VISPFormOfNotationType.WARAFormOfNotationType.XPEOFormOfNotationType.XSUXFormOfNotationType.YIIIFormOfNotationType.ZINHFormOfNotationType.ZMTHFormOfNotationType.ZSYMFormOfNotationType.ZXXXFormOfNotationType.ZYYYFormOfNotationType.ZZZZ
- tgclients.databinding.tgsearch module
- Module contents
AgentRoleTypeAgentRoleType.ACTORAgentRoleType.ADAPTERAgentRoleType.ANALYSTAgentRoleType.ANIMATORAgentRoleType.ANNOTATORAgentRoleType.APPLICANTAgentRoleType.ARCHITECTAgentRoleType.ARRANGERAgentRoleType.ART_COPYISTAgentRoleType.ARTISTAgentRoleType.ARTISTIC_DIRECTORAgentRoleType.ASSIGNEEAgentRoleType.ASSOCIATED_NAMEAgentRoleType.ATTRIBUTED_NAMEAgentRoleType.AUCTIONEERAgentRoleType.AUTHORAgentRoleType.AUTHOR_IN_QUOTATIONSAgentRoleType.AUTHOR_OF_AFTERWORDAgentRoleType.AUTHOR_OF_DIALOGAgentRoleType.AUTHOR_OF_INTRODUCTIONAgentRoleType.AUTHOR_OF_SCREENPLAYAgentRoleType.BIBLIOGRAPHIC_ANTECEDENTAgentRoleType.BINDERAgentRoleType.BINDING_DESIGNERAgentRoleType.BLURB_WRITERAgentRoleType.BOOK_DESIGNERAgentRoleType.BOOK_PRODUCERAgentRoleType.BOOK_JACKET_DESIGNERAgentRoleType.BOOKPLATE_DESIGNERAgentRoleType.BOOKSELLERAgentRoleType.CALLIGRAPHERAgentRoleType.CARTOGRAPHERAgentRoleType.CENSORAgentRoleType.CINEMATOGRAPHERAgentRoleType.CLIENTAgentRoleType.COLLABORATORAgentRoleType.COLLECTORAgentRoleType.COLLOTYPERAgentRoleType.COLORISTAgentRoleType.COMMENTATORAgentRoleType.COMMENTATOR_FOR_WRITTEN_TEXTAgentRoleType.COMPILERAgentRoleType.COMPLAINANTAgentRoleType.COMPLAINANT_APPELLANTAgentRoleType.COMPLAINANT_APPELLEEAgentRoleType.COMPOSERAgentRoleType.COMPOSITORAgentRoleType.CONCEPTORAgentRoleType.CONDUCTORAgentRoleType.CONSERVATORAgentRoleType.CONSULTANTAgentRoleType.CONSULTANT_TO_PROJECTAgentRoleType.CONTESTANTAgentRoleType.CONTESTANT_APPELLANTAgentRoleType.CONTESTANT_APPELLEEAgentRoleType.CONTESTEEAgentRoleType.CONTESTEE_APPELLANTAgentRoleType.CONTESTEE_APPELLEEAgentRoleType.CONTRACTORAgentRoleType.CONTRIBUTORAgentRoleType.COPYRIGHT_CLAIMANTAgentRoleType.COPYRIGHT_HOLDERAgentRoleType.CORRECTORAgentRoleType.CORRESPONDENTAgentRoleType.COSTUME_DESIGNERAgentRoleType.COVER_DESIGNERAgentRoleType.CREATORAgentRoleType.CURATOR_OF_AN_EXHIBITIONAgentRoleType.DANCERAgentRoleType.DATA_CONTRIBUTORAgentRoleType.DATA_MANAGERAgentRoleType.DEDICATEEAgentRoleType.DEDICATORAgentRoleType.DEFENDANTAgentRoleType.DEFENDANT_APPELLANTAgentRoleType.DEFENDANT_APPELLEEAgentRoleType.DEGREE_GRANTORAgentRoleType.DELINEATORAgentRoleType.DEPICTEDAgentRoleType.DEPOSITORAgentRoleType.DESIGNERAgentRoleType.DIRECTORAgentRoleType.DISSERTANTAgentRoleType.DISTRIBUTION_PLACEAgentRoleType.DISTRIBUTORAgentRoleType.DONORAgentRoleType.DRAFTSMANAgentRoleType.DUBIOUS_AUTHORAgentRoleType.EDITORAgentRoleType.ELECTRICIANAgentRoleType.ELECTROTYPERAgentRoleType.ENGINEERAgentRoleType.ENGRAVERAgentRoleType.ETCHERAgentRoleType.EVENT_PLACEAgentRoleType.EXPERTAgentRoleType.FACSIMILISTAgentRoleType.FIELD_DIRECTORAgentRoleType.FILM_EDITORAgentRoleType.FIRST_PARTYAgentRoleType.FORGERAgentRoleType.FORMER_OWNERAgentRoleType.FUNDERAgentRoleType.GEOGRAPHIC_INFORMATION_SPECIALISTAgentRoleType.HONOREEAgentRoleType.HOSTAgentRoleType.ILLUMINATORAgentRoleType.ILLUSTRATORAgentRoleType.INSCRIBERAgentRoleType.INSTRUMENTALISTAgentRoleType.INTERVIEWEEAgentRoleType.INTERVIEWERAgentRoleType.INVENTORAgentRoleType.LABORATORYAgentRoleType.LABORATORY_DIRECTORAgentRoleType.LEADAgentRoleType.LANDSCAPE_ARCHITECTAgentRoleType.LENDERAgentRoleType.LIBELANTAgentRoleType.LIBELANT_APPELLANTAgentRoleType.LIBELANT_APPELLEEAgentRoleType.LIBELEEAgentRoleType.LIBELEE_APPELLANTAgentRoleType.LIBELEE_APPELLEEAgentRoleType.LIBRETTISTAgentRoleType.LICENSEEAgentRoleType.LICENSORAgentRoleType.LIGHTING_DESIGNERAgentRoleType.LITHOGRAPHERAgentRoleType.LYRICISTAgentRoleType.MANUFACTURERAgentRoleType.MARBLERAgentRoleType.MARKUP_EDITORAgentRoleType.METADATA_CONTACTAgentRoleType.METALENGRAVERAgentRoleType.MODERATORAgentRoleType.MONITORAgentRoleType.MUSIC_COPYISTAgentRoleType.MUSICAL_DIRECTORAgentRoleType.MUSICIANAgentRoleType.NARRATORAgentRoleType.OPPONENTAgentRoleType.ORGANIZER_OF_MEETINGAgentRoleType.ORIGINATORAgentRoleType.OTHERAgentRoleType.OWNERAgentRoleType.PAPERMAKERAgentRoleType.PATENT_APPLICANTAgentRoleType.PATENT_HOLDERAgentRoleType.PATRONAgentRoleType.PERFORMERAgentRoleType.PERMITTING_AGENCYAgentRoleType.PHOTOGRAPHERAgentRoleType.PLAINTIFFAgentRoleType.PLAINTIFF_APPELLANTAgentRoleType.PLAINTIFF_APPELLEEAgentRoleType.PLATEMAKERAgentRoleType.PRINTERAgentRoleType.PRINTER_OF_PLATESAgentRoleType.PRINTMAKERAgentRoleType.PROCESS_CONTACTAgentRoleType.PRODUCERAgentRoleType.PRODUCTION_MANAGERAgentRoleType.PRODUCTION_PERSONNELAgentRoleType.PROGRAMMERAgentRoleType.PROJECT_DIRECTORAgentRoleType.PROOFREADERAgentRoleType.PUBLICATION_PLACEAgentRoleType.PUBLISHERAgentRoleType.PUBLISHING_DIRECTORAgentRoleType.PUPPETEERAgentRoleType.RECIPIENTAgentRoleType.RECORDING_ENGINEERAgentRoleType.REDACTORAgentRoleType.RENDERERAgentRoleType.REPORTERAgentRoleType.REPOSITORYAgentRoleType.RESEARCH_TEAM_HEADAgentRoleType.RESEARCH_TEAM_MEMBERAgentRoleType.RESEARCHERAgentRoleType.RESPONDENTAgentRoleType.RESPONDENT_APPELLANTAgentRoleType.RESPONDENT_APPELLEEAgentRoleType.RESPONSIBLE_PARTYAgentRoleType.RESTAGERAgentRoleType.REVIEWERAgentRoleType.RUBRICATORAgentRoleType.SCENARISTAgentRoleType.SCIENTIFIC_ADVISORAgentRoleType.SCRIBEAgentRoleType.SCULPTORAgentRoleType.SECOND_PARTYAgentRoleType.SECRETARYAgentRoleType.SETDESIGNERAgentRoleType.SIGNERAgentRoleType.SINGERAgentRoleType.SOUND_DESIGNERAgentRoleType.SPEAKERAgentRoleType.SPONSORAgentRoleType.STAGE_MANAGERAgentRoleType.STANDARDS_BODYAgentRoleType.STEREOTYPERAgentRoleType.STORYTELLERAgentRoleType.SUPPORTING_HOSTAgentRoleType.SURVEYORAgentRoleType.TEACHERAgentRoleType.TECHNICAL_DIRECTORAgentRoleType.THESIS_ADVISORAgentRoleType.TRANSCRIBERAgentRoleType.TRANSLATORAgentRoleType.TYPE_DESIGNERAgentRoleType.TYPOGRAPHERAgentRoleType.UNIVERSITY_PLACEAgentRoleType.VIDEOGRAPHERAgentRoleType.VOCALISTAgentRoleType.WITNESSAgentRoleType.WOOD_ENGRAVERAgentRoleType.WOODCUTTERAgentRoleType.WRITER_OF_ACCOMPANYING_MATERIALAgentRoleType.ACTORAgentRoleType.ADAPTERAgentRoleType.ANALYSTAgentRoleType.ANIMATORAgentRoleType.ANNOTATORAgentRoleType.APPLICANTAgentRoleType.ARCHITECTAgentRoleType.ARRANGERAgentRoleType.ARTISTAgentRoleType.ARTISTIC_DIRECTORAgentRoleType.ART_COPYISTAgentRoleType.ASSIGNEEAgentRoleType.ASSOCIATED_NAMEAgentRoleType.ATTRIBUTED_NAMEAgentRoleType.AUCTIONEERAgentRoleType.AUTHORAgentRoleType.AUTHOR_IN_QUOTATIONSAgentRoleType.AUTHOR_OF_AFTERWORDAgentRoleType.AUTHOR_OF_DIALOGAgentRoleType.AUTHOR_OF_INTRODUCTIONAgentRoleType.AUTHOR_OF_SCREENPLAYAgentRoleType.BIBLIOGRAPHIC_ANTECEDENTAgentRoleType.BINDERAgentRoleType.BINDING_DESIGNERAgentRoleType.BLURB_WRITERAgentRoleType.BOOKPLATE_DESIGNERAgentRoleType.BOOKSELLERAgentRoleType.BOOK_DESIGNERAgentRoleType.BOOK_JACKET_DESIGNERAgentRoleType.BOOK_PRODUCERAgentRoleType.CALLIGRAPHERAgentRoleType.CARTOGRAPHERAgentRoleType.CENSORAgentRoleType.CINEMATOGRAPHERAgentRoleType.CLIENTAgentRoleType.COLLABORATORAgentRoleType.COLLECTORAgentRoleType.COLLOTYPERAgentRoleType.COLORISTAgentRoleType.COMMENTATORAgentRoleType.COMMENTATOR_FOR_WRITTEN_TEXTAgentRoleType.COMPILERAgentRoleType.COMPLAINANTAgentRoleType.COMPLAINANT_APPELLANTAgentRoleType.COMPLAINANT_APPELLEEAgentRoleType.COMPOSERAgentRoleType.COMPOSITORAgentRoleType.CONCEPTORAgentRoleType.CONDUCTORAgentRoleType.CONSERVATORAgentRoleType.CONSULTANTAgentRoleType.CONSULTANT_TO_PROJECTAgentRoleType.CONTESTANTAgentRoleType.CONTESTANT_APPELLANTAgentRoleType.CONTESTANT_APPELLEEAgentRoleType.CONTESTEEAgentRoleType.CONTESTEE_APPELLANTAgentRoleType.CONTESTEE_APPELLEEAgentRoleType.CONTRACTORAgentRoleType.CONTRIBUTORAgentRoleType.COPYRIGHT_CLAIMANTAgentRoleType.COPYRIGHT_HOLDERAgentRoleType.CORRECTORAgentRoleType.CORRESPONDENTAgentRoleType.COSTUME_DESIGNERAgentRoleType.COVER_DESIGNERAgentRoleType.CREATORAgentRoleType.CURATOR_OF_AN_EXHIBITIONAgentRoleType.DANCERAgentRoleType.DATA_CONTRIBUTORAgentRoleType.DATA_MANAGERAgentRoleType.DEDICATEEAgentRoleType.DEDICATORAgentRoleType.DEFENDANTAgentRoleType.DEFENDANT_APPELLANTAgentRoleType.DEFENDANT_APPELLEEAgentRoleType.DEGREE_GRANTORAgentRoleType.DELINEATORAgentRoleType.DEPICTEDAgentRoleType.DEPOSITORAgentRoleType.DESIGNERAgentRoleType.DIRECTORAgentRoleType.DISSERTANTAgentRoleType.DISTRIBUTION_PLACEAgentRoleType.DISTRIBUTORAgentRoleType.DONORAgentRoleType.DRAFTSMANAgentRoleType.DUBIOUS_AUTHORAgentRoleType.EDITORAgentRoleType.ELECTRICIANAgentRoleType.ELECTROTYPERAgentRoleType.ENGINEERAgentRoleType.ENGRAVERAgentRoleType.ETCHERAgentRoleType.EVENT_PLACEAgentRoleType.EXPERTAgentRoleType.FACSIMILISTAgentRoleType.FIELD_DIRECTORAgentRoleType.FILM_EDITORAgentRoleType.FIRST_PARTYAgentRoleType.FORGERAgentRoleType.FORMER_OWNERAgentRoleType.FUNDERAgentRoleType.GEOGRAPHIC_INFORMATION_SPECIALISTAgentRoleType.HONOREEAgentRoleType.HOSTAgentRoleType.ILLUMINATORAgentRoleType.ILLUSTRATORAgentRoleType.INSCRIBERAgentRoleType.INSTRUMENTALISTAgentRoleType.INTERVIEWEEAgentRoleType.INTERVIEWERAgentRoleType.INVENTORAgentRoleType.LABORATORYAgentRoleType.LABORATORY_DIRECTORAgentRoleType.LANDSCAPE_ARCHITECTAgentRoleType.LEADAgentRoleType.LENDERAgentRoleType.LIBELANTAgentRoleType.LIBELANT_APPELLANTAgentRoleType.LIBELANT_APPELLEEAgentRoleType.LIBELEEAgentRoleType.LIBELEE_APPELLANTAgentRoleType.LIBELEE_APPELLEEAgentRoleType.LIBRETTISTAgentRoleType.LICENSEEAgentRoleType.LICENSORAgentRoleType.LIGHTING_DESIGNERAgentRoleType.LITHOGRAPHERAgentRoleType.LYRICISTAgentRoleType.MANUFACTURERAgentRoleType.MARBLERAgentRoleType.MARKUP_EDITORAgentRoleType.METADATA_CONTACTAgentRoleType.METALENGRAVERAgentRoleType.MODERATORAgentRoleType.MONITORAgentRoleType.MUSICAL_DIRECTORAgentRoleType.MUSICIANAgentRoleType.MUSIC_COPYISTAgentRoleType.NARRATORAgentRoleType.OPPONENTAgentRoleType.ORGANIZER_OF_MEETINGAgentRoleType.ORIGINATORAgentRoleType.OTHERAgentRoleType.OWNERAgentRoleType.PAPERMAKERAgentRoleType.PATENT_APPLICANTAgentRoleType.PATENT_HOLDERAgentRoleType.PATRONAgentRoleType.PERFORMERAgentRoleType.PERMITTING_AGENCYAgentRoleType.PHOTOGRAPHERAgentRoleType.PLAINTIFFAgentRoleType.PLAINTIFF_APPELLANTAgentRoleType.PLAINTIFF_APPELLEEAgentRoleType.PLATEMAKERAgentRoleType.PRINTERAgentRoleType.PRINTER_OF_PLATESAgentRoleType.PRINTMAKERAgentRoleType.PROCESS_CONTACTAgentRoleType.PRODUCERAgentRoleType.PRODUCTION_MANAGERAgentRoleType.PRODUCTION_PERSONNELAgentRoleType.PROGRAMMERAgentRoleType.PROJECT_DIRECTORAgentRoleType.PROOFREADERAgentRoleType.PUBLICATION_PLACEAgentRoleType.PUBLISHERAgentRoleType.PUBLISHING_DIRECTORAgentRoleType.PUPPETEERAgentRoleType.RECIPIENTAgentRoleType.RECORDING_ENGINEERAgentRoleType.REDACTORAgentRoleType.RENDERERAgentRoleType.REPORTERAgentRoleType.REPOSITORYAgentRoleType.RESEARCHERAgentRoleType.RESEARCH_TEAM_HEADAgentRoleType.RESEARCH_TEAM_MEMBERAgentRoleType.RESPONDENTAgentRoleType.RESPONDENT_APPELLANTAgentRoleType.RESPONDENT_APPELLEEAgentRoleType.RESPONSIBLE_PARTYAgentRoleType.RESTAGERAgentRoleType.REVIEWERAgentRoleType.RUBRICATORAgentRoleType.SCENARISTAgentRoleType.SCIENTIFIC_ADVISORAgentRoleType.SCRIBEAgentRoleType.SCULPTORAgentRoleType.SECOND_PARTYAgentRoleType.SECRETARYAgentRoleType.SETDESIGNERAgentRoleType.SIGNERAgentRoleType.SINGERAgentRoleType.SOUND_DESIGNERAgentRoleType.SPEAKERAgentRoleType.SPONSORAgentRoleType.STAGE_MANAGERAgentRoleType.STANDARDS_BODYAgentRoleType.STEREOTYPERAgentRoleType.STORYTELLERAgentRoleType.SUPPORTING_HOSTAgentRoleType.SURVEYORAgentRoleType.TEACHERAgentRoleType.TECHNICAL_DIRECTORAgentRoleType.THESIS_ADVISORAgentRoleType.TRANSCRIBERAgentRoleType.TRANSLATORAgentRoleType.TYPE_DESIGNERAgentRoleType.TYPOGRAPHERAgentRoleType.UNIVERSITY_PLACEAgentRoleType.VIDEOGRAPHERAgentRoleType.VOCALISTAgentRoleType.WITNESSAgentRoleType.WOODCUTTERAgentRoleType.WOOD_ENGRAVERAgentRoleType.WRITER_OF_ACCOMPANYING_MATERIAL
AgentTypeAuthorityTypeBibliographicCitationTypeBibliographicCitationType.authorBibliographicCitationType.editorBibliographicCitationType.edition_titleBibliographicCitationType.place_of_publicationBibliographicCitationType.publisherBibliographicCitationType.date_of_publicationBibliographicCitationType.edition_noBibliographicCitationType.seriesBibliographicCitationType.volumeBibliographicCitationType.issueBibliographicCitationType.spageBibliographicCitationType.epageBibliographicCitationType.bib_identifierBibliographicCitationType.MetaBibliographicCitationType.authorBibliographicCitationType.bib_identifierBibliographicCitationType.date_of_publicationBibliographicCitationType.edition_noBibliographicCitationType.edition_titleBibliographicCitationType.editorBibliographicCitationType.epageBibliographicCitationType.issueBibliographicCitationType.place_of_publicationBibliographicCitationType.publisherBibliographicCitationType.seriesBibliographicCitationType.spageBibliographicCitationType.volume
CollectionTypeCollectionType.collectorCollectionType.abstractCollectionType.collection_descriptionCollectionType.spatialCollectionType.temporalCollectionType.subjectCollectionType.MetaCollectionType.abstractCollectionType.collection_descriptionCollectionType.collectorCollectionType.spatialCollectionType.subjectCollectionType.temporal
DateTypeEditionTypeEditionType.is_edition_ofEditionType.agentEditionType.sourceEditionType.form_of_notationEditionType.languageEditionType.licenseEditionType.LicenseEditionType.MetaEditionType.agentEditionType.form_of_notationEditionType.is_edition_ofEditionType.languageEditionType.licenseEditionType.source
EntryTypeFacetGroupTypeFacetResponseFacetResponseTypeFacetTypeFormOfNotationTypeFormOfNotationType.ARABFormOfNotationType.ARMIFormOfNotationType.ARMNFormOfNotationType.AVSTFormOfNotationType.BALIFormOfNotationType.BAMUFormOfNotationType.BASSFormOfNotationType.BATKFormOfNotationType.BENGFormOfNotationType.BLISFormOfNotationType.BOPOFormOfNotationType.BRAHFormOfNotationType.BRAIFormOfNotationType.BUGIFormOfNotationType.BUHDFormOfNotationType.CAKMFormOfNotationType.CANSFormOfNotationType.CARIFormOfNotationType.CHAMFormOfNotationType.CHERFormOfNotationType.CIRTFormOfNotationType.COPTFormOfNotationType.CPRTFormOfNotationType.CYRLFormOfNotationType.CYRSFormOfNotationType.DEVAFormOfNotationType.DSRTFormOfNotationType.EGYDFormOfNotationType.EGYHFormOfNotationType.EGYPFormOfNotationType.ETHIFormOfNotationType.GEORFormOfNotationType.GEOKFormOfNotationType.GLAGFormOfNotationType.GOTHFormOfNotationType.GRANFormOfNotationType.GREKFormOfNotationType.GUJRFormOfNotationType.GURUFormOfNotationType.HANGFormOfNotationType.HANIFormOfNotationType.HANOFormOfNotationType.HANSFormOfNotationType.HANTFormOfNotationType.HEBRFormOfNotationType.HIRAFormOfNotationType.HMNGFormOfNotationType.HRKTFormOfNotationType.HUNGFormOfNotationType.INDSFormOfNotationType.ITALFormOfNotationType.JAVAFormOfNotationType.JPANFormOfNotationType.KALIFormOfNotationType.KANAFormOfNotationType.KHARFormOfNotationType.KHMRFormOfNotationType.KNDAFormOfNotationType.KOREFormOfNotationType.KPELFormOfNotationType.KTHIFormOfNotationType.LANAFormOfNotationType.LAOOFormOfNotationType.LATFFormOfNotationType.LATGFormOfNotationType.LATNFormOfNotationType.LEPCFormOfNotationType.LIMBFormOfNotationType.LINAFormOfNotationType.LINBFormOfNotationType.LISUFormOfNotationType.LOMAFormOfNotationType.LYCIFormOfNotationType.LYDIFormOfNotationType.MANDFormOfNotationType.MANIFormOfNotationType.MAYAFormOfNotationType.MENDFormOfNotationType.MERCFormOfNotationType.MEROFormOfNotationType.MLYMFormOfNotationType.MOONFormOfNotationType.MONGFormOfNotationType.MTEIFormOfNotationType.MYMRFormOfNotationType.NARBFormOfNotationType.NBATFormOfNotationType.NKGBFormOfNotationType.NKOOFormOfNotationType.OGAMFormOfNotationType.OLCKFormOfNotationType.ORKHFormOfNotationType.ORYAFormOfNotationType.OSMAFormOfNotationType.PALMFormOfNotationType.PERMFormOfNotationType.PHAGFormOfNotationType.PHLIFormOfNotationType.PHLPFormOfNotationType.PHLVFormOfNotationType.PHNXFormOfNotationType.PLRDFormOfNotationType.PRTIFormOfNotationType.QAAAFormOfNotationType.QABXFormOfNotationType.RJNGFormOfNotationType.ROROFormOfNotationType.RUNRFormOfNotationType.SAMRFormOfNotationType.SARAFormOfNotationType.SARBFormOfNotationType.SAURFormOfNotationType.SGNWFormOfNotationType.SHAWFormOfNotationType.SINHFormOfNotationType.SUNDFormOfNotationType.SYLOFormOfNotationType.SYRCFormOfNotationType.SYREFormOfNotationType.SYRJFormOfNotationType.SYRNFormOfNotationType.TAGBFormOfNotationType.TALEFormOfNotationType.TALUFormOfNotationType.TAMLFormOfNotationType.TAVTFormOfNotationType.TELUFormOfNotationType.TENGFormOfNotationType.TFNGFormOfNotationType.TGLGFormOfNotationType.THAAFormOfNotationType.THAIFormOfNotationType.TIBTFormOfNotationType.UGARFormOfNotationType.VAIIFormOfNotationType.VISPFormOfNotationType.WARAFormOfNotationType.XPEOFormOfNotationType.XSUXFormOfNotationType.YIIIFormOfNotationType.ZINHFormOfNotationType.ZMTHFormOfNotationType.ZSYMFormOfNotationType.ZXXXFormOfNotationType.ZYYYFormOfNotationType.ZZZZFormOfNotationType.ARABFormOfNotationType.ARMIFormOfNotationType.ARMNFormOfNotationType.AVSTFormOfNotationType.BALIFormOfNotationType.BAMUFormOfNotationType.BASSFormOfNotationType.BATKFormOfNotationType.BENGFormOfNotationType.BLISFormOfNotationType.BOPOFormOfNotationType.BRAHFormOfNotationType.BRAIFormOfNotationType.BUGIFormOfNotationType.BUHDFormOfNotationType.CAKMFormOfNotationType.CANSFormOfNotationType.CARIFormOfNotationType.CHAMFormOfNotationType.CHERFormOfNotationType.CIRTFormOfNotationType.COPTFormOfNotationType.CPRTFormOfNotationType.CYRLFormOfNotationType.CYRSFormOfNotationType.DEVAFormOfNotationType.DSRTFormOfNotationType.EGYDFormOfNotationType.EGYHFormOfNotationType.EGYPFormOfNotationType.ETHIFormOfNotationType.GEOKFormOfNotationType.GEORFormOfNotationType.GLAGFormOfNotationType.GOTHFormOfNotationType.GRANFormOfNotationType.GREKFormOfNotationType.GUJRFormOfNotationType.GURUFormOfNotationType.HANGFormOfNotationType.HANIFormOfNotationType.HANOFormOfNotationType.HANSFormOfNotationType.HANTFormOfNotationType.HEBRFormOfNotationType.HIRAFormOfNotationType.HMNGFormOfNotationType.HRKTFormOfNotationType.HUNGFormOfNotationType.INDSFormOfNotationType.ITALFormOfNotationType.JAVAFormOfNotationType.JPANFormOfNotationType.KALIFormOfNotationType.KANAFormOfNotationType.KHARFormOfNotationType.KHMRFormOfNotationType.KNDAFormOfNotationType.KOREFormOfNotationType.KPELFormOfNotationType.KTHIFormOfNotationType.LANAFormOfNotationType.LAOOFormOfNotationType.LATFFormOfNotationType.LATGFormOfNotationType.LATNFormOfNotationType.LEPCFormOfNotationType.LIMBFormOfNotationType.LINAFormOfNotationType.LINBFormOfNotationType.LISUFormOfNotationType.LOMAFormOfNotationType.LYCIFormOfNotationType.LYDIFormOfNotationType.MANDFormOfNotationType.MANIFormOfNotationType.MAYAFormOfNotationType.MENDFormOfNotationType.MERCFormOfNotationType.MEROFormOfNotationType.MLYMFormOfNotationType.MONGFormOfNotationType.MOONFormOfNotationType.MTEIFormOfNotationType.MYMRFormOfNotationType.NARBFormOfNotationType.NBATFormOfNotationType.NKGBFormOfNotationType.NKOOFormOfNotationType.OGAMFormOfNotationType.OLCKFormOfNotationType.ORKHFormOfNotationType.ORYAFormOfNotationType.OSMAFormOfNotationType.PALMFormOfNotationType.PERMFormOfNotationType.PHAGFormOfNotationType.PHLIFormOfNotationType.PHLPFormOfNotationType.PHLVFormOfNotationType.PHNXFormOfNotationType.PLRDFormOfNotationType.PRTIFormOfNotationType.QAAAFormOfNotationType.QABXFormOfNotationType.RJNGFormOfNotationType.ROROFormOfNotationType.RUNRFormOfNotationType.SAMRFormOfNotationType.SARAFormOfNotationType.SARBFormOfNotationType.SAURFormOfNotationType.SGNWFormOfNotationType.SHAWFormOfNotationType.SINHFormOfNotationType.SUNDFormOfNotationType.SYLOFormOfNotationType.SYRCFormOfNotationType.SYREFormOfNotationType.SYRJFormOfNotationType.SYRNFormOfNotationType.TAGBFormOfNotationType.TALEFormOfNotationType.TALUFormOfNotationType.TAMLFormOfNotationType.TAVTFormOfNotationType.TELUFormOfNotationType.TENGFormOfNotationType.TFNGFormOfNotationType.TGLGFormOfNotationType.THAAFormOfNotationType.THAIFormOfNotationType.TIBTFormOfNotationType.UGARFormOfNotationType.VAIIFormOfNotationType.VISPFormOfNotationType.WARAFormOfNotationType.XPEOFormOfNotationType.XSUXFormOfNotationType.YIIIFormOfNotationType.ZINHFormOfNotationType.ZMTHFormOfNotationType.ZSYMFormOfNotationType.ZXXXFormOfNotationType.ZYYYFormOfNotationType.ZZZZ
FulltextTypeGeneratedTypeGeneratedType.createdGeneratedType.last_modifiedGeneratedType.issuedGeneratedType.textgrid_uriGeneratedType.revisionGeneratedType.pidGeneratedType.extentGeneratedType.fixityGeneratedType.data_contributorGeneratedType.projectGeneratedType.warningGeneratedType.permissionsGeneratedType.availabilityGeneratedType.any_elementGeneratedType.FixityGeneratedType.MetaGeneratedType.PidGeneratedType.ProjectGeneratedType.TextgridUriGeneratedType.WarningGeneratedType.any_elementGeneratedType.availabilityGeneratedType.createdGeneratedType.data_contributorGeneratedType.extentGeneratedType.fixityGeneratedType.issuedGeneratedType.last_modifiedGeneratedType.permissionsGeneratedType.pidGeneratedType.projectGeneratedType.revisionGeneratedType.textgrid_uriGeneratedType.warning
GeneratedTypeAvailabilityGenericTypeIdentifierTypeItemTypeMetadataContainerTypeObjectObjectCitationTypePathGroupTypePathResponsePathTypePersonTypePidPidTypeProvidedTypeRdfRdfTypeRelationResponseTypeResponseResultTypeRevisionsSourceTypeTextgridMetadata2010RelationTypeTextgridUrisTgObjectMetadataTgsearchRelationTypeWorkTypeWorkType.agentWorkType.abstractWorkType.date_of_creationWorkType.spatialWorkType.temporalWorkType.subjectWorkType.genreWorkType.type_valueWorkType.MetaWorkType.abstractWorkType.agentWorkType.date_of_creationWorkType.genreWorkType.spatialWorkType.subjectWorkType.temporalWorkType.type_value
WorkTypeGenre
Submodules
tgclients.aggregator module
API for the TextGrid aggregator service.
- class tgclients.aggregator.Aggregator(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>)
Bases:
objectProvide access to the Textgrid Aggregator Service.
API docs: https://textgridlab.org/doc/services/submodules/aggregator/docs/api.html
- render(textgrid_uris: str, sid: str | None = None, stylesheet_uri: str | None = None, mediatype: str | None = None, link_pattern: str | None = None, sandbox: bool | None = None) Response
- render(textgrid_uris: List[str], sid: str | None = None, stylesheet_uri: str | None = None, mediatype: str | None = None, link_pattern: str | None = None, sandbox: bool | None = None) Response
Apply an XSLT stylesheet to one or more TextGrid URIs.
Will render (X)HTML by default with XSLT stylesheets from tei-c.org see https://textgridlab.org/doc/services/submodules/aggregator/docs/html.html
- Parameters:
textgrid_uris (Union[str, List[str]]) – a single or a list of TextGrid URIs
sid (Optional[str], optional) – Session ID. Defaults to None.
stylesheet_uri (Optional[str], optional) – alternative XSLT stylesheet to use. Must be a TextGrid URI.
mediatype (Optional[str], optional) – The requested content type. E.g., text/html or text/xml. Default is text/html
link_pattern (Optional[str], optional) – URL pattern for links. @URI@ will be replaced with the textgrid: URI.
sandbox (Optional[bool], optional) – access sandboxed data. Defaults to false
- Returns:
the respone with the TEI corpus in the body
- Return type:
- teicorpus(textgrid_uris: str, sid: str | None = None) Response
- teicorpus(textgrid_uris: List[str], sid: str | None = None) Response
Download aggregated TextGrid objects as TEI corpus.
- text(textgrid_uris: str, sid: str | None = None) Response
- text(textgrid_uris: List[str], sid: str | None = None) Response
Download aggregated TextGrid objects as plain text file.
tgclients.auth module
Provide access to the TextGrid Authorization Service.
- class tgclients.auth.TextgridAuth(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>)
Bases:
objectProvide access to the TextGrid Authorization Service.
- add_admin_to_project(sid: str, project_id: str, eppn: str) bool
Give an user the admin role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- add_editor_to_project(sid: str, project_id: str, eppn: str) bool
Give an user the editor role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- add_manager_to_project(sid: str, project_id: str, eppn: str) bool
Give an user the manager role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- add_observer_to_project(sid: str, project_id: str, eppn: str) bool
Give an user the observer role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- create_project(sid: str, name: str, description: str, default_owner_roles: bool | None = True) str
Create a new project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
the project ID of the created project
- Return type:
- delete_project(sid: str, project_id: str) bool
Delete a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- get_eppn_for_sid(sid: str) str
Get the EPPN belonging to a sessionID.
- Parameters:
sid (str) – TextGrid Session ID
- Raises:
TextgridAuthException – in case of transport exceptions
- Returns:
the EPPN
- Return type:
- get_ids(sid: str, name: str, mail: str, organisation: str)
Returns user records for a name or mail address.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
- contains 0…n userDetails, which themselves have elements ePPN, name, mail,
organisation, agreesearch, usersupplieddata
- Return type:
zeep.object.getIDsResponse
- get_project_description(project_id: str)
Returns name and description of project identified by ID. See also getAllProjects().
- Parameters:
project_id (str) – the project ID
- Returns:
project info with id, name and description
- Return type:
zeep.objects.projectInfo
- get_user_role(sid: str, project_id: str)
Returns ePPNs plus Array of Roles of all members in the project.
Caller must be member herself.
- list_all_projects() List[str]
List all projects.
Returns all projects stored in this RBAC instance with ID, name, and description. See also getProjectDescription(). SID is not needed as this information can be reviewed publicly.
- Returns:
list of each project with ID, name and description
- Return type:
List[str]
- list_assigned_projects(sid: str) List[str]
Get assigned projects.
- Parameters:
sid (str) – Session ID
- Raises:
TextgridAuthException – in case of transport exceptions
- Returns:
A list of project id strings
- Return type:
List[str]
- remove_admin_from_project(sid: str, project_id: str, eppn: str) bool
Remove an users admin role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- remove_editor_from_project(sid: str, project_id: str, eppn: str) bool
Remove an users editor role from a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- remove_manager_from_project(sid: str, project_id: str, eppn: str) bool
Remove an users manager role from a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
tgclients.config module
Variable config options with defaults to be used with the TextGrid clients library.
- class tgclients.config.TextgridConfig(host: str | None = 'https://textgridlab.org')
Bases:
objectProvide standard configuration / URLs for TextGrid services.
Default is to connect to the TextGrid production server (https://textgridlab.org). Pass the constants tgclients.config.DEV_SERVER or tgclients.config.TEST_SERVER to the constructor to change to develop or test server or provide an URL for your own instance.
- property aggregator: str
The aggregator service location.
- Returns:
the aggregator service location
- Return type:
- property auth_address: str
The tgauth service location.
- Returns:
the tgauth service location
- Return type:
- property crud: str
The nonpublic tgcrud REST service location.
- Returns:
the nonpublic tgcrud REST service location
- Return type:
- property crud_public: str
The public tgcrud REST service location.
- Returns:
the public tgcrud REST service location
- Return type:
- property extra_crud_address: str
The tgextra service location.
- Returns:
the tgextra service location
- Return type:
- property extra_crud_wsdl: str
The tgextra WSDL location.
- Returns:
the tgextra WSDL location
- Return type:
- property http_timeout: float
HTTP timeout to be used when accessing TextGrid services.
- Returns:
http timeout in seconds
- Return type:
- property publish: str
The publish service location.
- Returns:
the publish service location
- Return type:
tgclients.crud module
TextGrid CRUD API.
- class tgclients.crud.TextgridCrud(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>, for_publication: bool = False)
Bases:
TextgridCrudRequestProvide access to the Textgrid CRUD Service using a XML data binding.
- create_resource(sid: str, project_id: str, data: str | IO[Any], metadata: MetadataContainerType, uri: str | None = None) MetadataContainerType
Create a TextGrid object.
- Parameters:
sid (str) – Session ID
project_id (str) – Project ID
data (Union[str, IO[Any]]) – the data
metadata (MetadataContainerType) – the metadata
uri (Optional[str]) – optionally set a TextGrid URI to use for new object (see get_uri method)
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
metadata for newly created object
- Return type:
- create_revision(sid: str, project_id: str, textgrid_uri: str, data: str | IO[Any], metadata: MetadataContainerType) MetadataContainerType
Create a TextGrid object revision.
- Parameters:
sid (str) – Session ID
project_id (str) – Project ID
textgrid_uri (str) – Textgrid URI
data (Union[str, IO[Any]]) – the data
metadata (MetadataContainerType) – the metadata
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
metadata from newly created object revision
- Return type:
- get_uri(sid: str, how_many: int) list
Get TextGrid URIs.
Get an specified amount of TextGrid URIs for assigning to new TextGrid objects. Useful e.g. for bulk imports.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
List with TextGrid URIs
- Return type:
- read_metadata(textgrid_uri: str, sid: str | None = None) MetadataContainerType
Read Metadata.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
metadata for object
- Return type:
- update_metadata(sid: str, textgrid_uri: str, metadata: MetadataContainerType) MetadataContainerType
Update metadata for TextGrid object.
- Parameters:
sid (str) – Session ID
textgrid_uri (str) – Textgrid URI
metadata (MetadataContainerType) – the metadata
- Returns:
updated metadata
- Return type:
- update_resource(sid: str, textgrid_uri: str, data: str | IO[Any], metadata: MetadataContainerType, create_revision: bool = False) MetadataContainerType
Update a TextGrid object.
- Parameters:
sid (str) – Session ID
textgrid_uri (str) – Textgrid URI
data (Union[str, IO[Any]]) – the data
metadata (MetadataContainerType) – the metadata
create_revision (bool) – If True, create a new textgrid object revision. Default: False
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
updated metadata
- Return type:
- exception tgclients.crud.TextgridCrudException
Bases:
ExceptionException communicating with tgcrud!
- class tgclients.crud.TextgridCrudRequest(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>, for_publication: bool = False)
Bases:
objectProvide low level access to the TextGrid CRUD Service.
- create_resource(sid: str, project_id: str, data: str | IO[Any], metadata: str | IO[Any], uri: str | None = None) Response
Create a TextGrid object.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service with metadata from newly created object
- Return type:
- create_revision(sid: str, project_id: str, textgrid_uri: str, data: str | IO[Any], metadata: str | IO[Any]) Response
Create a TextGrid object revision.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service with metadata from newly created object revision
- Return type:
- delete_resource(sid: str, textgrid_uri: str) Response
Delete a TextGrid object.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service
- Return type:
- get_uri(sid: str, how_many: int) Response
Get TextGrid URIs.
Get an specified amount of TextGrid URIs for assigning to new TextGrid objects. Useful e.g. for bulk imports.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service with TextGrid URIs in body
- Return type:
- read_data(textgrid_uri: str, sid: str | None = None) Response
Read Data.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service
- Return type:
- read_metadata(textgrid_uri: str, sid: str | None = None) Response
Read Metadata.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service
- Return type:
- update_metadata(sid: str, textgrid_uri: str, metadata: str | IO[Any]) Response
Update metadata for TextGrid object.
tgclients.metadata module
Helper functions to work with TextGrid metadata XML.
- class tgclients.metadata.TextgridMetadata
Bases:
objectHelper functions to work with TextGrid metadata XML.
- build(title: str, mimetype: str) MetadataContainerType
Build metadata for an TextGrid Object.
- Parameters:
- Returns:
metadata
- Return type:
- extension_for_format(mimetype: str) str | None
Find a matching extension for a textgrid mime type.
The first matching extension for a mime type is returned, so extensions defined first in mime.types will be used.
- filename(title: str, tguri: str, mimetype: str) str
Generate a filename for the triple of title, textfgrid-uri and extension.
- filename_from_metadata(metadata: ResultType) str
Generate a filename for a textgrid search metadata result.
This is made of title, textgrid-URI and extension.
- Parameters:
metadata (ResultType) – tgsearch metadata result
- Returns:
the filename
- Return type:
- static id_from_filename(filename: str) str
Extract the id from a filename.
This is named according to link rewriters textgrid metadata to filename mapping.
tgclients.publish module
API for the TextGrid publish service.
- class tgclients.publish.TextgridPublish(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>)
Bases:
TextgridPublishRequestProvide access to the Textgrid Publish Service using XML data binding.
API docs: https://textgridlab.org/doc/services/submodules/kolibri/kolibri-tgpublish-service/docs/index.html
- copy(sid: str, textgrid_uris: List[str], project_id: str) str
Copies the objects belonging to the given URIs to the given project ID.
Also copies all aggregated objects (from aggregations/editions/collections).
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
UUID of copy job queued
- Return type:
- copy_to_new_revision(sid: str, textgrid_uris: List[str]) str
Copies the objects belonging to the given URIs to new revisions of themselves.
Also copies all aggregated objects (from aggregations/editions/collections).
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
UUID of copy job queued
- Return type:
- get_status(job_id: str) PublishResponse
Get status for job specified by job_id.
- Parameters:
job_id (str) – ID of job to get the status for
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
publish response object
- Return type:
- publish(sid: str, textgrid_uri: str, ignore_warnings: bool = False, dry_run: bool = True) str
Publish the edition or collection belonging to the given URIs.
Also publish all aggregated objects (from aggregations/editions/collections)
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
just an OK if the job started
- Return type:
- publish_worldreadable(sid: str, textgrid_uri: str, ignore_warnings: bool = False, dry_run: bool = True) str
Publish the technical object with given URI.
Worldreadable objects are some technical objects which may be published independently of editions or collections. Get a list of allowed mime types here: https://textgridlab.org/1.0/tgpublish/listWorldReadables
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
just an OK if the job started
- Return type:
- exception tgclients.publish.TextgridPublishException
Bases:
ExceptionException communicating with tgpublish!
- class tgclients.publish.TextgridPublishRequest(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>)
Bases:
objectProvide low level access to the Textgrid Publish Service returning HTTP response objects.
API docs: https://textgridlab.org/doc/services/submodules/kolibri/kolibri-tgpublish-service/docs/index.html
- copy(sid: str, textgrid_uris: List[str], project_id: str) Response
Copies the objects belonging to the given URIs to the given project ID.
Also copies all aggregated objects (from aggregations/editions/collections).
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
HTTP response from service - UUID of copy job queued
- Return type:
- copy_to_new_revision(sid: str, textgrid_uris: List[str]) Response
Copies the objects belonging to the given URIs to new revisions of themselves.
Also copies all aggregated objects (from aggregations/editions/collections).
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
HTTP response from service - UUID of copy job queued
- Return type:
- get_status(job_id: str) Response
Get status for job specified by job_id.
- Parameters:
job_id (str) – ID of job to get the status for
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
HTTP response from service - with XML containing the publish status
- Return type:
- publish(sid: str, textgrid_uri: str, ignore_warnings: bool = False, dry_run: bool = True)
Publish the edition or collection belonging to the given URIs.
Also publish all aggregated objects (from aggregations/editions/collections)
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
HTTP response from service
- Return type:
- publish_worldreadable(sid: str, textgrid_uri: str, ignore_warnings: bool = False, dry_run: bool = True)
Publish the technical object with given URI.
Worldreadable objects are some technical objects which may be published independently of editions or collections. Get a list of allowed mime types here: https://textgridlab.org/1.0/tgpublish/listWorldReadables
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
HTTP response from service
- Return type:
tgclients.search module
TextGrid Search API.
- class tgclients.search.TextgridSearch(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>, nonpublic: bool = False)
Bases:
TextgridSearchRequestProvide access to the TextGrid search service using a XML data binding.
- children(textgrid_uri: str, sid: str | None = None) TextgridUris
List URIs for all children of this aggregation and its child aggregations.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
URIs for children of this aggregation and its child aggregations
- Return type:
- edition_work_metadata_for(textgrid_uri: str, sid: str | None = None) Response
Find parent edition for an object and the edition and work metadata.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- Edition and work metadata for given object
from first matching parent edition
- Return type:
SearchResponse
- get_project_info(project_id: str, sid: str | None = None) Dict
Get project information for a single project.
This includes portalconfig, readme.md, title, etc.
- info(textgrid_uri: str, sid: str | None = None) Response
Retrieve metadata for a textgrid object specified by its textgrid-uri.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
metadata for uri
- Return type:
SearchResponse
- list_aggregation(textgrid_uri: str, sid: str | None = None) Response
Get child resources of an aggregation.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
A list of textgrid metadata entries
- Return type:
SearchResponse
- list_project_infos(sid: str | None = None) Dict
Get project information for all projects.
This includes portalconfig, readme.md, title, etc.
- Parameters:
sid (Optional[str], optional) – Session ID. Defaults to None.
- Returns:
JSON response from service - readme.md, portalconfig etc
- Return type:
Dict
- list_project_root(project_id: str, sid: str | None = None) Response
Get objects belonging to a project.
These are filtered by objects that are in an aggregation in the same project.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
A list of textgrid metadata entries
- Return type:
SearchResponse
- search(query: str | None = '*', sid: str | None = None, target: str | None = None, order: str | None = None, start: str | None = None, limit: int | None = None, kwic_width: int | None = None, word_distance: int | None = None, path: bool | None = None, all_projects: bool | None = None, sandbox: bool | None = None, filters: List[str] | None = None, facet: List[str] | None = None, facet_limit: int | None = None) Response
Run fulltext queries or filters on TextGrid metadata and fulltext objects.
- Please note: as the defaults of this function are mostly set to None, the defaults from
the service are used, and also noted in this docstring. see: http://textgridlab.org/doc/services/submodules/tg-search/docs/api/search.html
- Parameters:
query (Optional[str]) – Lucene search string. Defaults to ‘*’.
sid (Optional[str]) – TextGrid SessionID from tgauth. Defaults to None.
target (Optional[str]) – where to do fulltext-searches: one of ‘structure’, ‘metadata’ and ‘both’. Defaults to ‘both’.
order (Optional[str]) – key-value ascending (asc) or descending (desc) and metadata-field like asc:title or desc:author. Defaults to ‘relevance’.
start (Optional[str]) – result to start with. a number or the result from the last search results next attribute. number only works up to 10.000 hits.
limit (Optional[int]) – number of entries to return.. Defaults to 20.
kwic_width (Optional[int]) – number of chars before and after a kwic match. Defaults to 40.
word_distance (Optional[int]) – max distance beetween two words in fulltext query. ignored if set to a number < 0, then for a hit all words must be contained in one document. Defaults to -1.
path (Optional[bool]) – path of found result(work->edition->aggregations) should be applied to hit. Defaults to false.
all_projects (Optional[bool]) – all Projects should be searched for public data, warning: this query may be slow, if many results found. Defaults to false.
sandbox (Optional[bool]) – show sandboxed (not yet finally published) data. Defaults to false.
filters (Optional[List[str]]) – add filter on query results, e.g. for faceting. Defaults to None.
facet (Optional[List[str]]) – get facets for query results. Defaults to None.
facet_limit (Optional[int]) – number of results to return for each facet. Defaults to 10.
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- a list of textgrid metadata entries,
KWIC hits, paths and facets if requested
- Return type:
SearchResponse
- exception tgclients.search.TextgridSearchException
Bases:
ExceptionException communicating with tgsearch!
- class tgclients.search.TextgridSearchRequest(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>, nonpublic: bool = False)
Bases:
objectProvide low level access to the TextGrid search service, returning the response objects.
- children(textgrid_uri: str, sid: str | None = None) Response
List URIs for all children of this aggregation and its child aggregations.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- HTTP response from service - URIs for children of this
aggregation and its child aggregations
- Return type:
- edition_work_metadata_for(textgrid_uri: str, sid: str | None = None) Response
Find parent edition for an object and the edition and work metadata.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- HTTP response from service - edition and work metadata for given object
from first matching parent edition
- Return type:
- get_project_info(project_id: str, sid: str | None = None) Response
Get project information for a single project.
This includes portalconfig, readme.md, title, etc.
- info(textgrid_uri: str, sid: str | None = None) Response
Retrieve metadata for a textgrid object specified by its textgrid-uri.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
metadata for uri
- Return type:
- list_aggregation(textgrid_uri: str, sid: str | None = None) Response
Get child resources of an aggregation.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
HTTP response from service, containing a list of textgrid metadata entries
- Return type:
- list_project_infos(sid: str | None = None) Response
Get project information for all projects.
This includes portalconfig, readme.md, title, etc.
- list_project_root(project_id: str, sid: str | None = None) Response
Get objects belonging to a project.
These are filtered by objects that are in an aggregation in the same project.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
HTTP response from service, containing a list of textgrid metadata entries
- Return type:
- search(query: str | None = '*', sid: str | None = None, target: str | None = None, order: str | None = None, start: str | None = None, limit: int | None = None, kwic_width: int | None = None, word_distance: int | None = None, path: bool | None = None, all_projects: bool | None = None, sandbox: bool | None = None, filters: List[str] | None = None, facet: List[str] | None = None, facet_limit: int | None = None) Response
Run fulltext queries or filters on TextGrid metadata and fulltext objects.
- Please note: as the defaults of this function are mostly set to None, the defaults from
the service are used, and also noted in this docstring. see: http://textgridlab.org/doc/services/submodules/tg-search/docs/api/search.html
- Parameters:
query (Optional[str]) – Lucene search string. Defaults to ‘*’.
sid (Optional[str]) – TextGrid SessionID from tgauth. Defaults to None.
target (Optional[str]) – where to do fulltext-searches: one of ‘structure’, ‘metadata’ and ‘both’. Defaults to ‘both’.
order (Optional[str]) – key-value ascending (asc) or descending (desc) and metadata-field like asc:title or desc:author. Defaults to ‘relevance’.
start (Optional[str]) – result to start with. a number or the result from the last search results next attribute. number only works up to 10.000 hits.
limit (Optional[int]) – number of entries to return.. Defaults to 20.
kwic_width (Optional[int]) – number of chars before and after a kwic match. Defaults to 40.
word_distance (Optional[int]) – max distance beetween two words in fulltext query. ignored if set to a number < 0, then for a hit all words must be contained in one document. Defaults to -1.
path (Optional[bool]) – path of found result(work->edition->aggregations) should be applied to hit. Defaults to false.
all_projects (Optional[bool]) – all Projects should be searched for public data, warning: this query may be slow, if many results found. Defaults to false.
sandbox (Optional[bool]) – show sandboxed (not yet finally published) data. Defaults to false.
filters (Optional[List[str]]) – add filter on query results, e.g. for faceting. Defaults to None.
facet (Optional[List[str]]) – get facets for query results. Defaults to None.
facet_limit (Optional[int]) – number of results to return for each facet. Defaults to 10.
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- HTTP response from service - a list of textgrid metadata entries,
KWIC hits, paths and facets if requested
- Return type:
tgclients.utils module
Utility functions for working with the TextGrid repository.
- class tgclients.utils.Utils
Bases:
objectUtility functions for working with the TextGrid repository.
Module contents
tgclients provide access to TextGrid services.
- class tgclients.Aggregator(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>)
Bases:
objectProvide access to the Textgrid Aggregator Service.
API docs: https://textgridlab.org/doc/services/submodules/aggregator/docs/api.html
- render(textgrid_uris: str | List[str], sid: str | None = None, stylesheet_uri: str | None = None, mediatype: str | None = None, link_pattern: str | None = None, sandbox: bool | None = None) Response
Apply an XSLT stylesheet to one or more TextGrid URIs.
Will render (X)HTML by default with XSLT stylesheets from tei-c.org see https://textgridlab.org/doc/services/submodules/aggregator/docs/html.html
- Parameters:
textgrid_uris (Union[str, List[str]]) – a single or a list of TextGrid URIs
sid (Optional[str], optional) – Session ID. Defaults to None.
stylesheet_uri (Optional[str], optional) – alternative XSLT stylesheet to use. Must be a TextGrid URI.
mediatype (Optional[str], optional) – The requested content type. E.g., text/html or text/xml. Default is text/html
link_pattern (Optional[str], optional) – URL pattern for links. @URI@ will be replaced with the textgrid: URI.
sandbox (Optional[bool], optional) – access sandboxed data. Defaults to false
- Returns:
the respone with the TEI corpus in the body
- Return type:
- teicorpus(textgrid_uris: str | List[str], sid: str | None = None) Response
Download aggregated TextGrid objects as TEI corpus.
- text(textgrid_uris: str | List[str], sid: str | None = None) Response
Download aggregated TextGrid objects as plain text file.
- class tgclients.TextgridAuth(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>)
Bases:
objectProvide access to the TextGrid Authorization Service.
- add_admin_to_project(sid: str, project_id: str, eppn: str) bool
Give an user the admin role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- add_editor_to_project(sid: str, project_id: str, eppn: str) bool
Give an user the editor role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- add_manager_to_project(sid: str, project_id: str, eppn: str) bool
Give an user the manager role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- add_observer_to_project(sid: str, project_id: str, eppn: str) bool
Give an user the observer role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- create_project(sid: str, name: str, description: str, default_owner_roles: bool | None = True) str
Create a new project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
the project ID of the created project
- Return type:
- delete_project(sid: str, project_id: str) bool
Delete a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- get_eppn_for_sid(sid: str) str
Get the EPPN belonging to a sessionID.
- Parameters:
sid (str) – TextGrid Session ID
- Raises:
TextgridAuthException – in case of transport exceptions
- Returns:
the EPPN
- Return type:
- get_ids(sid: str, name: str, mail: str, organisation: str)
Returns user records for a name or mail address.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
- contains 0…n userDetails, which themselves have elements ePPN, name, mail,
organisation, agreesearch, usersupplieddata
- Return type:
zeep.object.getIDsResponse
- get_project_description(project_id: str)
Returns name and description of project identified by ID. See also getAllProjects().
- Parameters:
project_id (str) – the project ID
- Returns:
project info with id, name and description
- Return type:
zeep.objects.projectInfo
- get_user_role(sid: str, project_id: str)
Returns ePPNs plus Array of Roles of all members in the project.
Caller must be member herself.
- list_all_projects() List[str]
List all projects.
Returns all projects stored in this RBAC instance with ID, name, and description. See also getProjectDescription(). SID is not needed as this information can be reviewed publicly.
- Returns:
list of each project with ID, name and description
- Return type:
List[str]
- list_assigned_projects(sid: str) List[str]
Get assigned projects.
- Parameters:
sid (str) – Session ID
- Raises:
TextgridAuthException – in case of transport exceptions
- Returns:
A list of project id strings
- Return type:
List[str]
- remove_admin_from_project(sid: str, project_id: str, eppn: str) bool
Remove an users admin role in a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- remove_editor_from_project(sid: str, project_id: str, eppn: str) bool
Remove an users editor role from a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- remove_manager_from_project(sid: str, project_id: str, eppn: str) bool
Remove an users manager role from a project.
- Parameters:
- Raises:
TextgridAuthException – in case of tgauth faults
- Returns:
true in case of success
- Return type:
- class tgclients.TextgridConfig(host: str | None = 'https://textgridlab.org')
Bases:
objectProvide standard configuration / URLs for TextGrid services.
Default is to connect to the TextGrid production server (https://textgridlab.org). Pass the constants tgclients.config.DEV_SERVER or tgclients.config.TEST_SERVER to the constructor to change to develop or test server or provide an URL for your own instance.
- property aggregator: str
The aggregator service location.
- Returns:
the aggregator service location
- Return type:
- property auth_address: str
The tgauth service location.
- Returns:
the tgauth service location
- Return type:
- property crud: str
The nonpublic tgcrud REST service location.
- Returns:
the nonpublic tgcrud REST service location
- Return type:
- property crud_public: str
The public tgcrud REST service location.
- Returns:
the public tgcrud REST service location
- Return type:
- property extra_crud_address: str
The tgextra service location.
- Returns:
the tgextra service location
- Return type:
- property extra_crud_wsdl: str
The tgextra WSDL location.
- Returns:
the tgextra WSDL location
- Return type:
- property http_timeout: float
HTTP timeout to be used when accessing TextGrid services.
- Returns:
http timeout in seconds
- Return type:
- property publish: str
The publish service location.
- Returns:
the publish service location
- Return type:
- class tgclients.TextgridCrud(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>, for_publication: bool = False)
Bases:
TextgridCrudRequestProvide access to the Textgrid CRUD Service using a XML data binding.
- create_resource(sid: str, project_id: str, data: str | IO[Any], metadata: MetadataContainerType, uri: str | None = None) MetadataContainerType
Create a TextGrid object.
- Parameters:
sid (str) – Session ID
project_id (str) – Project ID
data (Union[str, IO[Any]]) – the data
metadata (MetadataContainerType) – the metadata
uri (Optional[str]) – optionally set a TextGrid URI to use for new object (see get_uri method)
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
metadata for newly created object
- Return type:
- create_revision(sid: str, project_id: str, textgrid_uri: str, data: str | IO[Any], metadata: MetadataContainerType) MetadataContainerType
Create a TextGrid object revision.
- Parameters:
sid (str) – Session ID
project_id (str) – Project ID
textgrid_uri (str) – Textgrid URI
data (Union[str, IO[Any]]) – the data
metadata (MetadataContainerType) – the metadata
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
metadata from newly created object revision
- Return type:
- get_uri(sid: str, how_many: int) list
Get TextGrid URIs.
Get an specified amount of TextGrid URIs for assigning to new TextGrid objects. Useful e.g. for bulk imports.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
List with TextGrid URIs
- Return type:
- read_metadata(textgrid_uri: str, sid: str | None = None) MetadataContainerType
Read Metadata.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
metadata for object
- Return type:
- update_metadata(sid: str, textgrid_uri: str, metadata: MetadataContainerType) MetadataContainerType
Update metadata for TextGrid object.
- Parameters:
sid (str) – Session ID
textgrid_uri (str) – Textgrid URI
metadata (MetadataContainerType) – the metadata
- Returns:
updated metadata
- Return type:
- update_resource(sid: str, textgrid_uri: str, data: str | IO[Any], metadata: MetadataContainerType, create_revision: bool = False) MetadataContainerType
Update a TextGrid object.
- Parameters:
sid (str) – Session ID
textgrid_uri (str) – Textgrid URI
data (Union[str, IO[Any]]) – the data
metadata (MetadataContainerType) – the metadata
create_revision (bool) – If True, create a new textgrid object revision. Default: False
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
updated metadata
- Return type:
- class tgclients.TextgridCrudRequest(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>, for_publication: bool = False)
Bases:
objectProvide low level access to the TextGrid CRUD Service.
- create_resource(sid: str, project_id: str, data: str | IO[Any], metadata: str | IO[Any], uri: str | None = None) Response
Create a TextGrid object.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service with metadata from newly created object
- Return type:
- create_revision(sid: str, project_id: str, textgrid_uri: str, data: str | IO[Any], metadata: str | IO[Any]) Response
Create a TextGrid object revision.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service with metadata from newly created object revision
- Return type:
- delete_resource(sid: str, textgrid_uri: str) Response
Delete a TextGrid object.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service
- Return type:
- get_uri(sid: str, how_many: int) Response
Get TextGrid URIs.
Get an specified amount of TextGrid URIs for assigning to new TextGrid objects. Useful e.g. for bulk imports.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service with TextGrid URIs in body
- Return type:
- read_data(textgrid_uri: str, sid: str | None = None) Response
Read Data.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service
- Return type:
- read_metadata(textgrid_uri: str, sid: str | None = None) Response
Read Metadata.
- Parameters:
- Raises:
TextgridCrudException – if HTTP status code >= 400
- Returns:
HTTP response from service
- Return type:
- update_metadata(sid: str, textgrid_uri: str, metadata: str | IO[Any]) Response
Update metadata for TextGrid object.
- class tgclients.TextgridMetadata
Bases:
objectHelper functions to work with TextGrid metadata XML.
- build(title: str, mimetype: str) MetadataContainerType
Build metadata for an TextGrid Object.
- Parameters:
- Returns:
metadata
- Return type:
- extension_for_format(mimetype: str) str | None
Find a matching extension for a textgrid mime type.
The first matching extension for a mime type is returned, so extensions defined first in mime.types will be used.
- filename(title: str, tguri: str, mimetype: str) str
Generate a filename for the triple of title, textfgrid-uri and extension.
- filename_from_metadata(metadata: ResultType) str
Generate a filename for a textgrid search metadata result.
This is made of title, textgrid-URI and extension.
- Parameters:
metadata (ResultType) – tgsearch metadata result
- Returns:
the filename
- Return type:
- static id_from_filename(filename: str) str
Extract the id from a filename.
This is named according to link rewriters textgrid metadata to filename mapping.
- class tgclients.TextgridPublish(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>)
Bases:
TextgridPublishRequestProvide access to the Textgrid Publish Service using XML data binding.
API docs: https://textgridlab.org/doc/services/submodules/kolibri/kolibri-tgpublish-service/docs/index.html
- copy(sid: str, textgrid_uris: List[str], project_id: str) str
Copies the objects belonging to the given URIs to the given project ID.
Also copies all aggregated objects (from aggregations/editions/collections).
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
UUID of copy job queued
- Return type:
- copy_to_new_revision(sid: str, textgrid_uris: List[str]) str
Copies the objects belonging to the given URIs to new revisions of themselves.
Also copies all aggregated objects (from aggregations/editions/collections).
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
UUID of copy job queued
- Return type:
- get_status(job_id: str) PublishResponse
Get status for job specified by job_id.
- Parameters:
job_id (str) – ID of job to get the status for
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
publish response object
- Return type:
- publish(sid: str, textgrid_uri: str, ignore_warnings: bool = False, dry_run: bool = True) str
Publish the edition or collection belonging to the given URIs.
Also publish all aggregated objects (from aggregations/editions/collections)
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
just an OK if the job started
- Return type:
- publish_worldreadable(sid: str, textgrid_uri: str, ignore_warnings: bool = False, dry_run: bool = True) str
Publish the technical object with given URI.
Worldreadable objects are some technical objects which may be published independently of editions or collections. Get a list of allowed mime types here: https://textgridlab.org/1.0/tgpublish/listWorldReadables
- Parameters:
- Raises:
TextgridPublishException – if HTTP status code >= 400 (# noqa: DAR402)
- Returns:
just an OK if the job started
- Return type:
- class tgclients.TextgridSearch(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>, nonpublic: bool = False)
Bases:
TextgridSearchRequestProvide access to the TextGrid search service using a XML data binding.
- children(textgrid_uri: str, sid: str | None = None) TextgridUris
List URIs for all children of this aggregation and its child aggregations.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
URIs for children of this aggregation and its child aggregations
- Return type:
- edition_work_metadata_for(textgrid_uri: str, sid: str | None = None) Response
Find parent edition for an object and the edition and work metadata.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- Edition and work metadata for given object
from first matching parent edition
- Return type:
SearchResponse
- get_project_info(project_id: str, sid: str | None = None) Dict
Get project information for a single project.
This includes portalconfig, readme.md, title, etc.
- info(textgrid_uri: str, sid: str | None = None) Response
Retrieve metadata for a textgrid object specified by its textgrid-uri.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
metadata for uri
- Return type:
SearchResponse
- list_aggregation(textgrid_uri: str, sid: str | None = None) Response
Get child resources of an aggregation.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
A list of textgrid metadata entries
- Return type:
SearchResponse
- list_project_infos(sid: str | None = None) Dict
Get project information for all projects.
This includes portalconfig, readme.md, title, etc.
- Parameters:
sid (Optional[str], optional) – Session ID. Defaults to None.
- Returns:
JSON response from service - readme.md, portalconfig etc
- Return type:
Dict
- list_project_root(project_id: str, sid: str | None = None) Response
Get objects belonging to a project.
These are filtered by objects that are in an aggregation in the same project.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
A list of textgrid metadata entries
- Return type:
SearchResponse
- search(query: str | None = '*', sid: str | None = None, target: str | None = None, order: str | None = None, start: str | None = None, limit: int | None = None, kwic_width: int | None = None, word_distance: int | None = None, path: bool | None = None, all_projects: bool | None = None, sandbox: bool | None = None, filters: List[str] | None = None, facet: List[str] | None = None, facet_limit: int | None = None) Response
Run fulltext queries or filters on TextGrid metadata and fulltext objects.
- Please note: as the defaults of this function are mostly set to None, the defaults from
the service are used, and also noted in this docstring. see: http://textgridlab.org/doc/services/submodules/tg-search/docs/api/search.html
- Parameters:
query (Optional[str]) – Lucene search string. Defaults to ‘*’.
sid (Optional[str]) – TextGrid SessionID from tgauth. Defaults to None.
target (Optional[str]) – where to do fulltext-searches: one of ‘structure’, ‘metadata’ and ‘both’. Defaults to ‘both’.
order (Optional[str]) – key-value ascending (asc) or descending (desc) and metadata-field like asc:title or desc:author. Defaults to ‘relevance’.
start (Optional[str]) – result to start with. a number or the result from the last search results next attribute. number only works up to 10.000 hits.
limit (Optional[int]) – number of entries to return.. Defaults to 20.
kwic_width (Optional[int]) – number of chars before and after a kwic match. Defaults to 40.
word_distance (Optional[int]) – max distance beetween two words in fulltext query. ignored if set to a number < 0, then for a hit all words must be contained in one document. Defaults to -1.
path (Optional[bool]) – path of found result(work->edition->aggregations) should be applied to hit. Defaults to false.
all_projects (Optional[bool]) – all Projects should be searched for public data, warning: this query may be slow, if many results found. Defaults to false.
sandbox (Optional[bool]) – show sandboxed (not yet finally published) data. Defaults to false.
filters (Optional[List[str]]) – add filter on query results, e.g. for faceting. Defaults to None.
facet (Optional[List[str]]) – get facets for query results. Defaults to None.
facet_limit (Optional[int]) – number of results to return for each facet. Defaults to 10.
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- a list of textgrid metadata entries,
KWIC hits, paths and facets if requested
- Return type:
SearchResponse
- exception tgclients.TextgridSearchException
Bases:
ExceptionException communicating with tgsearch!
- class tgclients.TextgridSearchRequest(config: ~tgclients.config.TextgridConfig = <tgclients.config.TextgridConfig object>, nonpublic: bool = False)
Bases:
objectProvide low level access to the TextGrid search service, returning the response objects.
- children(textgrid_uri: str, sid: str | None = None) Response
List URIs for all children of this aggregation and its child aggregations.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- HTTP response from service - URIs for children of this
aggregation and its child aggregations
- Return type:
- edition_work_metadata_for(textgrid_uri: str, sid: str | None = None) Response
Find parent edition for an object and the edition and work metadata.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- HTTP response from service - edition and work metadata for given object
from first matching parent edition
- Return type:
- get_project_info(project_id: str, sid: str | None = None) Response
Get project information for a single project.
This includes portalconfig, readme.md, title, etc.
- info(textgrid_uri: str, sid: str | None = None) Response
Retrieve metadata for a textgrid object specified by its textgrid-uri.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
metadata for uri
- Return type:
- list_aggregation(textgrid_uri: str, sid: str | None = None) Response
Get child resources of an aggregation.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
HTTP response from service, containing a list of textgrid metadata entries
- Return type:
- list_project_infos(sid: str | None = None) Response
Get project information for all projects.
This includes portalconfig, readme.md, title, etc.
- list_project_root(project_id: str, sid: str | None = None) Response
Get objects belonging to a project.
These are filtered by objects that are in an aggregation in the same project.
- Parameters:
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
HTTP response from service, containing a list of textgrid metadata entries
- Return type:
- search(query: str | None = '*', sid: str | None = None, target: str | None = None, order: str | None = None, start: str | None = None, limit: int | None = None, kwic_width: int | None = None, word_distance: int | None = None, path: bool | None = None, all_projects: bool | None = None, sandbox: bool | None = None, filters: List[str] | None = None, facet: List[str] | None = None, facet_limit: int | None = None) Response
Run fulltext queries or filters on TextGrid metadata and fulltext objects.
- Please note: as the defaults of this function are mostly set to None, the defaults from
the service are used, and also noted in this docstring. see: http://textgridlab.org/doc/services/submodules/tg-search/docs/api/search.html
- Parameters:
query (Optional[str]) – Lucene search string. Defaults to ‘*’.
sid (Optional[str]) – TextGrid SessionID from tgauth. Defaults to None.
target (Optional[str]) – where to do fulltext-searches: one of ‘structure’, ‘metadata’ and ‘both’. Defaults to ‘both’.
order (Optional[str]) – key-value ascending (asc) or descending (desc) and metadata-field like asc:title or desc:author. Defaults to ‘relevance’.
start (Optional[str]) – result to start with. a number or the result from the last search results next attribute. number only works up to 10.000 hits.
limit (Optional[int]) – number of entries to return.. Defaults to 20.
kwic_width (Optional[int]) – number of chars before and after a kwic match. Defaults to 40.
word_distance (Optional[int]) – max distance beetween two words in fulltext query. ignored if set to a number < 0, then for a hit all words must be contained in one document. Defaults to -1.
path (Optional[bool]) – path of found result(work->edition->aggregations) should be applied to hit. Defaults to false.
all_projects (Optional[bool]) – all Projects should be searched for public data, warning: this query may be slow, if many results found. Defaults to false.
sandbox (Optional[bool]) – show sandboxed (not yet finally published) data. Defaults to false.
filters (Optional[List[str]]) – add filter on query results, e.g. for faceting. Defaults to None.
facet (Optional[List[str]]) – get facets for query results. Defaults to None.
facet_limit (Optional[int]) – number of results to return for each facet. Defaults to 10.
- Raises:
TextgridSearchException – if HTTP status code >= 400
- Returns:
- HTTP response from service - a list of textgrid metadata entries,
KWIC hits, paths and facets if requested
- Return type:
- class tgclients.Utils
Bases:
objectUtility functions for working with the TextGrid repository.