Skip to main content

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.3.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 itksnap-dss-server 0.3.0
File Size Uploaded Provenance Actions
itksnap_dss_server-0.3.0.tar.gz 372.4 kB With provenance Details for itksnap_dss_server-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for itksnap-dss-server 0.3.0
File Interpreter ABI Platform Actions
itksnap_dss_server-0.3.0-py3-none-any.whl Python 3 none any Details for itksnap_dss_server-0.3.0-py3-none-any.whl

Total release size: 789.6 kB

Release files / itksnap_dss_server-0.3.0.tar.gz

Download URL itksnap_dss_server-0.3.0.tar.gz
Size 372.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f09646dc53cade0d9dc8565404934fe4d7b60df1c3e60d8bfe46ebb7a6ca7221
BLAKE2b-256 checksum
How to use checksums
9c90867bdfb95ce64d47a9d0bde1a7d408ca366c011c2b51983ca39eab54fdb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / itksnap_dss_server-0.3.0-py3-none-any.whl

Download URL itksnap_dss_server-0.3.0-py3-none-any.whl
Size 417.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a9a8d03090d4f26571e265ec89b4e6386235c51b3c5078f040893a1c345609a
BLAKE2b-256 checksum
How to use checksums
efacd83b25867c9def829fba8fb9c6ea52d4ff18aeab93fa1107a50ac7776973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Security for itksnap-dss-server 0.3.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for itksnap_dss_server-0.3.0.tar.gz

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 Nov 10, 2026.

Transparency log

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.

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