Before anything, please excuse my clear confusion over what is probably a non-issue. Computer security is definitely not my expertise, so any and all help is appreciated.
I recently installed a Python package through pip that does not have many github stars and from a relatively unknown author (https://github.com/realiti4/pip-upgrade). Through its execution I got an user access error, so I ran the command on a CMD with admin privileges to try to fix the problem. I then realized I just ran code from an unknown source with admin privileges, which really is not a good idea.
Because I am not proficient enough at programming to really understand the github source, I can't tell if the code is "clean" or if it might have done something to my computer. Please note I have nothing against this specific package or its author; if anything, their package seems very useful, which is why I tried to use it in the first place. The burden lies on me for messing with things that I do not understand.
My question is: is there anything I can do to check that my computer isn't compromised (e.g., would a whole-system scan with Windows Defender be enough)? I am almost certain that the package I mentioned is safe and I'm making a storm out of a glass of water, but I'm worried since I would not be able to identify any suspicious source code by looking at it due to my lack of knowledge.
In summary: I'd be thankful for any indication that the package is indeed safe, or for a method by which I may check I'm not compromised. Furthermore, any advice on "staying safe" when installing and using python packages is appreciated.