I felt very safe in terms of crime. Subjectively I felt safe, but also objectively crime rates are low in India, I think. (Obviously hard to compare crime rates and I forget the exact metric I am basing this off.)
Even though my bike and laptop were probably a year's salary for somebody there, I never felt like it or myself were in danger.
Toward the end of the trip I remember being chased by a scooter honking at me and waving me down. He handed me my wallet. Turned out I had left the zipper on my bag open and my wallet had fallen out. He found it on the ground, saw me in the distance, and chased after me to hand it back. I had maybe $100 in cash in there (which is like $1000 adjusting for purchasing power) and of course it was all there.
Everyone in India is so kind and welcoming. There is no concept of personal space or privacy, but that also means everybody is your friend.