Is there anyway I could register button pushes on a joystick without using any function from pygame?
If you're looking for a way to do it with just the standard Python library, the answer is probably "no" - or at the very least, "not in any straightforward manner". There are many things in the standard library, but gaming hardware support is not one of them.
Detecting an arbittrary button press on a USB joystick WITHOUT pygame