https://github.com/danilo-01-code/micropyweb
A minimalist web framework
https://github.com/danilo-01-code/micropyweb
Last synced: 12 months ago
JSON representation
A minimalist web framework
- Host: GitHub
- URL: https://github.com/danilo-01-code/micropyweb
- Owner: Danilo-01-code
- License: mit
- Created: 2024-12-11T18:49:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-22T13:46:55.000Z (about 1 year ago)
- Last Synced: 2025-02-06T09:13:22.027Z (about 1 year ago)
- Language: Python
- Size: 5.24 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Micorpyweb
Micropyweb is a minimalist WSGI aplication, is simple and inspired in Flask and FastApi syntax
## A simple example
```python
from micropyweb.core import MicroPyWeb
from micropyweb.templating import render_response
# MicroPyWeb instance initalization
app = MicroPyWeb()
# root page
@app.route()
def index():
return render_response("index.html")
```
to see more examples check the dir 'examples'