universal_pathlib icon indicating copy to clipboard operation
universal_pathlib copied to clipboard

pathlib api extended to use fsspec backends

Results 82 universal_pathlib issues
Sort by recently updated
recently updated
newest added

Given this ``` print([f for f in path.glob("**/*") if f.is_file() ]) ``` if `path` is a `Path` from `pathlib` holding a folder, that would return all the files recursively contained...

Constructing a fsspec fs can get tricky. Alternatively, bypass trying to interpret the arguments and have that be the user's responsibility.

@andrewfulton9, As mentioned in PR #32, the notebook output needs to be updated, but there were a couple of issues, as stated in a comment to the PR: > The...

This is not urgent, but based on my very limited and quick testing, it seems that fsspec [URL chaining](https://filesystem-spec.readthedocs.io/en/latest/features.html#url-chaining) may not work properly. It is possible I was not doing...

enhancement :rocket:

_Update: Python3.13 naming for "flavour" is now "parser", see `ParserBase`_ https://github.com/barneygale/pathlib-abc/blob/e429fd2ae079d3c623e687715a8133f4c4769ed2/pathlib_abc/__init__.py#L38 #### Issue Starting new issue as requested based on comment in issue #26. > after digging deeper into the...

compatibility :handshake:

Hey! I am trying to write a pickled object to google storage and I am getting `FileNotFoundError`. Here is a minimal script reproducing the problem: ```python from upath import UPath...

``` UPath('a').joinpath(UPath('s3:///b')) ``` This call will return `PosixUPath('/b')`, but ``` UPath('a').joinuri(UPath('s3:///b')) ``` will return `S3Path('s3:///b')`. Maybe in `joinpath`, we should return just the second path when the second path has...

bug

`S3Path.touch` with `exist_ok=True` on existing file raises an error. [Here](https://github.com/fsspec/universal_pathlib/blob/569ceabb73503c20521949b6a5c7e3de8c6d411f/upath/core.py#L756) `exist_ok=True` sets `truncate` to `False` and this raises the error [here ](https://github.com/fsspec/s3fs/blob/3966b39c5d57ba14fc8fb543c1d80f66648a4096/s3fs/core.py#L1095) On 0.1.4 it worked fine.

bug

Close #214 Test that should pass if the local path code worked as expected