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.

Source Distribution

fs-omero-pyfs-0.0.5.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

fs_omero_pyfs-0.0.5-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file fs-omero-pyfs-0.0.5.tar.gz.

File metadata

  • Download URL: fs-omero-pyfs-0.0.5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for fs-omero-pyfs-0.0.5.tar.gz
Algorithm Hash digest
SHA256 4ce8aeba8515514fc67ae7801e535665a61c379674ea849358cd2de9d340daa1
MD5 3bb6e54886aa8f5204a2d8e06b9c185b
BLAKE2b-256 857c8905e75fb25281411b451075c214a58fbb6d03ad9742aa0cd74b1b2ce0c4

See more details on using hashes here.

File details

Details for the file fs_omero_pyfs-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: fs_omero_pyfs-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for fs_omero_pyfs-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1d014bdb1f4aa551b30ea30873938e3de0dbbca6d0b1e36ec388fb93935a799b
MD5 541b36bd49d541461933c59e76a17bc7
BLAKE2b-256 dfaccfd188d1ff9b35dc37a40d2d18dbb985986eed2632968bcfd47427758537

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page