code: def create_catalog_by_name(name, T="general"):
      
      result = util.callm("catalog/create", {}, POST=True, 
                              data={"name":name, "type":T})
      result = result['response']
      return Catalog(result['id'], **dict( (k,result[k]) for k in ('name', 'type')))
docs: Creates a catalog object, with a given name. Does not check to see if the catalog already exists.
  
      Create a catalog object like