def package(self, name):
if isinstance(name, dict):<EOL><INDENT>name = name.get('<STR_LIT:id>', name.get('<STR_LIT:name>'))<EOL><DEDENT>j, _ = self.request('<STR_LIT:GET>', '<STR_LIT>' + str(name))<EOL>return j<EOL>
::

    GET /:login/packages/:package

:param name: the name identifying the package
:type dataset_id: :py:class:`basestring` or :py:class:`dict`

:rtype: :py:class:`dict`

Gets a dict representing resource values for a package by name. If 
passed a dict containing a `name` key, it uses the corresponding 
value.