Skip to main content

Line Profiler Pycharm

Code to create .pclprof files which can be read by the PyCharm Line Profiler plugin.

Project heavily relies on the python line-profiler plugin.

This package can be used by the PyCharm Line Profiler plugin to profile code and visualize the resulting profiles.

The package exposes a decorator profile that can be used to create .pclprof files. These files are nothing more than json exports of the line-profiler .lprof files. These files can be read by the Pycharm Line Profiler plugin.

Example

The .pclprof files can be generated by decorating any function with the profile decorator

For example:

# profile_this.py
from line_profiler_pycharm import profile 

import time

@profile
def profile_this():    
    time.sleep(1)
    time.sleep(2)

if __name__ == "__main__":
    profile_this()

If you run this code:

python profile_this.py

A file profile_this.py.pclprof will be generated in your current working directory.

Metadata

Release files for line-profiler-pycharm 1.2.0

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

Source distribution (sdist)

Source distribution for line-profiler-pycharm 1.2.0
File Size Uploaded Provenance
line_profiler_pycharm-1.2.0.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for line-profiler-pycharm 1.2.0
File Interpreter ABI Platform
line_profiler_pycharm-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / line_profiler_pycharm-1.2.0.tar.gz

Download URL line_profiler_pycharm-1.2.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
16cacf234952420fc324f17704c0cc2145d5afd2ec0593e359796927bcc0debb
BLAKE2b-256 checksum
How to use checksums
d0b0d7437c668ce49d45b8e28548d863ffccf4c067c66f147444594c1e531a92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release files / line_profiler_pycharm-1.2.0-py3-none-any.whl

Download URL line_profiler_pycharm-1.2.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d4c47c6894ab81f48fbb132ac4830490813b13c297016ae0d97bc7ef12041ad
BLAKE2b-256 checksum
How to use checksums
cd5eb0331bf5e3f9f193b776fc0b22348143fc36f59bb931f0679a473ee667eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Security for line-profiler-pycharm 1.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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