Line-by-line performance profiler for Python
Project description
🔥 linepulsepy
linepulsepy is a lightweight Python package that helps developers instantly identify slow lines of code using a simple decorator. Perfect for debugging, optimization, and performance tuning.
🌟 Features
- Line-by-line execution time tracking
- Color-coded output for fast, medium, and slow lines
- Simple decorator: just add
@profile_lines - Works with any Python function
- No external dependencies
📦 Installation
pip install linepulsepy
📸 Screenshots / Example Output
from linepulsepy import profile_lines
import time
def call():
time.sleep(2)
@profile_lines
def test_func():
x = 0
for i in range(5):
call()
x += i
time.sleep(0.2)
return x
test_func()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
linepulsepy-0.1.1.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linepulsepy-0.1.1.tar.gz.
File metadata
- Download URL: linepulsepy-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2e5b0f8f94435fbe6f3522ab0cd875167af079ffe0cf0cec04b7bd494fcd55c
|
|
| MD5 |
71b900bf014378f83814df99c3dc3560
|
|
| BLAKE2b-256 |
f13126157f9df8b24268ebff5b2ecd0c8926984ca7593e70bdc5b0ea41d72ad8
|
File details
Details for the file linepulsepy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: linepulsepy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2bc6ea0123e50ee9bfc6b79402adfbd8373ff0f760da9c674a58f9a149a5168
|
|
| MD5 |
b68e631e22937c0ed191bc6bbd928596
|
|
| BLAKE2b-256 |
06e92771fec9754eeeb4324b273a91f1fa19f23f3f06fecd979f5d1f6c66ed58
|