Is it Trudy Canavan's Thief's Magic?
In a world where an industrial revolution is powered by magic, Tyen, a student of archaeology, unearths a sentient book called Vella. Once a young sorcerer-bookbinder, Vella was transformed into a useful tool by one of the greatest sorcerers of history...
Elsewhere, in an land ruled by the priests, Rielle the dyer’s daughter has been taught that to use magic is to steal from the Angels. Yet she knows she has a talent for it, and that there is a corrupter in the city willing to teach her how to use it...