$npx skillfedfor your agent

tuna

Visualize Python performance profiles

Worth itPyPI UtilitiesReleased May 2026252.7K downloads / moGPL-3.0-or-laterPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tuna-0.5.15-py3-none-any.whl
v0.5.15 · released 2026-05-19 · Python >=3.10

Yes. tuna is actively maintained, has no runtime dependencies, supports current Python versions (3.10+), and solves a real problem—accurate profile visualization—that SnakeViz handles incorrectly. The GPLv3 license is a constraint for proprietary use but not a blocker for most development workflows. Install it if you need to understand where your Python code spends time.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Actively maintained as of June 2026, with 1597 repository stars and regular releases since 2018.

License · maintenance · safety

GPL-3.0-or-later (copyleft) — GPLv3 copyleft license. Any derivative work or distribution must also be licensed under GPLv3; using tuna in proprietary projects requires careful consideration of linking and distribution obligations.

last release 2026-05-19 (87 days) · last repo commit 2026-06-16 · 1,597 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 252,687 downloads/mo, #8,537 on PyPI

Verify before relying

pip install tuna

python -mcProfile -o program.prof yourfile.py
tuna program.prof
  • Whether the web interface requires a specific browser or JavaScript runtime to function.
  • Whether tuna can be used programmatically as a library or only as a CLI tool.
  • Performance characteristics when analyzing very large profile files.
Same gist for agents: .md · .json

What it is and what it does

tuna is a lightweight Python profile viewer that reads output from Python's built-in cProfile and importtime profilers and displays them in an interactive web interface. It was designed as a modern alternative to SnakeViz, focusing on accuracy: it only displays timing information that can be reliably reconstructed from profile data, avoiding the incorrect call-tree reconstructions that SnakeViz produces. The tool uses d3 and bootstrap for visualization and has no runtime dependencies, making it quick to install and run.

You generate a profile by running your Python code with cProfile or importtime, then pass the resulting file to tuna's command-line interface. tuna launches a web viewer showing the call tree, function timings, and performance bottlenecks. It also includes IPython magic commands for profiling code directly in notebooks, offering a drop-in replacement for the prun magic.

Use it for

  • Identify which functions consume the most CPU time in a Python application.
  • Analyze import-time performance to find slow module initialization.
  • Debug performance regressions by comparing profiles across code versions.
  • Visualize call hierarchies to understand which code paths dominate execution time.
  • Profile IPython/Jupyter notebooks using the tuna magic command.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

tuna is actively maintained, has no runtime dependencies, supports current Python versions (3.10+), and solves a real problem—accurate profile visualization—that SnakeViz handles incorrectly. The GPLv3 license is a constraint for proprietary use but not a blocker for most development workflows. Install it if you need to understand where your Python code spends time.

Install

tuna on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Actively maintained as of June 2026, with 1597 repository stars and regular releases since 2018.

Requires Python 3.10 or later.

License in practice

GPLv3 copyleft license. Any derivative work or distribution must also be licensed under GPLv3; using tuna in proprietary projects requires careful consideration of linking and distribution obligations.

Quickstart

pip install tuna

python -mcProfile -o program.prof yourfile.py
tuna program.prof

Verify before relying

  • Whether the web interface requires a specific browser or JavaScript runtime to function.
  • Whether tuna can be used programmatically as a library or only as a CLI tool.
  • Performance characteristics when analyzing very large profile files.

Package facts

LicenseGPL-3.0-or-later copyleft
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 87 days since the last release
Last repo commit
First released
Downloads252,687 / month, #8,537 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: User InterfacesTopic :: Utilities

Evidence: tuna-0.5.15-py3-none-any.whl

Tags

Capabilities
python profile visualizationperformance profiling viewercprofile viewerpython runtime analysisimport time profilercall tree visualizationperformance bottleneck analysis
Topics
profilingperformance-analysisvisualization
PyPI keywords
performanceprofilevisualization

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python profile visualization”

  • tunatuna visualizes Python performance profiles in an interactive web…
  • flameprofConverts Python cProfile statistics into interactive flamegraph…
  • gprof2dotConverts profiler output from many sources (perf, Valgrind, OProfile,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also pyprof2calltree · snakeviz · line-profiler · pyinstrument · tensorboard-plugin-profile · scalene · flameprof · fastapi-profiler · keke · guppy3