A suite of convenience functions for working with OMERO. Written and maintained by the Research IT team at The Jackson Laboratory.
Project description
ezomero
A module with convenience functions for writing Python code that interacts with OMERO.
Installation
Just pip install ezomero
and you should be good to go! The repo contains the specific package versions we test ezomero
with in setup.py
, but any Python>=3.8 and latest omero-py
and numpy
should work - note that this package is in active development!
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ezomero-3.0.0.tar.gz
.
File metadata
- Download URL: ezomero-3.0.0.tar.gz
- Upload date:
- Size: 53.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dab92f66453f223a949256833dbad8e60281f29535308f378a213bd93a9c78c6 |
|
MD5 | 5bf29599124b4b398c3788e483250799 |
|
BLAKE2b-256 | 8a2b3b0c3dd046b7f95651ccb31e8dd50b8f6939e6715b0c2cd8945b091d45eb |
File details
Details for the file ezomero-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: ezomero-3.0.0-py3-none-any.whl
- Upload date:
- Size: 59.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f778bf1920443159f9820d4c919ec29b83595d0a1152320fe980aa65f2d943d2 |
|
MD5 | 75e63704cd68ecb25bb7c43f2058b8cd |
|
BLAKE2b-256 | 09a99fe950fb0d648c4ffccbb78cd91fee107ff3bcd93995c8c0ef86c49fb021 |