Skip to main content

No project description provided

Project description

TokTagger

TokTagger Logo

An open source, interactive annotation platform for Tokamak diagnostic data.

Workflow: CI Workflow: Dependabot License: MIT Linting: ruff Testing: pytest

What It Does

TokTagger is a web-based platform for curating labeled datasets from tokamak diagnostics. It lets users browse shots, inspect signals and images, apply consistent labels, and manage annotations in one place. The Python API and React UI support local or team workflows, making it straightforward to create datasets for downstream analysis and machine-learning models.

It currently supports the following features:

  • Data Browsing: Explore tokamak shots, signals, and images through an intuitive interface.
  • Annotation Tools: Apply consistent labels to signals and images using a customizable tagging system.
  • ML Models: Train and infer from ML models within the UI.
  • Dataset Management: Organize and manage annotations in a central repository.
  • Extensible API: A Python API for integrating with existing workflows and tools.

Installation

To run the application locally:

Install via pip

To install the package via pip (or similarly via Poetry or uv package managers):

python -m venv .venv
source .venv/bin/activate

To install the package for labelling only (without ML Model functionality):

GIT_LFS_SKIP_SMUDGE=1 pip install git+ssh://git@github.com/ukaea/toktagger.git

Or to include the ML models:

GIT_LFS_SKIP_SMUDGE=1 pip install git+ssh://git@github.com/ukaea/toktagger.git#egg=toktagger[models]

If you intend to add custom data loaders or models to your TokTagger instance, this is the recommended route.

Install as a uv tool

Alternatively, it can be installed as a tool using uv. To install the package for labelling only (without ML Model functionality):

GIT_LFS_SKIP_SMUDGE=1 uv tool install --lfs --python 3.12.6 git+ssh://git@github.com/ukaea/toktagger.git`

Or to include the ML models:

GIT_LFS_SKIP_SMUDGE=1 uv tool install --lfs --python 3.12.6 git+ssh://git@github.com/ukaea/toktagger.git#egg=toktagger[models]`

Quick Start

To get started, run:

toktagger

This will start a local instance of the application running at http://localhost:8002.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toktagger-0.1.1.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toktagger-0.1.1-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file toktagger-0.1.1.tar.gz.

File metadata

  • Download URL: toktagger-0.1.1.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for toktagger-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bfc29601db9b43b184fbef5eb0edad8d95734cb166975f6d5ade5d42199d7d03
MD5 0116a79058cac371313bb5f84670eeb1
BLAKE2b-256 76b9fcc3306305e65965719f1d982c1f7f6a4c48eea4f2ee04115ddec8da1097

See more details on using hashes here.

Provenance

The following attestation bundles were made for toktagger-0.1.1.tar.gz:

Publisher: publish.yml on ukaea/toktagger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file toktagger-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: toktagger-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for toktagger-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ec9aad8427f4897721aeffc96cc134542096d7c5314b4bd33d0192e910d96d6
MD5 d6079091a9fb90ccadaa6b8701046349
BLAKE2b-256 6880531fc6971dd2c1edd630449283a7230a3c667aeb539a1e5cc3f2473794f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for toktagger-0.1.1-py3-none-any.whl:

Publisher: publish.yml on ukaea/toktagger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page