moin icon indicating copy to clipboard operation
moin copied to clipboard

Use PyfileSystem2

Open ReimarBauer opened this issue 7 years ago • 0 comments

PyfileSystem2

Think of PyFilesystem's FS objects as the next logical step to Python's file objects. In the same way that file objects abstract a single file, FS objects abstract an entire filesystem.

  • https://www.pyfilesystem.org/
  • https://github.com/pyfilesystem/pyfilesystem2

In our case it handles zip or tar objects the same way as SVG or any text item. At least it may be useful to replace any container item storage.

if we add PyfileSystem2 to storage.backends.fileserver than a lot more filesystems could be used by this https://docs.pyfilesystem.org/en/latest/openers.html

ReimarBauer avatar Oct 27 '18 12:10 ReimarBauer