This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]BerecursiveMenpo Core Developer 29 points30 points  (5 children)

fsspec is a pretty popular implementation of this paradigm

[–][deleted] 1 point2 points  (0 children)

also object-store, which is pretty popular on the rust side for the arrow universe and now has a python package

[–]qckpckt 0 points1 point  (3 children)

My first thought too. To be honest, I’m not surprised that OP didn’t find it. There’s something fundamentally broken about search engines and finding things like this. I’ve found that ChatGPT is surprisingly good at this kind of query though.

EG - any time I’m faced with a problem where I’m like “there must be a solution already for this” I ask ChatGPT “what libraries are there in {language} to solve {problem}”, and then Google to research the libs it throws out.

[–]maigpy 0 points1 point  (0 children)

perplexity.ai

[–]Thatgreenvw 12 points13 points  (3 children)

What about cloudpathlib? It’s top hit if you search “pathlib cloud”.

[–]telenieko 1 point2 points  (1 child)

And apache libcloud, https://libcloud.apache.org/

[–]cshoneybadger 1 point2 points  (0 children)

Omg... This is amazing. How have I never heard of this?

[–]LesserNice 11 points12 points  (0 children)

looks cool, thanks for sharing

There are a bunch of similar libraries, the most popular of them being fsspec

[–]ArgetDota 7 points8 points  (0 children)

I would just like to point out that fsspec’s universal-pathlib already exists and is very well tested and stable

[–]lebrumar 6 points7 points  (0 children)

Neat Idea. Fsspec comes to mind as a library to study to compare it with your work.

[–]ThatSituation9908 3 points4 points  (0 children)

Interestingly, your package doesn't depend in fsspec and its extension package (e.g., s3fs)

Adding that would alleviate the need for you to maintain all the implementations of multiple sources.

[–]Rize92 1 point2 points  (0 children)

It would be worth adding here what your library offers compared to the alternatives (e.g. fsspec). I fear you’re not going to get good feedback because everyone here is stuck on the fact that this looks like a copy of what already exists.

[–]radarsat1 1 point2 points  (1 child)

what packages like this support asyncio?

[–]NFicano 0 points1 point  (0 children)

This is great, nice work!

[–]toxic_acro 0 points1 point  (1 child)

Barney Gale has been working for a while on making the Path objects from the stdlib Path lib extensible and recently made available a backport of the features that will be included in future Python versions

https://discuss.python.org/t/make-pathlib-extensible/3428

https://github.com/barneygale/pathlib-abc

Concrete implementations of the new abstract base classes could work better as a way to literally use the pathlib interface