Skip to main content

A suite of convenience functions for working with OMERO. Written and maintained by the Research IT team at The Jackson Laboratory.

Project description

badge-doi

ezomero

A module with convenience functions for writing Python code that interacts with OMERO.

Installation

ezomero's dependencies are easily pip-installable from PyPI, except for zeroc-ice==3.6.5. For those, we recommend pip-installing using one of the wheels provided by Glencoe Software (use the one compatible with your OS/Python version - link provided is for Linux wheels, for more information see this Glencoe Software blog post).

In general, we strongly recommend starting from a clean virtual environment, pip installing zeroc-ice from a Glencoe wheel, and only then doing pip install ezomero.

If you want to use get_table and post_table to/from Pandas dataframes, you need to install ezomero[tables] - that install an optional pandas dependency. Installing ezomero without this will default get_table and post_table to use lists of row lists as their default.

Usage

In general, you will need to create a BlitzGateway object using ezomero.connect(), then pass the conn object to most of these helper functions along with function-specific parameters.

Documentation

Documentation is available at https://thejacksonlaboratory.github.io/ezomero/

Development

You will need Docker installed and running to run the tests.

Setup your "omero" python environment with a local ezomero and pytest:

> conda activate omero  # Activate your omero environment with conda or pip
(omero) > cd /your_local_clone/ezomero
(omero) > pip install -e .
(omero) > pip install pytest

To run the tests, startup the test OMERO server with Docker and run pytest

> cd /your_local_clone/ezomero
> docker-compose -f tests/docker-compose.yml up -d
> conda activate omero
(omero) > python -m pytest .\tests

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

ezomero-3.1.0.tar.gz (56.7 kB view details)

Uploaded Source

Built Distribution

ezomero-3.1.0-py3-none-any.whl (62.8 kB view details)

Uploaded Python 3

File details

Details for the file ezomero-3.1.0.tar.gz.

File metadata

  • Download URL: ezomero-3.1.0.tar.gz
  • Upload date:
  • Size: 56.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for ezomero-3.1.0.tar.gz
Algorithm Hash digest
SHA256 4b681333d8d56077ac14062dc9109a0d5aad033d5287e14fc8c4c616b129e162
MD5 7db0f89d7ceee82e446b2ef4bb280993
BLAKE2b-256 98c99362b8f9388fa90ba15925e13ceb5b4a2dc0c018ada37d6242dd8f5257d9

See more details on using hashes here.

File details

Details for the file ezomero-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: ezomero-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 62.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for ezomero-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00b090e9209f4a1c5a5c9debf7f95b1453c38a9a14c65b04dca447f32900cb61
MD5 7d9bb389dc772148fc75c2c0bb208070
BLAKE2b-256 b309f22eb7deb096ab39dbd67ac5ec490edd585ed9c826c1dc08ee0f22301fa4

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