parameters: (self, metadata)
return_statement: return self.send_request(request)
docstring: Register a distribution on PyPI, using the provided metadata.
  
          :param metadata: A :class:`Metadata` instance defining at least a name
                           and version number for the distribution to be
                           registered.
          :return: The HTTP response received from PyPI upon submission of the
                  request.
docstring_summary: Register a distribution on PyPI, using the provided metadata.
docstring_tokens: Register a distribution on PyPI using the provided metadata .
function: def register(self, metadata):
          """
          Register a distribution on PyPI, using the provided metadata.
  
          :param metadata: A :class:`Metadata` instance defining at least a name
                           and version number for the distribution to be
                           registered.
          :return: The HTTP response received from PyPI upon submission of the
                  request.
          """
          self.check_credentials()
          metadata.validate()
          d = metadata.todict()
          d[':action'] = 'verify'
          request = self.encode_request(d.items(), [])
          response = self.send_request(request)
          d[':action'] = 'submit'
          request = self.encode_request(d.items(), [])
          return self.send_request(request)
function_tokens: def register ( self , metadata ) : self . check_credentials ( ) metadata . validate ( ) d = metadata . todict ( ) d [ ':action' ] = 'verify' request = self . encode_request ( d . items ( ) , [ ] ) response = self . send_request ( request ) d [ ':action' ] = 'submit' request = self . encode_request ( d . items ( ) , [ ] ) return self . send_request ( request )