fsspec / universal_pathlib

pathlib api extended to use fsspec backends
MIT License
239 stars 41 forks source link

accept proper URI #10

Closed brl0 closed 3 years ago

brl0 commented 3 years ago

I think this project is a great idea! I hope to make use of it to simplify and standardize some file operations, mostly for gcs and s3 storage but keeping flexibility for local storage.

It would be nice it UPath would accept a proper URI, with double slashes rather than a single slash, such as "s3://spacenet-dataset/".

image

@andrewfulton9, would this be possible to do? I would be happy to assist in any way I can.

andrewfulton9 commented 3 years ago

Thanks @brl0! I agree and should be a relatively easy fix. I'll push up a fix for that asap. Let me know how gcs goes. I haven't tried that filesystem yet with it.

brl0 commented 3 years ago

Thanks! So far so good on GCS, have only done a couple of things with it and no issues yet, but I will let you know if I run into any.

andrewfulton9 commented 3 years ago

This should be all fixed, so im going to go ahead and close. Thanks!