Metadata-Version: 2.4
Name: simple-python-audit
Version: 1.1.0
Summary: Ferramenta de profiling com widget flutuante e servidor de gerenciamento de logs.
Author-email: Sadson Diego <sadsondiego@gmail.com>
License: MIT
Keywords: odoo,profiler,performance,pyinstrument,audit
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Framework :: Odoo
Classifier: Topic :: Software Development :: Debuggers
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: pyinstrument>=4.6.0
Requires-Dist: typing-extensions>=4.0.0

# Simple Python Audit Tool 🚀

Ferramenta completa para medição de performance e auditoria de variáveis para python.

## 📦 Instalação

```bash
pip install .
# Ou via GitHub
pip install git+[https://github.com/sadson/simple_python_audit.git](https://github.com/sadson/simple_python_audit.git)

## 🎯 Como Usar

```python
from simple_python_audit import profile

@profile(html=True, output_path="/tmp/simple_python_audit_perf" ,trace=True, deep=True)
def meu_metodo_lento(self):
    # Seu código aqui
```

**Parâmetros:**
- `html=True`: Gera relatório em HTML
- `trace=True`: Rastreia chamadas de funções
- `deep=True`: Rastreia chamadas com tempo de execução a partir de 0.0001 ms
- `output_path`: Caminho para salvar os relatórios gerados

## 🛠️ Executar Servidor de Auditoria

```bash
simple-python-audit-server --port 8080 --dir /tmp/odoo_perf
ou 
via python

from simple_python_audit import start_server
start_server(port=8080, directory="/tmp/odoo_perf")
```
