def tagify(suffix='', prefix='', base=SALT):
 parts = [base, TAGS.get(prefix, prefix)]
 if hasattr(suffix, 'append'):
  parts.extend(suffix)
 else:
  parts.append(suffix)
 return TAGPARTER.join([part for part in parts if part])

def tagify ( suffix = '' , prefix = '' , base = SALT ) : parts = [ base , TAGS . get ( prefix , prefix ) ] if hasattr ( suffix , 'append' ) : parts . extend ( suffix ) else : parts . append ( suffix ) return TAGPARTER . join ( [ part for part in parts if part ] )
convenience function to build a namespaced event tag string from joining with the tabpart character the base .