pallets/flask: The Python micro framework for building ... - GitHub
文章推薦指數: 80 %
Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex ... Skiptocontent {{message}} pallets / flask Public Notifications Fork 14.9k Star 58.4k ThePythonmicroframeworkforbuildingwebapplications. flask.palletsprojects.com BSD-3-ClauseLicense 58.4k stars 14.9k forks Star Notifications Code Issues 12 Pullrequests 1 Discussions Actions Security Insights More Code Issues Pullrequests Discussions Actions Security Insights Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository. main Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 5 branches 40 tags Code Latestcommit davidism Mergepullrequest#4488frompallets/typing-context-exit … 7abcf57 Mar15,2022 Mergepullrequest#4488frompallets/typing-context-exit accuratetypefor`__exit__` 7abcf57 Gitstats 4,571 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime .github Bumpactions/setup-pythonfrom2to3 Mar1,2022 artwork fixlistnumbering Oct2,2021 docs Mergebranch'2.0.x' Feb14,2022 examples safercheckforexistinguserintutorial Aug6,2021 requirements updaterequirements Feb9,2022 src/flask accuratetypefor__exit__ Mar15,2022 tests Mergebranch'2.0.x' Feb9,2022 .editorconfig addEditorConfig May23,2020 .gitignore Addvenvand.venvto.gitignore May21,2021 .pre-commit-config.yaml pinsetuptoolsforreorder_python_imports Feb18,2022 .readthedocs.yaml pinosandpythonversioninrtdbuild Dec23,2021 CHANGES.rst accuratetypefor__exit__ Mar15,2022 CODE_OF_CONDUCT.md CreateCODE_OF_CONDUCT.md May6,2019 CONTRIBUTING.rst Improvethecontributingguide Jun14,2021 LICENSE.rst standardizelicenseandcopyright Jun22,2019 MANIFEST.in Initialtypingsupport Apr26,2021 README.rst updatepiplink Aug10,2021 setup.cfg Mergebranch'2.0.x' Jan13,2022 setup.py cli:useimportlib.metadatainsteadofpkg_resources Jan17,2022 tox.ini Mergebranch'2.0.x' Nov15,2021 Viewcode Flask Installing ASimpleExample Contributing Donate Links README.rst Flask FlaskisalightweightWSGIwebapplicationframework.Itisdesigned tomakegettingstartedquickandeasy,withtheabilitytoscaleupto complexapplications.ItbeganasasimplewrapperaroundWerkzeug andJinjaandhasbecomeoneofthemostpopularPythonweb applicationframeworks. Flaskofferssuggestions,butdoesn'tenforceanydependenciesor projectlayout.Itisuptothedevelopertochoosethetoolsand librariestheywanttouse.Therearemanyextensionsprovidedbythe communitythatmakeaddingnewfunctionalityeasy. Installing Installandupdateusingpip: $pipinstall-UFlask ASimpleExample #savethisasapp.py fromflaskimportFlask app=Flask(__name__) @app.route("/") defhello(): return"Hello,World!" $flaskrun *Runningonhttp://127.0.0.1:5000/(PressCTRL+Ctoquit) Contributing Forguidanceonsettingupadevelopmentenvironmentandhowtomakea contributiontoFlask,seethecontributingguidelines. Donate ThePalletsorganizationdevelopsandsupportsFlaskandthelibraries ituses.Inordertogrowthecommunityofcontributorsandusers,and allowthemaintainerstodevotemoretimetotheprojects,please donatetoday. Links Documentation:https://flask.palletsprojects.com/ Changes:https://flask.palletsprojects.com/changes/ PyPIReleases:https://pypi.org/project/Flask/ SourceCode:https://github.com/pallets/flask/ IssueTracker:https://github.com/pallets/flask/issues/ Website:https://palletsprojects.com/p/flask/ Twitter:https://twitter.com/PalletsTeam Chat:https://discord.gg/pallets About ThePythonmicroframeworkforbuildingwebapplications. flask.palletsprojects.com Topics python flask web-framework wsgi jinja werkzeug pallets Resources Readme License BSD-3-ClauseLicense Codeofconduct Codeofconduct Stars 58.4k stars Watchers 2.2k watching Forks 14.9k forks Releases 16 2.0.3 Latest Feb14,2022 +15releases Sponsorthisproject https://palletsprojects.com/donate tidelift.com/funding/github/pypi/Flask Usedby983k +982,954 Contributors648 +637contributors Languages Python 99.9% Other 0.1% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.
延伸文章資訊
- 1Flask實作_基礎_01_建立第一個app
tags: python flask. 在Flask中,要建置一個網頁或是api並不是難事,難的事通常不會是這個,而 ...
- 2Welcome to Flask — Flask Documentation (2.0.x)
The rest of the docs describe each component of Flask in detail, with a full reference in the API...
- 3Visual Studio 中的了解Flask 教學課程步驟1,Flask 基本概念
使用Flask Web Project 範本,建立具有多個頁面與回應式設計的應用程式(步驟4) 。 在這些步驟中,您會建立單一Visual Studio 方案,其中包含兩個不同的 ...
- 4第20 天:Flask:基礎網頁製作 - iT 邦幫忙
要開始用Python 寫網站的話,絕大多數的人腦中浮現的第一個選擇大概會是Flask➀。Flask 這個套件提供了不少架設網站需要的基本工具,包括路由(Routes)、網頁模板(template...
- 5欢迎来到Flask 的世界— Flask 中文文档(2.0.2)
Flask 依赖Jinja 模板引擎和Werkzeug WSGI 套件。 ... 这部分文档是比较松散的,首先介绍了Flask 的一些背景材料, 然后专注于一步一步地说明如何使用Flask 进行...