Hi @Yasaman, welcome to the forum!
The official way of adding libraries to pyrevit is to create a lib extension (see here for a quick guide or here for a videoon how to do this).
Let us know if this solves your problem!