The autocomplete function is generic and could be made into its own module. Examples: b -> bpy bpy.data.mes -> bpy.data.meshes bpy.ops.OB -> bpy.ops.OBJECT_OT_ bpy.data.objects[0].a -> (options) active_material, active_material_index, active_particle_system, active_particle_system_index, active_shape_key, active_shape_key_index, active_vertex_group, active_vertex_group_index, animation_data