Skip to main content

About Sumatra

Sumatra is a tool for managing and tracking projects based on numerical simulation and/or analysis, with the aim of supporting reproducible research. It can be thought of as an automated electronic lab notebook for computational projects.

It consists of:

  • a command-line interface, smt, for launching simulations/analyses with automatic recording of information about the experiment, annotating these records, linking to data files, etc.

  • a web interface with a built-in web-server, smtweb, for browsing and annotating simulation/analysis results.

  • a Python API, on which smt and smtweb are based, that can be used in your own scripts in place of using smt, or could be integrated into a GUI-based application.

Sumatra is currently beta code, and should be used with caution and frequent backups of your records.

For documentation, see http://neuralensemble.org/sumatra/

Functionality:

  • launch simulations and analyses, and record various pieces of information, including:

    • the executable (identity, version)

    • the script (identity, version)

    • the parameters

    • the duration (execution time)

    • console output

    • links to all data (whether in files, in a database, etc.) produced by the simulation/analysis

    • the reason for doing the simulation/analysis

    • the outcome of the simulation/analysis

  • allow browsing/searching/visualising the results of previous experiments

  • allow the re-running of previous simulations/analyses with automatic verification that the results are unchanged

  • launch single or batch experiments, serial or parallel

Requirements

Sumatra requires Python version 3.9 or later The web interface requires Django (>= 4.2). Sumatra requires that you keep your own code in a version control system (currently Subversion, Mercurial, Git and Bazaar are supported). If you are already using Bazaar there is nothing else to install. If you are using Subversion you will need to install the pysvn package. If you are using Git, you will need to install git-python bindings, and for Mercurial install hg-api.

Installation

These instructions are for Unix and Mac OS. They may work on Windows as well, but it hasn’t been thoroughly tested.

The easiest way to install is with pip:

$ pip install sumatra[default]

The “default” option installs the most commonly-used features:

  • Git support

  • the local web-based GUI

  • support for remote record stores

Other options are available. For example, to install support for Mercurial and for using a PostgreSQL database as the record store, run:

$ pip install sumatra[default,hg,postgres]

Code status

Unit Test Status Code coverage

Release files for Sumatra 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Sumatra 0.8.1
File Size Uploaded
sumatra-0.8.1.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for Sumatra 0.8.1
File Interpreter ABI Platform
sumatra-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.5 MB

Release files / sumatra-0.8.1.tar.gz

Download URL sumatra-0.8.1.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
5b73e6c6081dce356669373d7a22acf582a3c03e790d1cc6df8991f008e4b407
BLAKE2b-256 checksum
How to use checksums
b8007dd9d6ddb39948be31776364ecb39d07149333e6a6caa6e9c6e1afe2c62c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / sumatra-0.8.1-py3-none-any.whl

Download URL sumatra-0.8.1-py3-none-any.whl
Size 369.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf5caf6ea1e05774abb3d6f669193a74a25da49e6b4195564f1d57bc421112a7
BLAKE2b-256 checksum
How to use checksums
545beaddb6db2812f32bad95dceb17f9928579827cdf48e28757d2b98439c623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

1 release file

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