fsspec / universal_pathlib

pathlib api extended to use fsspec backends
MIT License
251 stars 44 forks source link

Async support #110

Open danielgafni opened 1 year ago

danielgafni commented 1 year ago

It would be great to have async support like aiopath has. Currently one needs to fallback to filesystem-specific libraries to write async code (as some of them support asynchronous=True).

ap-- commented 1 year ago

Interesting! Yes that definitely sounds like a good addition.

I will checkout aiopath and think about how to best provide async methods for UPath.

It would be valuable to know if there are any issues with aiopath's design or if a similar implementation would provide everything that's needed.

drernie commented 1 year ago

I'm a huge fan of anyio for solving these issues (across aio and trio). v4 should be out shortly