Connecting libraries to pyRevit

Hi, everyone!
Tell me, please, how to include libraries in pyRevit.
I have a tab project in VS, I make a file with a .py extension and write it there

doc = __revit__.ActiveUIDocument.Document
__assembly__ = "PenetrationsEX"
__commandclass__ = "LinkSectionBox".

But the class does not start this way, although the project runs separately.

I don’t want to sound rude but I have no idea what you’re saying.
Can you elaborate a bit more?

hmm,
Perhaps what you’re looking for can be found here;
Anatomy of a pyRevit Script — pyRevit 4.5 documentation (pyrevit1.readthedocs.io)
pyrevit — pyRevit 4.5 documentation (pyrevit1.readthedocs.io)

How should I correctly connect libraries, written in C#?

How to do logging and understand, where things are wrong?