Skip to main content

OMERO PyFilesystem2 filesystem

Project description

OMERO PyFileSystem2 implementation

Build Status PyPI

A Python filesystem abstraction layer that stores files in OMERO.

Installation

pip install fs-omero-pyfs

Example

import fs
fs_url = 'omero://{username}:{password}@{omerohost}'
root = fs.open_fs(fs_url)

OMERO websockets are supported:

fs_url = 'omero+wss://{username}:{password}@{omerohost}/omero-ws'

Caching is highly recommended. cache_ttl is specified in seconds, 0 disables caching.

fs_url = 'omero://{username}:{password}@{omerohost}?cache_ttl=120'

The OMERO group can be changed by passing a query parameter groupid=1234.

Development notes

Directories are stored as TagAnnotations in a dedicated namespace. Sub-directories are linked by an AnnotationAnnotationLink to the parent directory.

Files are stored as OriginalFiles, linked by an OriginaFileAnnotationLink to the parent directory. The path property of the OriginalFile is ignored, only name is used.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fs-omero-pyfs, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size fs_omero_pyfs-0.0.5-py3-none-any.whl (8.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size fs-omero-pyfs-0.0.5.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page