def create_category(name, description):
try:<EOL><INDENT>category = dict(name=name, short_name=name.lower().replace("<STR_LIT:U+0020>", "<STR_LIT>"),<EOL>description=description)<EOL>res = _pybossa_req('<STR_LIT>', '<STR_LIT>', payload=category)<EOL>if res.get('<STR_LIT:id>'):<EOL><INDENT>return Category(res)<EOL><DEDENT>else:<EOL><INDENT>return res<EOL><DEDENT><DEDENT>except:  <EOL><INDENT>raise<EOL><DEDENT>
Create a Category.

    :param name: PYBOSSA Category Name
    :type name: string
    :param description: PYBOSSA Category description
    :type decription: string
    :returns: True -- the response status code