Utilize motion sensor in Pyhton

Hi,

I am working on ibeacon detection with raspberry PI using pyhton. Is there a way to acquire motion sensor data with python?

iBeacon packets does not carry any sensor information. If you want to read things like temperature, acceleration, light etc. you need to listen for Estimote Telemetry packet (if your beacon supports it, check that in Estimote Cloud).
Here you can find information about parsing Telemetry and Nearables packets. It is written in Node.js (I don’t know about any implementation in Python) so you either need to port it to Python or send to you other program using sockets (or other IPC).