$npx skillfedfor your agent

yappi

Yet Another Python Profiler

With conditionsPyPI LibrariesReleased Mar 20264.3M downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — yappi-1.7.6-cp310-cp310-macosx_10_9_x86_64.whl · yappi-1.7.6-cp310-cp310-macosx_11_0_arm64.whl · yappi-1.7.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
v1.7.6 · released 2026-03-17 · Python >=3.6

Yes, if you need to profile multithreaded, asyncio, or gevent applications. Yappi is the standard choice for these workloads because the standard library profilers do not handle them correctly. If you only profile single-threaded code, cProfile is simpler. No security vulnerabilities are known, maintenance is active, and the MIT license poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later; compiled C extensions are platform-specific, so installation pulls prebuilt wheels for your OS and Python version.
  • Medium install friction due to compiled C extensions requiring platform-specific wheels.
  • The package is actively maintained with recent releases and has been stable since its early releases.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute yappi with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-03-17 (150 days) · last repo commit 2026-07-08 · 1,725 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,257,062 downloads/mo, #2,346 on PyPI

Verify before relying

import yappi

yappi.set_clock_type("cpu")
yappi.start()
# your code here
yappi.get_func_stats().print_all()
yappi.get_thread_stats().print_all()
  • Whether yappi's overhead is acceptable for production profiling of long-running services
  • Performance comparison with standard library cProfile on single-threaded workloads
  • Compatibility with Python 3.13 and 3.14 (listed in classifiers but not explicitly tested in examples)
Same gist for agents: .md · .json

What it is and what it does

Yappi is a tracing profiler written in C that measures both CPU time and wall-clock time in Python programs. Unlike the standard library's cProfile, it is designed from the ground up to handle multithreaded applications, asyncio coroutines, and gevent greenlets, allowing you to start, stop, and retrieve profiling results at any point from any thread. It reports statistics per function and per thread, and can export results in callgrind or pstat formats for analysis in external tools.

You use yappi by calling start() before your code runs, then calling get_func_stats() or get_thread_stats() to retrieve results. It supports filtering and sorting by module, function name, or custom callbacks, making it practical for identifying bottlenecks in complex concurrent applications where standard profilers either fail or produce misleading timings.

Use it for

  • Profile multithreaded applications to find which threads and functions consume the most CPU or wall time
  • Measure asyncio coroutine performance and identify context-switch overhead in async code
  • Profile gevent greenlet applications to track per-greenlet execution time and call counts
  • Export profiling results to callgrind format for visualization in kcachegrind or other analysis tools
  • Continuously profile long-running services by starting and stopping yappi on demand without restarting the application

Worth the install?

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

With conditions

Yes, if you need to profile multithreaded, asyncio, or gevent applications.

Yappi is the standard choice for these workloads because the standard library profilers do not handle them correctly. If you only profile single-threaded code, cProfile is simpler. No security vulnerabilities are known, maintenance is active, and the MIT license poses no restrictions.

Install

yappi on PyPI

Before you install

Medium install friction due to compiled C extensions requiring platform-specific wheels. The package is actively maintained with recent releases and has been stable since its early releases. No runtime dependencies to manage.

Requires Python 3.6 or later; compiled C extensions are platform-specific, so installation pulls prebuilt wheels for your OS and Python version.

License in practice

MIT license is permissive; you can use, modify, and distribute yappi with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

import yappi

yappi.set_clock_type("cpu")
yappi.start()
# your code here
yappi.get_func_stats().print_all()
yappi.get_thread_stats().print_all()

Verify before relying

  • Whether yappi's overhead is acceptable for production profiling of long-running services
  • Performance comparison with standard library cProfile on single-threaded workloads
  • Compatibility with Python 3.13 and 3.14 (listed in classifiers but not explicitly tested in examples)

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 150 days since the last release
Last repo commit
First released
Downloads4,257,062 / month, #2,346 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: yappi-1.7.6-cp310-cp310-macosx_10_9_x86_64.whl; yappi-1.7.6-cp310-cp310-macosx_11_0_arm64.whl; yappi-1.7.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; yappi-1.7.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; yappi-1.7.6-cp310-cp310-musllinux_1_2_aarch64.whl; yappi-1.7.6-cp310-cp310-musllinux_1_2_x86_64.whl; yappi-1.7.6-cp310-cp310-win32.whl; yappi-1.7.6-cp310-cp310-win_amd64.whl; yappi-1.7.6-cp310-cp310-win_arm64.whl; yappi-1.7.6-cp311-cp311-macosx_10_9_x86_64.whl; yappi-1.7.6-cp311-cp311-macosx_11_0_arm64.whl; yappi-1.7.6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; yappi-1.7.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; yappi-1.7.6-cp311-cp311-musllinux_1_2_aarch64.whl; yappi-1.7.6-cp311-cp311-musllinux_1_2_x86_64.whl; yappi-1.7.6-cp311-cp311-win32.whl; yappi-1.7.6-cp311-cp311-win_amd64.whl; yappi-1.7.6-cp311-cp311-win_arm64.whl; yappi-1.7.6-cp312-cp312-macosx_10_13_x86_64.whl; yappi-1.7.6-cp312-cp312-macosx_11_0_arm64.whl

Tags

Capabilities
multithreaded profilerasyncio profilingcpu time profilerthread-aware profilergevent profilerwall time profilingpython performance analysis
Topics
profilingconcurrencyperformance-analysis
PyPI keywords
pythonthreadmultithreadasynciogeventprofiler

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 › “multithreaded profiler”

  • yappiYappi is a deterministic profiler for Python that tracks CPU and…
  • pyinstrumentPyinstrument is a statistical call-stack profiler that samples your…
  • xprofXProf is a profiler for ML workloads that visualizes performance…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / 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
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / 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
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also line-profiler · py-spy · fastapi-profiler · scalene · austin-dist · pyinstrument · django-cprofile-middleware · tuna · keke · snakeviz