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.0.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.0-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toktagger-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for toktagger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 456f95d243cb1cf3cd26640d888d6c8eb7f2438376b0177b50169619d56373c8
MD5 fd567d3a231db81480e4cb0e0a30ca70
BLAKE2b-256 622862a75f2e4ebdff815c149404f13fc2ab3f313217b4be820445432b3aa20b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toktagger-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for toktagger-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d833326a83997e9c328f440a22d7098f12143f2dd42f61722f7c526996c8a8f5
MD5 af27c2a088d331f9fe1b174addcc085f
BLAKE2b-256 9e7a37f5275257c8632619ed2b80947d7be2f0df2cf70866bac0129175abf41c

See more details on using hashes here.

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