Skip to main content

PAQUO: PAthological QUpath Obsession

PyPI Version Conda (channel only) Read the Docs paquo ci Codecov PyPI - Python Version GitHub issues

Welcome to paquo :wave:, 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 :heart:

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're testing against the newest minor version for all supported QuPath releases. (We even support older 0.2.0-mX versions but no guarantees).

> paquo get_qupath --install-path "/some/path/on/your/machine" 0.6.0
# downloading: https://github.com/qupath/qupath/releases/download/v0.6.0/QuPath-0.6.0-Linux.tar.xz
# progress ................... OK
# extracting: [...]/QuPath-0.6.0-Linux.tar.xz
# available at: /some/path/on/your/machine/QuPath-0.6.0
#
# use via environment variable:
#   $ export PAQUO_QUPATH_DIR=/some/path/on/your/machine/QuPath-0.6.0
#
# use via .paquo.toml config file:
#   qupath_dir="/some/path/on/your/machine/QuPath-0.6.0"
/some/path/on/your/machine/QuPath-0.6.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.yml
  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 set up your IDE to help you to adhere to these guidelines.
(Santi is happy to help you to set 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 Bayer AG, licensed under GPL-3.0

Release files for paquo 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paquo 0.9.0
File Size Uploaded
paquo-0.9.0.tar.gz 402.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for paquo 0.9.0
File Interpreter ABI Platform
paquo-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 466.4 kB

Release files / paquo-0.9.0.tar.gz

Download URL paquo-0.9.0.tar.gz
Size 402.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8d7078b560fb33fe91fd438763dc47fb95f4a91379dafacaf89e86754691b561
BLAKE2b-256 checksum
How to use checksums
3bf3b29a5a428d1f15c8eb4bcb87079f3deb7affc055e83969348794cb045891
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / paquo-0.9.0-py3-none-any.whl

Download URL paquo-0.9.0-py3-none-any.whl
Size 64.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b57a8bb640092c5104883b3b2ebcc735775a33eea9679c82d09db6fa154c114a
BLAKE2b-256 checksum
How to use checksums
9bb3d81fe708aa39856d068aa92870e2246a10e10dc3eb749853de0ec5d98c1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page