A suite of convenience functions for working with OMERO.
Project description
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://erickmartins.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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ezomero-3.2.3.tar.gz.
File metadata
- Download URL: ezomero-3.2.3.tar.gz
- Upload date:
- Size: 194.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9e5b32571045470890f4986db8197a93721cbbec65ab26cbd92d83687ce4a68
|
|
| MD5 |
ca2ac81b1f732e55c8145930d483c3c5
|
|
| BLAKE2b-256 |
7b20e1f1bfdd3d8931da0a030a66960c5438feb53ddfb739a11d07a635210ff2
|
Provenance
The following attestation bundles were made for ezomero-3.2.3.tar.gz:
Publisher:
upload_to_pypi.yml on erickmartins/ezomero
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ezomero-3.2.3.tar.gz -
Subject digest:
f9e5b32571045470890f4986db8197a93721cbbec65ab26cbd92d83687ce4a68 - Sigstore transparency entry: 1029711964
- Sigstore integration time:
-
Permalink:
erickmartins/ezomero@ae0aad00501cc7de1dae6c36a66cab4eefd8fc54 -
Branch / Tag:
refs/tags/3.2.3 - Owner: https://github.com/erickmartins
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
upload_to_pypi.yml@ae0aad00501cc7de1dae6c36a66cab4eefd8fc54 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ezomero-3.2.3-py3-none-any.whl.
File metadata
- Download URL: ezomero-3.2.3-py3-none-any.whl
- Upload date:
- Size: 43.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a73960878f5a099e64f97d7a8575024f877a4dcbbfab811a9d442a062c2cf0d
|
|
| MD5 |
40229dec3fe6a3a8a4693efba028f9a7
|
|
| BLAKE2b-256 |
b4cf102d7c157dff39cb404b691933c3233bfed43c4bcd13c76b22effb182b83
|
Provenance
The following attestation bundles were made for ezomero-3.2.3-py3-none-any.whl:
Publisher:
upload_to_pypi.yml on erickmartins/ezomero
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ezomero-3.2.3-py3-none-any.whl -
Subject digest:
4a73960878f5a099e64f97d7a8575024f877a4dcbbfab811a9d442a062c2cf0d - Sigstore transparency entry: 1029711979
- Sigstore integration time:
-
Permalink:
erickmartins/ezomero@ae0aad00501cc7de1dae6c36a66cab4eefd8fc54 -
Branch / Tag:
refs/tags/3.2.3 - Owner: https://github.com/erickmartins
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
upload_to_pypi.yml@ae0aad00501cc7de1dae6c36a66cab4eefd8fc54 -
Trigger Event:
release
-
Statement type: