I wrote a tiny wrapper for easier I²C access from Linux user space: github.com/Eden-Sheiko/I2C
.
It abstracts away the ioctl boilerplate and gives you quick helpers for read/write.
If you see things to add or improve, feel free to open a PR.
Show HN: Simple Linux userspace I²C wrapper | Heykuki News