code: def for_pixels(cls, pixel_x, pixel_y, zoom):
          
          tms_x = int(math.ceil(pixel_x / float(TILE_SIZE)) - 1)
          tms_y = int(math.ceil(pixel_y / float(TILE_SIZE)) - 1)
          return cls(tms_x=tms_x, tms_y=(2 ** zoom - 1) - tms_y, zoom=zoom)
docs: Creates a tile from pixels X Y Z (zoom) in pyramid