Skip to main content

PyPI Downloads CI codecov commit activity GitHub repo size

profiling-tools

Python profiling tools using cProfile and pstats

Installation

pip install profiling-tools

Usage example

Importing

from profiling_tools.profiling_utils import profile

Usage as decorator

@profile
def some_function():
    ...

Running your function some_function with the profile decorator produces a file stats/some_function.stats containing the results of the profiling created with cProfile. This file can then be analyzed and visualized using the analyze_stats module.

Metadata

Release files for profiling-tools 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for profiling-tools 0.0.14
File Size Uploaded Provenance
profiling_tools-0.0.14.tar.gz 4.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for profiling-tools 0.0.14
File Interpreter ABI Platform
profiling_tools-0.0.14-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / profiling_tools-0.0.14.tar.gz

Download URL profiling_tools-0.0.14.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d1e48610ff80c2f8e39ea73b974aaaa543bd9bab53e3aa411c9387bfe91b1e38
BLAKE2b-256 checksum
How to use checksums
c7ecedc7b0ab7b0fff7300040639509bbda4a97aab9db637175973806264837c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2025.

Transparency log

Release files / profiling_tools-0.0.14-py3-none-any.whl

Download URL profiling_tools-0.0.14-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb9bc77882e468f8509b65cf40b20a7f7d7ebaa4b98217755ef3eb3e69bccdf3
BLAKE2b-256 checksum
How to use checksums
f96998012dc90c5cb4102e5381309bc4258e9eeac135542aabaab3cd96c2f1c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2025.

Transparency log

Security for profiling-tools 0.0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for profiling_tools-0.0.14.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page