The inptools project provides a set of tools to work with files in the EPANET inp format.
The inp2shp command for example allows to convert an INP file into a collection of shapefiles for further processing using GIS software.
The shp2inp command reverses the processes by generating an INP file from a set of shapefiles.
These details are provided for information only. No information here is legal advice and should not be used as such.