def _make_kind_category(label):
    import atom
    if label is None:
        return None
    documents_namespace = 'http://schemas.google.com/docs/2007'
    return atom.Category(scheme=gdata.docs.service.DATA_KIND_SCHEME,
                         term=documents_namespace + '#' + label, label=label)
Stolen from gdata-2.0.10 docs.service.
dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/docs/service.py/_make_kind_category