This simple script fetches a geographic node (with latitude and longitude) and sends the data to routing APIs giving distance and duration as outputs.
If you can't connect to the Neo4j DBMS editing the configuration file may be needed.
Link to routingpy documentation: https://routingpy.readthedocs.io/en/latest/#module-routingpy.routers
These scripts are fairly similar with each other, with slight differences.