Giter VIP home page Giter VIP logo

paquo's Introduction

PAQUO: PAthological QUpath Obsession

PyPI Version Conda (channel only) Read the Docs GitHub Workflow Status Codecov PyPI - Python Version GitHub issues

Welcome to paquo ๐Ÿ‘‹, a library for interacting with QuPath from Python.

paquo's goal is to provide a pythonic interface to important features of QuPath, and to make creating and working with QuPath projects intuitive for Python programmers.

We strive to make your lives as easy as possible: If paquo is not pythonic, unintuitive, slow or if its documentation is confusing, it's a bug in paquo. Feel free to report any issues or feature requests in the issue tracker!

Development happens on github :octocat:

Documentation

You can find paquo's documentation at paquo.readthedocs.io โค๏ธ

Installation

paquo's stable releases can be installed via pip:

pip install paquo

or via conda:

conda install -c conda-forge paquo

Getting QuPath

After installing, paquo requires a QuPath installation to run. To get QuPath follow the installation instructions. If you choose the default installation paths paquo should autodetect your QuPath.

Or you can run the following command to download a specific version of QuPath to a location on your machine. Follow the printed instructions to configure paquo to use that version. Currently, paquo supports every version of QuPath from 0.2.0 to the most recent. (We even support older 0.2.0-mX versions but no guarantees).

> paquo get_qupath --install-path "/some/path/on/your/machine" 0.4.0
# downloading: https://github.com/qupath/qupath/releases/download/v0.4.0/QuPath-0.4.0-Linux.tar.xz
# progress ................... OK
# extracting: [...]/QuPath-0.4.0-Linux.tar.xz
# available at: /some/path/on/your/machine/QuPath-0.4.0
#
# use via environment variable:
#   $ export PAQUO_QUPATH_DIR=/some/path/on/your/machine/QuPath-0.4.0
#
# use via .paquo.toml config file:
#   qupath_dir="/some/path/on/your/machine/QuPath-0.4.0"
/some/path/on/your/machine/QuPath-0.4.0

Development Installation

  1. Install conda and git
  2. Clone paquo git clone https://github.com/bayer-science-for-a-better-life/paquo.git
  3. Run conda env create -f environment.devenv.yaml
  4. Activate the environment conda activate paquo

Note that in this environment paquo is already installed in development mode, so go ahead and hack.

Contributing Guidelines

  • Please follow pep-8 conventions but:
    • We allow 120 character long lines (try anyway to keep them short)
  • Please use numpy docstrings.
  • When contributing code, please try to use Pull Requests.
  • tests go hand in hand with modules on tests packages at the same level. We use pytest.

You can setup your IDE to help you adhering to these guidelines.
(Santi is happy to help you setting up pycharm in 5 minutes)

Acknowledgements

Build with love by Andreas Poehlmann and Santi Villalba from the Machine Learning Research group at Bayer. In collaboration with the Pathology Lab 2 and the Mechanistic and Toxicologic Pathology group.

paquo: copyright 2020-2022 Bayer AG, licensed under GPL-3.0

paquo's People

Contributors

ap-- avatar sdvillal avatar abailoni avatar nickdelgrosso 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.