Simple Panel script is not appearing on 3d view
You are missing one underscore under the registration above the last line in __main__
It reads
if __name__ == &quot;__main_&quot;:
    register()

but is supposed to read
if __name__ == &quot;__main__&quot;:
    register()