Digital Slide Archive (DSA) Helpers
Digital Slide Archive Python utility library.
This library is available for installation through Python Package Index (PyPI).
This library was tested using Python version 3.11.8 and uses the dependencies described in requirements.txt.
This Python PyPI package is found here.
Installation instructions
DSA Helpers depends on large image and large image eager iterator and OpenCV, which you must install separately. Also, you must install the eager iterator from wheel and it should be installed at the end. Python 3.12 or below is supported, Python 3.14 is not currently supported!
- Install large with all tile sources:
$ pip install large-image[all] --find-links https://girder.github.io/large_image_wheels
- Install OpenCV, either the headless version (better for running in Docker) or full version
- Install dsa-helpers from pip
- Pip install the large image with eager iterator wheel, use the --force flag and you can safely igonore the warnings that you get about some large image library compatibilities
Import smoke test
Many modules load heavy dependencies lazily, so a plain import dsa_helpers is not enough. Before a release, run:
$ python tests/check_imports.py
That imports every submodule in its own process and resolves lazy names. To test a built wheel the way a PyPI user will see it:
$ python -m venv /tmp/dsa-helpers-smoke
$ source /tmp/dsa-helpers-smoke/bin/activate
$ pip install dist/dsa_helpers-*.whl[all]
$ python tests/check_imports.py
A readthedocs for this library can be found here.
Metadata
Release files for dsa_helpers 3.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dsa_helpers-3.2.3.tar.gz | 68.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dsa_helpers-3.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 148.0 kB
Release files / dsa_helpers-3.2.3.tar.gz
| Download URL | dsa_helpers-3.2.3.tar.gz |
|---|---|
| Size | 68.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14cefcde80c23a6cf0d740a3e8439b498cc75387bf86b111ddd7c8fc74562045
|
|
BLAKE2b-256 checksum How to use checksums |
1c28762aaa72aa3a0704c4aff998a32f1efa8160437d931312e49f0d957d2c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dsa_helpers-3.2.3-py3-none-any.whl
| Download URL | dsa_helpers-3.2.3-py3-none-any.whl |
|---|---|
| Size | 79.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0352ffe278e19e63af8a616d26750fd318ca9b28de92f9e7f3eba771b878131
|
|
BLAKE2b-256 checksum How to use checksums |
6ccb311987d9f6c9696a257e25fde4d902478cd00ec94c6911d188c9e6241ceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|