Skip to content

PAW (Python Application Web) is a lightweight web framework written in Python. It provides a simple and flexible structure for building web applications.

Notifications You must be signed in to change notification settings

pyquinnnarlo/PAW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asset 6hdpi

github

PAW Framework

PAW (Python Application Web) is a lightweight web framework written in Python. It provides a simple and flexible structure for building web applications.

Features

  • 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

Getting Started

  1. Install PAW:
pip install PAW
python paw_createapp your_app_name
cd your_app_name
python main.py

Example Usage

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

Contributing 👋

  • Clone the project.
  • git clone https://github.com/pyquinnnarlo/PAW.git
    
  • cd into project directory.
  • cd PAW
    
  • Run the framework (PAW).
  • python main.py
    
  • Go to localhost 8000
  • localhost:8000
    


License

This project is licensed under the MIT License - see the LICENSE file for details.

About

PAW (Python Application Web) is a lightweight web framework written in Python. It provides a simple and flexible structure for building web applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published