drakken-3.0


توضیحات

Python web framework
ویژگی مقدار
سیستم عامل OS Independent
نام فایل drakken-3.0
نام drakken
نسخه کتابخانه 3.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Craig Howard
ایمیل نویسنده craig@seagrape.us
آدرس صفحه اصلی https://seagrape.us/drakken.html
آدرس اینترنتی https://pypi.org/project/drakken/
مجوز MIT
# Drakken A minimalist [WSGI] web framework written in [Python]. Uses the [SQLAlchemy] database toolkit, the [Mako] template engine, and the [WebOb] WSGI library. ## Install pip3 install drakken ## Quickstart 1. Create a file **demo.py** and paste the following code into it: from drakken.core import Drakken app = Drakken() @app.route('/') def home(request, response): response.text = 'Hello from the HOME page' if __name__ == "__main__": app.runserver() 2. Launch demo.py: python3 demo.py 3. Visit the demo app's [home page](http://127.0.0.1:8000). You should see a web page with the message **Hello from the HOME page**. ## Links - [Project page](https://seagrape.us/drakken.html) - [Docs](https://seagrape.us/drakken-docs/index.html) - [Release history](https://seagrape.us/drakken-history.html) ## License [MIT License]. ## Contact Me Send bug reports and patches to <craig@seagrape.us>. [WSGI]: https://seagrape.us/blog/wsgi.html [SQLAlchemy]: https://www.sqlalchemy.org [Mako]: https://www.makotemplates.org [Python]: https://www.python.org [WebOb]: https://webob.org [MIT License]: https://seagrape.us/MIT-license.html


نیازمندی

مقدار نام
- mako
- parse
- pyaml
- requests
- requests-wsgi-adapter
- sqlalchemy
- webob


نحوه نصب


نصب پکیج whl drakken-3.0:

    pip install drakken-3.0.whl


نصب پکیج tar.gz drakken-3.0:

    pip install drakken-3.0.tar.gz