PAW (Python Application Web) is a lightweight web framework written in Python. It provides a simple and flexible structure for building web applications.
-
Routing: Easy-to-use routing for defining endpoints and handling HTTP methods.
-
Database Integration: Simple database integration for common operations like insert, delete, and fetch.
- Sqlite3
- MongoDB
-
Template Rendering: Support for rendering HTML templates using Jinja2.
-
User Authentication: Basic user registration and login functionality.
-
Security: Hashing and password verification for secure user management.
-
Dynamic URL Routing
-
Server Auto-Restart
- Install PAW:
pip install PAW
python paw_createapp your_app_name
cd your_app_name
python main.py
Define routes in views.py:
# views.py
from PAW.router import Router
@Router.route('/', methods=['GET'])
def home(request):
return "Hello, PAW!", 200
Run your app:
python main.py
- Clone the project.
- cd into project directory.
- Run the framework (PAW).
- Go to localhost 8000
git clone https://github.com/pyquinnnarlo/PAW.git
cd PAW
python main.py
localhost:8000
This project is licensed under the MIT License - see the LICENSE file for details.