you can still use it by changing the base_url (see Quickstart — openrouteservice-py 0.4 documentation ) the new URL, as the parameters remained mostly the same (but check release docs to be sure).
As an alternative or if you need the export or snapping endpoint, you can do the requests natively in python.
You can use the interactive docs to generate examles for python for any request.
Best regards