A Python tracing engine for visual logic auditing.
Project description
FlowLens-py 🔍
FlowLens-py is a powerful audit and process tracking library for Python that generates a professional visual Audit Timeline of your code execution.
Developed by: Hans Clisman Saldias Mura Email: dev.hans.saldias@gmail.com
🚀 Installation
Install the library directly from PyPI:
pip install flowlens-py
🛠️ Quick Start (v0.1.5+)
To correctly capture processes and generate the automatic visual report, use the following structure in your Python script:
Python
from flowlens import lens
# 1. (Optional) Use the decorator for detailed performance metrics
@lens.track_stats
def calculate_sum(a, b):
return a + b
if __name__ == "__main__":
# 2. Start the audit engine (Activates sys.settrace)
lens.start()
# 3. Run your business logic
print("--- Starting Process ---")
result = calculate_sum(15, 25)
print(f"Result: {result}")
# 4. Stop tracking and automatically open the HTML report
lens.stop()
📊 Key Features
Audit Timeline: Generates a professional dark-themed flowlens_report.html file.
Data Capture: Automatically records input arguments and generated return data.
Intent Detection: Automatically classifies processes as "INTERNAL PROCESS" or "DATA OUTPUT" based on function naming.
Performance Metrics: Measures exact execution time in milliseconds (ms) for every block.
📄 Credits
This software is a technical auditing tool created to improve data flow visibility in Python applications.
Author: Hans Clisman Saldias Mura
Copyright: © 2026
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
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 flowlens_py-0.1.5.tar.gz.
File metadata
- Download URL: flowlens_py-0.1.5.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52e249def395a79a6daa49f7de73c57183f2855c9874a9eb8bea3963ddf8c20e
|
|
| MD5 |
0eefe3435769df645941efaff9c1f678
|
|
| BLAKE2b-256 |
e5456b44c2e45852bbd47a059838e2605ae71e31b8d1a5484b4bce5e97813bdc
|
File details
Details for the file flowlens_py-0.1.5-py3-none-any.whl.
File metadata
- Download URL: flowlens_py-0.1.5-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7bae36bee5427bd80c5050be2b8017a65447135f38d762607255fc264f315aa
|
|
| MD5 |
f3939cb0e9d44d4152f08c1c057a5b24
|
|
| BLAKE2b-256 |
ee387d342745611846d53eb32f484429c8b55ccd2858af5aae968e190acb383c
|