I am new to PyOpenGl and want to use 2D graphics, to
create rectangle to represent some information. Is there any 2D graphics
library that is supported by pygame and will be a better option instead of
using PyOpenGl?
You're right. In my opinion, PyOpenGL for 2D is overkill. I'm a little confused--Pygame is a 2D graphics thing.