Metadata-Version: 2.4
Name: wafaHell
Version: 2.0.3
Summary: Middleware WAF for Flask and FastAPI
Author-email: Yago Martins <yagomartins30@gmail.com>
License: MIT License
        
        Copyright (c) 2025 Seu Nome
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Classifier: Programming Language :: Python :: 3
Classifier: Framework :: Flask
Classifier: Framework :: FastAPI
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Flask>=2.0
Requires-Dist: fastapi>=0.100
Requires-Dist: a2wsgi<2.0,>=1.10
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: requests
Requires-Dist: diskcache
Requires-Dist: geoip2
Requires-Dist: joblib
Requires-Dist: numpy>=1.26
Requires-Dist: pandas>=2.2
Requires-Dist: scipy>=1.12
Requires-Dist: scikit-learn==1.8.*
Dynamic: license-file

# WafaHell

Middleware WAF para Flask e FastAPI, com deteccao de SQL Injection e XSS.

## Instalacao

```bash
pip install wafahell
```

## Flask
```python
from flask import Flask
from wafaHell import Wafahell

app = Flask(__name__)
waf = Wafahell(app=app, dashboard_path="/hell/dashboard")
```

### FastAPI (auto-detect)
```python
from fastapi import FastAPI
from wafaHell import Wafahell

app = FastAPI()
waf = Wafahell(app=app, dashboard_path="/hell/dashboard")
```

O framework e detectado automaticamente. Nos dois exemplos, o dashboard fica
disponivel em `/hell/dashboard`.
