I made eb808 as a simple and user-friendly Python web framework for learning purposes.
It's built on the WSGI standard, so it's easy to use with popular servers like Gunicorn. I built it mainly to teach myself web frameworks but my ultimate goal is to use it as a foundation for an API that helps with the study and preservation of native Hawaiian ethnobotany.
This API will provide access to a lot of information on traditional uses of plants in Hawaii and help with understanding and appreciating the cultural heritage of Hawaii.
Install it:
pip install eb808==0.0.3
Basic Usage:
# app.py
from eb808.api import API
app = API()
@app.route("/")
def home(req, resp):
resp.text = "Hello, this is my home page."
# templates/index.html
<h1>hello, world!</h1>
Start:
gunicorn app:app
- WSGI compatible
- Parameterized and basic routing
- Class based handlers
- Test Client
- Support for templates
- Support for static files
- Custom exception handler
- Middleware
- Add ORM