docs: def packages(self, name=None, memory=None, disk=None, swap=None,
                  version=None, vcpus=None, group=None):
          """
          ::
          
              GET /:login/packages
          
          :param name: the label associated with the resource package
          :type name: :py:class:`basestring`
          
          :param memory: amount of RAM (in MiB) that the package provisions
          :type memory: :py:class:`int`
          
          :param disk: amount of disk storage (in MiB) the package provisions
          :type disk: :py:class:`int`
          
          :param swap: amount of swap (in MiB) the package provisions
          :type swap: :py:class:`int`
          
          :param version: the version identifier associated with the package
          :type version: :py:class:`basestring`
          
          :param vcpus: the number of virtual CPUs provisioned with the package
          :type vcpus: :py:class:`int`
          
          :param group: the group to which the package belongs
          :type group: :py:class:`basestring`
          
          :Returns: packages (machine "sizes", with resource types and values) 
              available in this datacenter.
          :rtype: :py:class:`list` of :py:class:`dict`\s
          """
          params = {}
          if name:
              params['name'] = name
          if memory:
              params['memory'] = memory
          if disk:
              params['disk'] = disk
          if swap:
              params['swap'] = swap
          if version:
              params['version'] = version
          if vcpus:
              params['vcpus'] = vcpus
          if group:
              params['group'] = group
          j, _ = self.request('GET', '/packages', params=params)
          return j