ITK-SNAP Distributed Segmentation Service (DSS) Middleware Layer
This is the source code of the middleware layer for the ITK-SNAP distributed segmentation service (DSS). ITK-SNAP is an interactive tool for segmentation of volumetric medical imaging datasets, like CT and MRI. DSS is a web-based application that allows scientists to make their advanced image processing algorithms available as services to ITK-SNAP users. The main "production" DSS service is running at https://dss.itksnap.org.
Full documentation, including quick-start guides for users and for service developers, is at https://alfabis-server.readthedocs.io.
What's in this repository
The middleware is a Python 3 web application (installable as the package itksnap-dss-server), using web.py and a local SQLite database — no separate database server needs to be installed or run.
A separate, standalone Python package, itksnap-dss, provides a client library for service-provider scripts that interact with a running DSS server (DSSClient) and a helper for editing ITK-SNAP workspace files (WorkspaceWrapper). See that repository if you're writing a service provider in Python rather than Bash/itksnap-wt.
Running your own instance
With pip, from a checkout of this repo (not yet published to PyPI):
pip install .
then:
itksnap-dss-server --server
By default this creates and initializes a SQLite database under ./datastore/ on first run. See itksnap-dss-server --help for the available configuration flags (each has an ALFABIS_* environment variable equivalent, for container/systemd deployments).
With Docker, this repository includes a docker-compose.yml that runs the middleware alongside an example DSS service:
docker compose up
This is intended for testing services locally before submitting them for production — see the service developer's quick-start guide for a full walkthrough.
License
Apache License 2.0 — see LICENSE.
Metadata
Release files for itksnap-dss-server 0.2.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 | |
|---|---|---|---|
| itksnap_dss_server-0.2.0.tar.gz | 369.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| itksnap_dss_server-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 784.5 kB
Release files / itksnap_dss_server-0.2.0.tar.gz
| Download URL | itksnap_dss_server-0.2.0.tar.gz |
|---|---|
| Size | 369.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc4efd2cbba269918ce582123eebfcc8b37849bf53d767ff8391d76a09bbda4a
|
|
BLAKE2b-256 checksum How to use checksums |
593f7ed802e8624a4771f4352fdd1343ed3f7be09fd9a2183d8003d1b89f129d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logRelease files / itksnap_dss_server-0.2.0-py3-none-any.whl
| Download URL | itksnap_dss_server-0.2.0-py3-none-any.whl |
|---|---|
| Size | 415.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
884fca2e69190ada00031587ff07960456cbd9b6e724004b43c9c27d5c1bb11b
|
|
BLAKE2b-256 checksum How to use checksums |
18a7cc8877db3aca1dc5f9362aa477655805d3399e1ae9da9ffbbe11c911e438
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency log