OMERO PyFileSystem2 implementation
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.
Metadata
Release files for fs-omero-pyfs 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fs-omero-pyfs-0.0.5.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fs_omero_pyfs-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / fs-omero-pyfs-0.0.5.tar.gz
| Download URL | fs-omero-pyfs-0.0.5.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ce8aeba8515514fc67ae7801e535665a61c379674ea849358cd2de9d340daa1
|
|
BLAKE2b-256 checksum How to use checksums |
857c8905e75fb25281411b451075c214a58fbb6d03ad9742aa0cd74b1b2ce0c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / fs_omero_pyfs-0.0.5-py3-none-any.whl
| Download URL | fs_omero_pyfs-0.0.5-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d014bdb1f4aa551b30ea30873938e3de0dbbca6d0b1e36ec388fb93935a799b
|
|
BLAKE2b-256 checksum How to use checksums |
dfaccfd188d1ff9b35dc37a40d2d18dbb985986eed2632968bcfd47427758537
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|