pyfilesystem2
pyfilesystem2 copied to clipboard
Python's Filesystem abstraction layer
https://github.com/PyFilesystem/pyfilesystem2/blob/2d0ffc34a2127db3fdf0f8fef6f4644bf7500a1e/fs/error_tools.py#L87 This compares a tuple to int and is always false.
I have an FTPS server I'm trying to connect to, but it has an expired cert. I'd like to specify the host key I expect the server to have when...
I haven't quite grasped the whole concepts of how the "info" namespaces work but just letting the tests run, I found this piece: https://github.com/PyFilesystem/pyfilesystem2/blob/f6a6195d10452da79b0068a7003042fa03c87ab4/fs/test.py#L1179 `new_info` actually never contains "_write" as...
This is intended for maintainers, but anyone can chip in if they like. You might have noticed I've not been that active on PyFilesystem for a while, issues and PRs...
Pardon me if this has come up before. I did an issue search for `on_copy` and didn't find any discussion that seemed specific to what I'm thinking about. I've got...
According to [RFC 3659](https://tools.ietf.org/html/rfc3659#section-3.4), FTP timestamps can optionally support milliseconds. At the moment, `fs.ftpfs.FTPFS._parse_ftp_time` only supports a resolution of whole seconds.
I would like to suggest that it would be a valuable enhancement to add the ability to set & query size limits, especially for the memory & temp file systems....
setuptools' pkg_resources is considered sort of deprecated nowadays, and it's being replaced by [importlib.resources](https://docs.python.org/3.7/library/importlib.html#module-importlib.resources) (added to python3.7 stdlib) and [importlib.metadata](https://docs.python.org/3.8/library/importlib.metadata.html) (included in python3.8). Both of the latter have backports on...
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [x] Other ## Checklist - [...
Is there a method that supports directly open a file URL like `smart-open`? https://pypi.org/project/smart-open/ ``` open('s3://commoncrawl/robots.txt') ```