OnedataFS is a PyFilesystem interface to Onedata virtual file system.
As a PyFilesystem concrete class, OnedataFS allows you to work with Onedata in the same way as any other supported filesystem.
You can install OnedataFS from pip as follows:
pip install fs-onedatafs
Open an OnedataFS by explicitly using the constructor:
from fs.onedatafs import OnedataFS
onedata_provider_host = "..."
onedata_access_token = "..."
odfs = OnedataFS(onedata_provider_host, onedata_access_token)
Or with a FS URL:
from fs import open_fs
odfs = open_fs('onedatafs://HOST?token=...')
Onedata FS supports in addition to standard PyFilesystem API operations on metadata via POSIX compatible extended attributes API.