flask

The Python micro framework for building web applications.

https://github.com/pallets/flask

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    21 of 834 committers (2.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary

Keywords

flask jinja pallets python web-framework werkzeug wsgi

Keywords from Contributors

sqlalchemy closember unit-testing flask-sqlalchemy alignment flexible templates apps asyncio distributed
Last synced: 6 months ago · JSON representation

Repository

The Python micro framework for building web applications.

Basic Info
Statistics
  • Stars: 70,306
  • Watchers: 2,103
  • Forks: 16,523
  • Open Issues: 6
  • Releases: 37
Topics
flask jinja pallets python web-framework werkzeug wsgi
Created almost 16 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License

README.md

Flask

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 applications. It began as a simple wrapper around Werkzeug and Jinja, and has become one of the most popular Python web application frameworks.

Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer to choose the tools and libraries they want to use. There are many extensions provided by the community that make adding new functionality easy.

A Simple Example

```python

save this as app.py

from flask import Flask

app = Flask(name)

@app.route("/") def hello(): return "Hello, World!" ```

$ flask run * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Donate

The Pallets organization develops and supports Flask and the libraries it uses. In order to grow the community of contributors and users, and allow the maintainers to devote more time to the projects, please donate today.

Contributing

See our detailed contributing documentation for many ways to contribute, including reporting issues, requesting features, asking or answering questions, and making PRs.

Owner

  • Name: Pallets
  • Login: pallets
  • Kind: organization
  • Email: contact@palletsprojects.com

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 3,753
  • Total Committers: 834
  • Avg Commits per committer: 4.5
  • Development Distribution Score (DDS): 0.74
Past Year
  • Commits: 76
  • Committers: 13
  • Avg Commits per committer: 5.846
  • Development Distribution Score (DDS): 0.158
Top Committers
Name Email Commits
Armin Ronacher a****r@a****m 975
David Lord d****m@g****m 762
Markus Unterwaditzer m****s@u****t 133
Ron DuPlain r****n@g****m 88
Grey Li w****i@g****m 62
dependabot[bot] 4****] 60
Daniel Neuhäuser d****h@g****m 59
dependabot-preview[bot] 2****] 51
pgjones p****s@g****m 50
pre-commit-ci[bot] 6****] 39
Keyan Pishdadian k****n@g****m 32
defuz d****t@g****m 26
ThiefMaster a****n@p****t 22
Thomas Waldmann tw@w****e 21
lord63 l****j@g****m 18
Simon Sapin s****n@e****g 17
florentx f****a@g****m 16
Jeff Widman j****f@j****m 14
Adam Byrtek a****k@g****m 13
Dag Odenhall d****l@g****m 13
wgwz k****9@g****m 13
Kenneth Reitz me@k****m 13
Hsiaoming Yang me@l****m 12
Phil Schaf f****p@w****e 12
Petr Zemek s****c@g****m 12
Randy Liou d****6@g****m 10
Matt Cooper m****c@x****m 9
Priit Laes p****s@p****g 9
garenchan 1****5@q****m 9
Joshua Bronson j****b 8
and 804 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 244
  • Total pull requests: 502
  • Average time to close issues: 19 days
  • Average time to close pull requests: 13 days
  • Total issue authors: 222
  • Total pull request authors: 180
  • Average comments per issue: 1.68
  • Average comments per pull request: 0.82
  • Merged pull requests: 236
  • Bot issues: 0
  • Bot pull requests: 86
Past Year
  • Issues: 60
  • Pull requests: 195
  • Average time to close issues: 11 days
  • Average time to close pull requests: 7 days
  • Issue authors: 54
  • Pull request authors: 66
  • Average comments per issue: 1.12
  • Average comments per pull request: 0.84
  • Merged pull requests: 72
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • davidism (8)
  • brendon-codes (4)
  • fabswt (2)
  • Utopians (2)
  • HuanjieGuo (2)
  • liffiton (2)
  • vignesh-0512 (2)
  • Zocker1999NET (2)
  • MrBird88 (2)
  • zx80 (2)
  • 100backslash001 (2)
  • signag (2)
  • bdc34 (2)
  • AluminumAngel (2)
  • sblondon (1)
Pull Request Authors
  • davidism (102)
  • dependabot[bot] (67)
  • pre-commit-ci[bot] (19)
  • pgjones (13)
  • EdgarPrueba (8)
  • degerahmet (6)
  • palako (6)
  • owenwu811 (6)
  • brendon-codes (5)
  • kurtmckee (4)
  • ahmetelgun (4)
  • Lopkop (4)
  • Badhreesh (4)
  • MirMohammadd (4)
  • cdce8p (4)
Top Labels
Issue Labels
docs (11) typing (4) cli (3) testing (1) discussion (1) bug (1) blueprints (1) async (1)
Pull Request Labels
dependencies (67) github_actions (47) docs (30) python (20) typing (6) cli (4) async (2) testing (1) session (1) blueprints (1) Invalid (1)

Packages

  • Total packages: 11
  • Total downloads:
    • pypi 136,994,593 last-month
  • Total docker downloads: 1,615,993,923
  • Total dependent packages: 2,693
    (may contain duplicates)
  • Total dependent repositories: 120,717
    (may contain duplicates)
  • Total versions: 109
  • Total maintainers: 6
  • Total advisories: 4
pypi.org: flask

A simple framework for building complex web applications.

  • Versions: 63
  • Dependent Packages: 2,451
  • Dependent Repositories: 119,058
  • Downloads: 136,991,849 Last month
  • Docker Downloads: 1,615,993,923
Rankings
Dependent repos count: 0.0%
Downloads: 0.0%
Dependent packages count: 0.0%
Stargazers count: 0.0%
Forks count: 0.0%
Average: 0.1%
Docker downloads count: 0.3%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: flask

Flask is a lightweight [WSGI](https://wsgi.readthedocs.io/) web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around [Werkzeug](https://werkzeug.palletsprojects.com/) and [Jinja](https://jinja.palletsprojects.com/) and has become one of the most popular Python web application frameworks. Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer to choose the tools and libraries they want to use. There are many extensions provided by the community that make adding new functionality easy.

  • Versions: 22
  • Dependent Packages: 227
  • Dependent Repositories: 829
Rankings
Stargazers count: 0.1%
Forks count: 0.1%
Dependent packages count: 0.3%
Average: 0.4%
Dependent repos count: 0.9%
Last synced: 6 months ago
anaconda.org: flask

Flask is a lightweight [WSGI](https://wsgi.readthedocs.io/) web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around [Werkzeug](https://werkzeug.palletsprojects.com/) and [Jinja](https://jinja.palletsprojects.com/) and has become one of the most popular Python web application frameworks. Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer to choose the tools and libraries they want to use. There are many extensions provided by the community that make adding new functionality easy.

  • Versions: 15
  • Dependent Packages: 15
  • Dependent Repositories: 829
Rankings
Stargazers count: 0.4%
Forks count: 0.5%
Average: 2.3%
Dependent packages count: 3.2%
Dependent repos count: 5.1%
Last synced: 6 months ago
pypi.org: dirtrav

A simple framework for building complex web applications.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 26 Last month
Rankings
Stargazers count: 0.0%
Forks count: 0.0%
Dependent packages count: 6.6%
Average: 14.7%
Dependent repos count: 30.6%
Downloads: 36.5%
Maintainers (1)
Last synced: 6 months ago
pypi.org: flask-mirror-upstream

A simple framework for building complex web applications.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 2,708 Last month
Rankings
Stargazers count: 0.0%
Forks count: 0.0%
Dependent packages count: 7.5%
Average: 19.3%
Dependent repos count: 69.6%
Maintainers (1)
Last synced: 6 months ago
pypi.org: f-ask

A simple framework for building complex web applications.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 10 Last month
Rankings
Stargazers count: 0.0%
Forks count: 0.0%
Dependent packages count: 10.1%
Average: 19.3%
Dependent repos count: 21.6%
Downloads: 64.9%
Maintainers (1)
Last synced: 6 months ago
pypi.org: fkask

A simple framework for building complex web applications.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 9.8%
Average: 32.6%
Dependent repos count: 55.4%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: flasl

A simple framework for building complex web applications.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 9.8%
Average: 32.6%
Dependent repos count: 55.4%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: falask

A simple framework for building complex web applications.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 9.8%
Average: 32.6%
Dependent repos count: 55.4%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: fflask

A simple framework for building complex web applications.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 9.8%
Average: 32.6%
Dependent repos count: 55.4%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: quickwebbasicauth

flask basic auth for Python

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 10.8%
Average: 35.7%
Dependent repos count: 60.6%
Maintainers (1)
Last synced: about 1 year ago

Dependencies

.github/workflows/lock.yaml actions
  • dessant/lock-threads v4 composite
.github/workflows/tests.yaml actions
  • actions/cache v3.2.2 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
requirements/dev.in pypi
  • pip-compile-multi * development
  • pre-commit * development
  • tox * development
requirements/dev.txt pypi
  • build ==0.9.0 development
  • cachetools ==5.2.0 development
  • cfgv ==3.3.1 development
  • chardet ==5.1.0 development
  • click ==8.1.3 development
  • colorama ==0.4.6 development
  • distlib ==0.3.6 development
  • filelock ==3.8.2 development
  • identify ==2.5.11 development
  • nodeenv ==1.7.0 development
  • pep517 ==0.13.0 development
  • pip-compile-multi ==2.6.1 development
  • pip-tools ==6.12.1 development
  • platformdirs ==2.6.0 development
  • pre-commit ==2.20.0 development
  • pyproject-api ==1.2.1 development
  • pyyaml ==6.0 development
  • toml ==0.10.2 development
  • toposort ==1.7 development
  • tox ==4.0.16 development
  • virtualenv ==20.17.1 development
  • wheel ==0.38.4 development
requirements/docs.in pypi
  • Pallets-Sphinx-Themes *
  • Sphinx <5
  • sphinx-issues *
  • sphinx-tabs <3.4
  • sphinxcontrib-log-cabinet *
requirements/docs.txt pypi
  • alabaster ==0.7.12
  • babel ==2.11.0
  • certifi ==2022.12.7
  • charset-normalizer ==2.1.1
  • docutils ==0.17.1
  • idna ==3.4
  • imagesize ==1.4.1
  • jinja2 ==3.1.2
  • markupsafe ==2.1.1
  • packaging ==22.0
  • pallets-sphinx-themes ==2.0.3
  • pygments ==2.13.0
  • pytz ==2022.7
  • requests ==2.28.1
  • snowballstemmer ==2.2.0
  • sphinx ==4.5.0
  • sphinx-issues ==3.0.1
  • sphinx-tabs ==3.3.1
  • sphinxcontrib-applehelp ==1.0.2
  • sphinxcontrib-devhelp ==1.0.2
  • sphinxcontrib-htmlhelp ==2.0.0
  • sphinxcontrib-jsmath ==1.0.1
  • sphinxcontrib-log-cabinet ==1.0.1
  • sphinxcontrib-qthelp ==1.0.3
  • sphinxcontrib-serializinghtml ==1.1.5
  • urllib3 ==1.26.13
requirements/tests-pallets-min.in pypi
  • Jinja2 ==3.0.0 test
  • MarkupSafe ==2.0.0 test
  • Werkzeug ==2.0.0 test
  • click ==8.0.0 test
  • itsdangerous ==2.0.0 test
requirements/tests-pallets-min.txt pypi
  • click ==8.0.0 test
  • itsdangerous ==2.0.0 test
  • jinja2 ==3.0.0 test
  • markupsafe ==2.0.0 test
  • werkzeug ==2.0.0 test
requirements/tests.in pypi
  • asgiref * test
  • blinker * test
  • greenlet * test
  • pytest * test
  • python-dotenv * test
requirements/tests.txt pypi
  • asgiref ==3.6.0 test
  • attrs ==22.2.0 test
  • blinker ==1.5 test
  • iniconfig ==1.1.1 test
  • packaging ==22.0 test
  • pluggy ==1.0.0 test
  • pytest ==7.2.0 test
  • python-dotenv ==0.21.0 test
requirements/typing.in pypi
  • cryptography *
  • mypy *
  • types-contextvars *
  • types-dataclasses *
  • types-setuptools *
requirements/typing.txt pypi
  • cffi ==1.15.1
  • cryptography ==38.0.4
  • mypy ==0.991
  • mypy-extensions ==0.4.3
  • pycparser ==2.21
  • types-contextvars ==2.4.7
  • types-dataclasses ==0.6.6
  • types-setuptools ==65.6.0.2
  • typing-extensions ==4.4.0
.github/workflows/publish.yaml actions
  • actions/checkout c85c95e3d7251135ab7dc9ce3241c5835cc595a9 composite
  • actions/download-artifact 9bc31d5ccc31df68ecc42ccf4149144866c47d8a composite
  • actions/setup-python bd6b4b6205c4dbad673328db7b31b7fab9e241c0 composite
  • actions/upload-artifact 0b7f8abb1508181956e8e162db84b466c27e18ce composite
  • pypa/gh-action-pypi-publish f5622bde02b04381239da3573277701ceca8f6a0 composite
examples/celery/pyproject.toml pypi
  • celery [redis]>=5.2.7
  • flask >=2.2.2
examples/celery/requirements.txt pypi
  • amqp ==5.1.1
  • async-timeout ==4.0.2
  • billiard ==3.6.4.0
  • blinker ==1.6.2
  • celery ==5.2.7
  • click ==8.1.3
  • click-didyoumean ==0.3.0
  • click-plugins ==1.1.1
  • click-repl ==0.2.0
  • flask ==2.3.2
  • itsdangerous ==2.1.2
  • jinja2 ==3.1.2
  • kombu ==5.2.4
  • markupsafe ==2.1.2
  • prompt-toolkit ==3.0.38
  • pytz ==2023.3
  • redis ==4.5.4
  • six ==1.16.0
  • vine ==5.0.0
  • wcwidth ==0.2.6
  • werkzeug ==2.3.3
examples/javascript/pyproject.toml pypi
  • flask *
examples/tutorial/pyproject.toml pypi
  • flask *
pyproject.toml pypi
  • Jinja2 >=3.1.2
  • Werkzeug >=2.3.6
  • blinker >=1.6.2
  • click >=8.1.3
  • importlib-metadata >=3.6.0; python_version < '3.10'
  • itsdangerous >=2.1.2
requirements/build.in pypi
  • build *
requirements/build.txt pypi
  • build ==0.10.0
  • packaging ==23.1
  • pyproject-hooks ==1.0.0