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.2

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.2
File Size Uploaded Provenance Actions
itksnap_dss_server-0.3.2.tar.gz 374.0 kB With provenance Details for itksnap_dss_server-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 793.1 kB

Release files / itksnap_dss_server-0.3.2.tar.gz

Download URL itksnap_dss_server-0.3.2.tar.gz
Size 374.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6e27355b0dd3a00633a43f7564bddc334685953e00d8c8ab3024b92e2941d420
BLAKE2b-256 checksum
How to use checksums
3a8e67c6b75c711faa3362cf1b356ff4e655b56c776638e4a03c5d2ded888b30
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.2-py3-none-any.whl

Download URL itksnap_dss_server-0.3.2-py3-none-any.whl
Size 419.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b024fb48f032760a96ce9c5e0562f6cefa721be6c3c8c35f34ce7041399e884e
BLAKE2b-256 checksum
How to use checksums
ff1fd56afad3fab01b9c5436dc4109c039ea42a09f6c11f23d46c61b7eea9231
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.2

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.2.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