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.2.1.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ezomero-3.2.1-py3-none-any.whl (43.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ezomero-3.2.1.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ezomero-3.2.1.tar.gz
Algorithm Hash digest
SHA256 815b032f3dee3eebbb58155911b3383884aa9332d830fd41dfe63879f0ec406c
MD5 afd3c3eed9303507be6f2f85885e7c9f
BLAKE2b-256 0690f5e7267a4652e1ef5fe58dcd8f4aad6a4dcfff0a4e23f8e13d894b8da1a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ezomero-3.2.1-py3-none-any.whl
  • Upload date:
  • Size: 43.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ezomero-3.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5c1a6d12db6e4c5d93e1b729e887caf93fe95be67e9c9f7110a553fcae5535b
MD5 34c7414b7b1e09acc1b42e74215c87ba
BLAKE2b-256 15bd96d78aa63101f2111a3207dcb9000cc6cff0ee234e3212ab6e8a8d42dcb3

See more details on using hashes here.

Supported by

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