Flask Documentation (1.1.x)and the Werkzeug [https://www.palletsprojects.com/p/werkzeug/] WSGI toolkit. The documentation for these libraries can be found at: • Jinja documentation [http://jinja.pocoo.org/docs] • Werkzeug documentation documentation [https://werkzeug.palletsprojects.com/] ## User's Guide This part of the documentation, which is mostly prose, begins with some background information about Flask, then focuses on step-by-step These distributions will be installed automatically when installing Flask. - Werkzeug [https://palletsprojects.com/p/werkzeug/] implements WSGI, the standard Python interface between applications and servers0 码力 | 428 页 | 895.98 KB | 2 年前3
Flask Documentation (1.1.x)depends on the Jinja template engine and the Werkzeug WSGI toolkit. The documentation for these libraries can be found at: • Jinja documentation • Werkzeug documentation # USER'S GUIDE This part 3.2 Dependencies These distributions will be installed automatically when installing Flask. • Werkzeug implements WSGI, the standard Python interface between applications and servers. • Jinja is a template pment/flask/flask.py", line 650, in __call__ File "/Users/mitsuhiko/Development/werkzeug-main/werkzeug/wsgi.py", line 406, in ___call__ return self.app(environ, start_response) File0 码力 | 291 页 | 1.25 MB | 2 年前3
Debian Referenz v2.124Der interne Dateibetrachter in MC MC ist ein sehr toller Dateibetrachter. Er ist ein großartiges Werkzeug, um nach Wörtern in Dokumenten zu suchen. Ich verwende ihn immer für Dateien im /usr/share/doc-Verzeichnis HTTP und FTP bereitgestellt. Es ist auch als CD-ROM/DVD erhältlich. Das derzeit empfohlene Debian-Werkzeug für Paketmanagement, das all diese Ressourcen nutzen kann, ist das Advanced Packaging Tool (APT) I:8|477|Auflistung kritischer Fehler vor jeder APT-Installation| |apt-file|V:17, I:67|89|APT-Paketsuch-Werkzeug - Befehlszeilen-Interface| |apt-rdepends|V:0, I:5|39|rekursive Auflistung von Paketabhängigkeiten|0 码力 | 289 页 | 1.44 MB | 1 年前3
Flask-RESTful Documentation Release 0.3.10HTTP/1.0 204 NO CONTENT < Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT ## Add a new task $ curl http://localhost:5000/todos < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT * Closing connection #0 {"task":0 码力 | 42 页 | 84.60 KB | 2 年前3
Flask-RESTful Documentation Release 0.3.8HTTP/1.0 204 NO CONTENT < Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT ## Add a new task $ curl < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task":0 码力 | 55 页 | 93.30 KB | 2 年前3
Flask-RESTful Documentation Release 0.3.7HTTP/1.0 204 NO CONTENT < Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT ## Add a new task $ curl < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task":0 码力 | 55 页 | 93.21 KB | 2 年前3
Flask入门教程GitHub 上是 Star 数量最多的 Python Web 框架,没有之一。 Flask 是典型的微框架,作为 Web 框架来说,它仅保留了核心功能:请求响应处理和模板渲染。这两类功能分别由 Werkzeug(WSGI 工具库)完成和 Jinja(模板渲染库)完成,因为 Flask 包装了这两个依赖,我们暂时不用深入了解它们。 ## 主页 这一章的主要任务就是为我们的程序编写一个简单的主页。主页的 Flask 的依赖 Werkzeug 内置了用于生成和验证密码散列值的函 数,werkzeug.security.generate_password_hash() 用来为给定的密码生成密码散列值,而 werkzeug.security.check_password_hash() 则用来检查给定的散列值和密码是否对应。使用示例如下所示: >>> from werkzeug.security 我们在存储用户信息的 User 模型类添加 username 字段和 password_hash 字段,分别用来存储登录所需的用户名和密码散列值,同时添加两个方法来实现设置密码和验证密码的功能: from werkzeug.security import generate_password_hash, check_password_hash class User(db.Model): id = db.Column(db0 码力 | 127 页 | 7.62 MB | 1 年前3
Flask-RESTful Documentation Release 0.3.6HTTP/1.0 204 NO CONTENT < Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT ## Add a new task $ curl http://localhost:5000/todos < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": ;, location='cookies') # From file uploads parser.add_argument('picture', type=werkzeug.datastructures.FileStorage, location='files') ## Note Only use type=list when location='json'0 码力 | 49 页 | 91.90 KB | 2 年前3
Flask-RESTful Documentation
Release 0.3.10HTTP/1.0 204 NO CONTENT < Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT ## Add a new task $ curl < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": < HTTP/1.0 201 CREATED < Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task":0 码力 | 39 页 | 212.29 KB | 2 年前3
The Dangerous Flask Hsiaoming YangContent-Length: 2 Content-Type: text/html; charset=utf-8 Date: Fri, 13 Sep 2019 06:26:32 GMT Server: Werkzeug/0.15.5 Python/3.7.4 Set-Cookie: session=eyJtc2ci0iJIaSJ9.XXs2mA.GAZzFxyv_RCuX-zyR6oXPB0PRXI; HttpOnly; from itsdangerous import BadSignature 16 from itsdangerous import URLsafeTimeTimeSeries 17 from werkzeug.datastructures import CallbackDict 18 19 from __compat import collections_abc 20 from __造成的 import 4k 12.9k jinja The Jinja template engine Python ★ 6.5k 🐑 1.2k Python ★ 4.9k ☀️ 1.4k ## werkzeug ## click The comprehensive WSGI web application library. Python composable command line interface0 码力 | 38 页 | 2.75 MB | 1 年前3
共 80 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













