How to get the name of the object from its coordinates (in object mode)?
All objects with origin within a tolerance of cursor.

Simple script to make a list of all objects whose origin is within a tolerance TOL of the scene.cursor_location.

import bpy

from bpy import context
scene = context.scene

TOL = 0.1 # get all objects within 0.1 bu of loc
#use cursor for location
loc = scene.cursor_location

obs_in_location = [o for o in scene.objects
        if (o.matrix_world.translation - loc).length &lt; TOL]

print(len(obs_in_location), " at ", loc)
if len(obs_in_location):
    for o in obs_in_location:
        print("\t", o.name)