pathlib-abc icon indicating copy to clipboard operation
pathlib-abc copied to clipboard

Python base classes for rich path objects

Results 13 pathlib-abc issues
Sort by recently updated
recently updated
newest added

Is it unreasonable or incorrect to expect users to instantiate an `os.stat_result` object? It's a little tricky.

Per https://github.com/justindujardin/pathy/issues/105#issuecomment-1885429940

Some file formats and backends, like `.tar` files, Git, or Google Cloud Storage, store objects in a flat namespace rather than a tree of directory/file entries. These systems: - Do...

Add methods like `PathBase.copy()` and `copytree()` that support copying files and directories from one path object to another. `PathBase.copy()` should: - Call `open()` methods on the source and destination to...

Hello, I just need to a simple clarification about the Python license, in terms of which SPDX identifier to use. I see the license text was changed to the [PSF...

It should be possible to implement copying filters similar to `tarfile` extraction filters: https://docs.python.org/3/library/tarfile.html#extraction-filters

In user implementations of `WritablePath._copy_from()`, it's often useful to know the size of the source file before starting the copy. We should add `PathInfo.filesize()` (or just `size()`?) to make this...

To support metadata transfers, we need to add a method to `WritablePath` that allows receivers to copy metadata from some `ReadablePath` source. Currently we have `_copy_from()`, but it's got an...

Should `JoinablePath.__str__()` be an abstract method (status quo), or should it provide a default implementation that returns `self.parser.join(*self.segments)`, where `JoinablePath.segments` is a new abstract property? Upstream issue: https://github.com/python/cpython/issues/131916

Hello, We are trying to implement an interface similar to `pathlib.Path` for a remote posix filesystem (more specifically, to access files on the main Kubernetes container from a [sidecar container](https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/)...