Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.19 KB

README.rst

File metadata and controls

51 lines (34 loc) · 1.19 KB

OnedataFS

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.

Installing

You can install OnedataFS from pip as follows:

pip3 install fs-onedatafs

Opening a 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=...')

Extended attributes

Onedata FS supports in addition to standard PyFilesystem API operations on metadata via POSIX compatible extended attributes API.

Documentation