MOTH
MOTH (Memory-efficient On-the-fly Tiling of Histological images using QuPath) is a Python library that extends the functionality of paquo.
The added functionalities are functions to support tiling in QuPath directly from Python. Now tiling can be done on-the-fly with moth and a Python developer no longer needs a Groovy script to generate tiles.
The documentation can be found under gin-moth.readthedocs.io.
Installation
moth can be installed via pip:
user@computer:~$ pip install gin-moth
Install QuPath
To interact with QuPath, paquo (package that moth extends) requires a working QuPath installation.
To install QuPath follow the QuPath installation guide:
Install QuPath.
QuPath can also be installed with a paquo helper script documented here.
If QuPath is not installed in the default directory, you need to configure QuPath for paquo via:
user@computer:~$ export PAQUO_QUPATH_DIR=/path/to/QuPath
or via the configuration of paquo.
Install via Docker
To get a ready to use (python, moth and QuPath installed) Docker container, clone the repository
and use the Dockerfile from github to create a new Docker image.
To use the Dockerfile follow the below steps for creating an image:
user@computer:~$ docker build [-t tagname] .
now run the container using:
user@computer:~$ docker run -it tagname bash
To mount files or data, explore the docker run documentation
Metadata
Release files for gin-moth 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gin_moth-0.1.0.tar.gz | 9.7 kB | Without provenance | Details for gin_moth-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gin_moth-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gin_moth-0.1.0-py3-none-any.whl |
Total release size: 17.7 kB
Release files / gin_moth-0.1.0.tar.gz
| Download URL | gin_moth-0.1.0.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8ee5347a23e3b819b569d15387acb9b1bf827d38c7a0ee5686356a22f8ab101
|
|
BLAKE2b-256 checksum How to use checksums |
7aba4651ca8288f06b5892f2abb436c777f47ee8f1c1c8b99baaa9cbcfa8a031
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.9
|
Release files / gin_moth-0.1.0-py3-none-any.whl
| Download URL | gin_moth-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b505977ef83731ca072fd6d340aa23f6b57a522accdfd4c372d33d67ea517d79
|
|
BLAKE2b-256 checksum How to use checksums |
57e7f80eb97f04d3d2cdffd554e2a15fa123e9caedbfa0c7fd3a4779b5e23515
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.9
|
Security for gin-moth 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.