Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for parsing protocols #63

Open
asinghvi17 opened this issue Aug 27, 2024 · 1 comment
Open

Support for parsing protocols #63

asinghvi17 opened this issue Aug 27, 2024 · 1 comment

Comments

@asinghvi17
Copy link

It's pretty common to address files as:

protocol://path/to/file

examples of protocol being file, http[s], s3, ftp, but also things like reference (for https://fsspec.github.io/kerchunk/) or even more exotic protocols.

Should there be some form of protocol registry, and maybe an edit to the @p_str macro, which will return the correct path type if that package is loaded, and an informative error ("please load AWSS3.jl for S3 paths") if not?

For reference, https://github.com/JuliaIO/Zarr.jl already does this kind of thing, and I'd like to port quite a few of their Store objects over to a FilePathsBase like interface, since the hard work has already been mostly done.

@rofinn
Copy link
Owner

rofinn commented Sep 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@rofinn @asinghvi17 and others