Metadata-Version: 2.4
Name: pure_framework
Version: 0.0.2
Summary: A lightweight Python backend framework with decorators, DI, middlewares, guards, and auto Swagger docs — all in pure Python.
Author-email: Hasan Ragab <hr145310@gmail.com>
License-Expression: MIT
Keywords: framework,backend,pure-python,web,http,swagger,rest-api
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Pure Framework

Pure Python backend framework inspired by NestJS & FastAPI.  
- No external dependencies
- Decorator-based routing
- Nested controllers
- Middleware & Guards
- Swagger documentation

## Installation

```bash
pip install pure-framework
````

## Quick Start

```python
from pure_framework import App, Request, Response, route

app = App()

@route("/hello")
def hello(req: Request, res: Response):
    res.json({"message": "Hello World"})

app.listen(host="127.0.0.1", port=8000)
```

Navigate to [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) to see Swagger docs.
