Skip to main content

Simple yappi flamegraphs

Project description

yapflame

Simple yappi flamegraphs.

Installation

pip install yapflame
uv add yapflame
# and others...

Examples

from yapflame import profile

with profile() as p:
    do_work()

p.open()       # browser
p.save("o.html")  # file

enabled=False to noop:

with profile(enabled=DEBUG) as p:
    do_work()
if p:
    p.open()

or via cli:

yapflame script.py
yapflame script.py -o out.html
yapflame script.py --cpu

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

yapflame-0.1.2.tar.gz (337.4 kB view details)

Uploaded Source

Built Distribution

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

yapflame-0.1.2-py3-none-any.whl (121.5 kB view details)

Uploaded Python 3

File details

Details for the file yapflame-0.1.2.tar.gz.

File metadata

  • Download URL: yapflame-0.1.2.tar.gz
  • Upload date:
  • Size: 337.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yapflame-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5a759434362228ea3b4f1c62c9d35d80bfc659165817fec76b0ce83ec9fdad53
MD5 61fd696cdae72aa75133de14689da702
BLAKE2b-256 f672fc190efd25c1a92e99f300ab0ebfcab8adba0afcbd44c078f003e9855716

See more details on using hashes here.

Provenance

The following attestation bundles were made for yapflame-0.1.2.tar.gz:

Publisher: release.yml on bekerk/yapflame

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

File details

Details for the file yapflame-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: yapflame-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 121.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yapflame-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 41456e584876cd6d9c251bdea99dc5e4a25b7ea635fd1e14d5faecfadb5315a6
MD5 def0b90527f0d5706984dd0be130e906
BLAKE2b-256 1e40b785fb3765d0457951c0fa0da59ce1d6740465f1483787e1c1fe2eb6c2ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for yapflame-0.1.2-py3-none-any.whl:

Publisher: release.yml on bekerk/yapflame

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