Skip to main content

dead simple yappi flamegraphs

Project description

yapflame

CI PyPI version Python versions Last commit License

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.0.tar.gz (155.8 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.0-py3-none-any.whl (121.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yapflame-0.1.0.tar.gz
  • Upload date:
  • Size: 155.8 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.0.tar.gz
Algorithm Hash digest
SHA256 ccb59f2622f47aef4221b827702ad9c630ff3f5968613dd803a9702b13a7b1a5
MD5 a45d05e25a5e0a9196133b2fbcf13785
BLAKE2b-256 aaa48ec00f867698d7c307013775b47e4c7638f3639c7f9ea3b8b7bce78df74b

See more details on using hashes here.

Provenance

The following attestation bundles were made for yapflame-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: yapflame-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 121.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5e7c6c2cb4daff4cc7c80320cb7cea1e9f1a26f34c343cd6783f1786bb3df19
MD5 fe89dbcdc9daf1c8f4c197d9710a8f2c
BLAKE2b-256 76d889101741821c3f050b399fc36683776ca0f976dbaabeb09d33e9306cd213

See more details on using hashes here.

Provenance

The following attestation bundles were made for yapflame-0.1.0-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