Skip to main content

CLI plugin for managing an OMERO.server

Project description

https://github.com/ome/omero-cli-server/workflows/Tox/badge.svg https://badge.fury.io/py/omero-cli-server.svg

OMERO.server CLI Plugin

Introduction

OMERO.py provides a plugin infrastructure for CLI tools. Most tools are intended for the general user wanting to login to a running OMERO.server. Other plugins like this one are intended for the management of the installation itself.

Dependencies

Direct dependencies of this plugin are:

Installation

See: OMERO documentation

Usage

See: OMERO documentation

Contributing

See: OMERO documentation

Developer installation

omero-server `depends on OMERO.py. If you want a developer installation of OMERO.py, replace ``pip install omero-py` with instructions at https://github.com/ome/omero-py.

For a development installation we recommend creating a virtualenv with the following setup (example assumes python3.6 but you can create and activate the virtualenv using any compatible Python):

python3.6 -mvenv venv
. venv/bin/activate
pip install zeroc-ice==3.6.5
pip install omero-py          # OR dev install (see above)
git clone https://github.com/ome/omero-cli-server
cd omero-server
pip install -e .

This will install the server plugins into your virtualenv as an editable package, so any edits to source files should be reflected in your installation.

Note some tests may not run when this module and/or omero-py are installed in editable mode.

Running tests

Unit tests are located under the test directory and can be run with pytest.

Integration tests

Integration tests are stored in the main repository (ome/openmicroscopy) and depend on the OMERO integration testing framework. Reading about Running and writing tests in the OMERO documentation is essential.

Release process

This repository uses bump2version to manage version numbers. To tag a release run:

$ bumpversion release

This will remove the .dev0 suffix from the current version, commit, and tag the release.

To switch back to a development version run:

$ bumpversion --no-tag [major|minor|patch]

specifying major, minor or patch depending on whether the development branch will be a major, minor or patch release. This will also add the .dev0 suffix.

Remember to git push all commits and tags.

License

omero-cli-server is released under the GPL.

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

omero-server-0.2.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

omero_server-0.2.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file omero-server-0.2.0.tar.gz.

File metadata

  • Download URL: omero-server-0.2.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.15

File hashes

Hashes for omero-server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0631bacad91df3dea7792051650c06f2ec4987bbdf2c92cd02827b92ac8151d8
MD5 d392f2983db252bff8ae6f3302637f31
BLAKE2b-256 b6b2acf0536c23fae63b58397cc46589e4be5e238029267b47561f9219542fe7

See more details on using hashes here.

File details

Details for the file omero_server-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for omero_server-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f389ccc936987f5cc51fed1735c3e5b18f4e94ef9c66c0116f213f79d0b6f2e
MD5 2ae43ee66cbd7bb74fcbc65b821f256d
BLAKE2b-256 d05aa3d6b96b17aa86540df8d625a3e0ae80498d7291668c17fd13b4ca68bce8

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