Currently harp.import_product allows for a filename, list of filenames, a globbing (glob.glob()) pattern, or a list of globbing patterns.
In analogy to the commandline harpmerge, it would be handy if a .pth file (or list of .pth files) would also be allowed.
Of course, with some extra coding within python, one could first import the .pth file and convert to a list of filenames, and then put this as input to harp.import_product. But it would be easier if the harp python interface could directly do this.
Currently harp.import_product allows for a filename, list of filenames, a globbing (glob.glob()) pattern, or a list of globbing patterns.
In analogy to the commandline harpmerge, it would be handy if a .pth file (or list of .pth files) would also be allowed.
Of course, with some extra coding within python, one could first import the .pth file and convert to a list of filenames, and then put this as input to harp.import_product. But it would be easier if the harp python interface could directly do this.