Pathlib is the python standard library module to work with paths (https://docs.python.org/3/library/pathlib.html) and has many advantages compared to working with simple strings for filenames (at least in my experience). Many python libraries support paths both as strings or as Path objects, however in pdal you can only pass filenames as strings.
I think it could be a nice usability improvements if paths objects could be transparently converted to strings by pdal instead of requiring the user to do this
Pathlib is the python standard library module to work with paths (https://docs.python.org/3/library/pathlib.html) and has many advantages compared to working with simple strings for filenames (at least in my experience). Many python libraries support paths both as strings or as Path objects, however in pdal you can only pass filenames as strings.
I think it could be a nice usability improvements if paths objects could be transparently converted to strings by pdal instead of requiring the user to do this