Skip to content

Expose python interface across all user-facing functionality #313

@davidwyld

Description

@davidwyld

Feature Request
It would be great if all CLI methods were also exposed in the python interface similarly to what was done with route extraction (#289). Additionally, all interfaces should allow python objects to be passed as input as well as files. This is already done in some cases and it's much nicer than having to write a python object to file in order to use a polarroute function.

Specifically, I want to be able to call calculate_route from python but what I'm having to do is find how this is handled in the entry point, e.g. with route_calc (which is exposed in the python interface) but unfortunately only takes files as input at the moment.

Additional Labelling Required!
Please make sure to tag this issue to the right project page, also supplying the status Feature & Enhancement. Please make sure to check this project page before supplying duplicate feature requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementGeneral improvements to the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions