code: def do_get(self, line):
          
  
          table, line = self.get_table_params(line)
  
          if line.startswith('(') or line.startswith('[') or "," in line:
              print "batch: not yet implemented"
              return
  
              # list of IDs
              list = self.get_list(line)
  
              from collections import OrderedDict
  
              ordered = OrderedDict()
              for id in list:
                  if not isinstance(id, tuple):
                      hkey = self.get_typed_key_value(table, unicode(id))
                      rkey = None
                  else:
                      hkey = self.get_typed_key_value(table, unicode(id[0]), True)
                      rkey = self.get_typed_key_value(table, unicode(id[1]), False)
  
                  ordered[(hkey, rkey)] = None
  
              batch = self.conn.new_batch_list()
              batch.add_batch(table, ordered.keys())
              response = batch.submit()
  
              hkey = table.schema.hash_key_name
              rkey = table.schema.range_key_name
  
              for item in response['Responses'][table.table_name]['Items']:
                  ordered[(item.get(hkey), item.get(rkey))] = item
  
              self.pprint(filter(None, ordered.values()))
          else:
              args = self.getargs(line)
  
              key = self.get_key_name_value(table, args[0], True)
              print key
  
              if len(args) > 1:
                  key.update(self.get_key_name_value(table, args[1], False))
  
              print key
  
              item = table.get_item(consistent=self.consistent, **key)
              self.pprint(item)
  
              if self.consumed:
                  print "consumed units:", item.consumed_units
docs: get [:tablename] {haskkey} [rangekey]
          or
          get [:tablename] ((hkey,rkey), (hkey,rkey)...)