Giter VIP home page Giter VIP logo

omero-guide-python's Introduction

User guides for the OMERO Python API

Binder Open In Colab Documentation Status Actions Status

The documentation is deployed at Use Python API

This guide demonstrates how to use the OMERO Python API.

Run the notebooks

Running on cloud resources

  • Binder
  • Colab

The OMERO server used will need to have websockets support enabled.

Running in Docker

Alternatively, if you have Docker installed, you can use the repo2docker tool to run this repository as a local Docker instance:

$ git clone https://github.com/ome/omero-guide-python
$ cd omero-guide-python
$ repo2docker .

Then follow the instructions that are printed after the Docker image is built.

Running locally

Finally, if you would like to install the necessary requirements locally, we suggest using conda.

Then, create the environment:

$ git clone https://github.com/ome/omero-guide-python
$ cd omero-guide-python
$ conda env create -n omero-guide-python -f binder/environment.yml

and activate the newly created environment:

$ conda activate omero-guide-python

The following steps are only required if you want to run the notebooks

  • If you have Anaconda installed:
    • Start Jupyter from the Anaconda-navigator
    • Select the notebook you wish to run and select the Kernel>Change kernel>Python [conda env:omero-guide-python]
  • If Anaconda is not installed:
    • In the environment, install jupyter e.g. pip install jupyter
    • Add the virtualenv as a jupyter kernel i.e. ipython kernel install --name "omero-guide-python" --user
    • Open jupyter notebook i.e. jupyter notebook and select the omero-guide-python kernel or [conda env:omero-guide-python] according to what is available

An additional benefit of installing the requirements locally is that you can then use the tools without needing to launch Jupyter itself.

See also setup.rst

This is a Sphinx based documentation. If you are unfamiliar with Sphinx, we recommend that you first read Getting Started with Sphinx.

omero-guide-python's People

Contributors

jburel avatar will-moore avatar dominikl avatar pwalczysko avatar manics avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.