![]() ![]() To make getting started quick and easy, with the ability to scale up toĬomplex applications. Popular packages.Flask is a lightweight WSGI web application framework. The Pallets organization develops and supports Werkzeug and other application def application ( request ): return Response ( 'Hello, World!' ) if _name_ = '_main_' : from rving import run_simple run_simple ( 'localhost', 4000, application ) Donate ![]() Install and update using pip: pip install -U Werkzeug A Simple Example from werkzeug.wrappers import Request, Response. Providing more structure and patterns for defining powerful Such as blogs, wikis, or bulletin boards.įlask wraps Werkzeug, using it to handle the details of WSGI while It can be used to build all sorts of end user applications It is up to the developer toĬhoose a template engine, database adapter, and even how to handle Werkzeug doesn’t enforce any dependencies. HTTP utilities to handle entity tags, cache control, dates, userĪ threaded WSGI server for use while developing applicationsĪ test client for simulating HTTP requests during testing without ![]() Headers, query args, form data, files, and cookies.Ī response object that can wrap other WSGI applications and handleĪ routing system for matching URLs to endpoints and generating URLsįor endpoints, with an extensible system for capturing variables Source code in the browser with an interactive interpreter for anyĪ full-featured request object with objects to interact with It began asĪ simple collection of various utilities for WSGI applications and hasīecome one of the most advanced WSGI utility libraries.Īn interactive debugger that allows inspecting stack traces and Werkzeug is a comprehensive WSGI web application library. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |