-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
12,359 changed files
with
2,565,352 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Copyright 2010 Pallets | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A | ||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED | ||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
Metadata-Version: 2.1 | ||
Name: Flask | ||
Version: 2.2.2 | ||
Summary: A simple framework for building complex web applications. | ||
Home-page: https://palletsprojects.com/p/flask | ||
Author: Armin Ronacher | ||
Author-email: armin.ronacher@active-4.com | ||
Maintainer: Pallets | ||
Maintainer-email: contact@palletsprojects.com | ||
License: BSD-3-Clause | ||
Project-URL: Donate, https://palletsprojects.com/donate | ||
Project-URL: Documentation, https://flask.palletsprojects.com/ | ||
Project-URL: Changes, https://flask.palletsprojects.com/changes/ | ||
Project-URL: Source Code, https://github.com/pallets/flask/ | ||
Project-URL: Issue Tracker, https://github.com/pallets/flask/issues/ | ||
Project-URL: Twitter, https://twitter.com/PalletsTeam | ||
Project-URL: Chat, https://discord.gg/pallets | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Web Environment | ||
Classifier: Framework :: Flask | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: BSD License | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI | ||
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application | ||
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks | ||
Requires-Python: >=3.7 | ||
Description-Content-Type: text/x-rst | ||
License-File: LICENSE.rst | ||
Requires-Dist: Werkzeug (>=2.2.2) | ||
Requires-Dist: Jinja2 (>=3.0) | ||
Requires-Dist: itsdangerous (>=2.0) | ||
Requires-Dist: click (>=8.0) | ||
Requires-Dist: importlib-metadata (>=3.6.0) ; python_version < "3.10" | ||
Provides-Extra: async | ||
Requires-Dist: asgiref (>=3.2) ; extra == 'async' | ||
Provides-Extra: dotenv | ||
Requires-Dist: python-dotenv ; extra == 'dotenv' | ||
|
||
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. | ||
|
||
.. _WSGI: https://wsgi.readthedocs.io/ | ||
.. _Werkzeug: https://werkzeug.palletsprojects.com/ | ||
.. _Jinja: https://jinja.palletsprojects.com/ | ||
|
||
|
||
Installing | ||
---------- | ||
|
||
Install and update using `pip`_: | ||
|
||
.. code-block:: text | ||
|
||
$ pip install -U Flask | ||
|
||
.. _pip: https://pip.pypa.io/en/stable/getting-started/ | ||
|
||
|
||
A Simple Example | ||
---------------- | ||
|
||
.. code-block:: python | ||
|
||
# save this as app.py | ||
from flask import Flask | ||
|
||
app = Flask(__name__) | ||
|
||
@app.route("/") | ||
def hello(): | ||
return "Hello, World!" | ||
|
||
.. code-block:: text | ||
|
||
$ flask run | ||
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) | ||
|
||
|
||
Contributing | ||
------------ | ||
|
||
For guidance on setting up a development environment and how to make a | ||
contribution to Flask, see the `contributing guidelines`_. | ||
|
||
.. _contributing guidelines: https://github.com/pallets/flask/blob/main/CONTRIBUTING.rst | ||
|
||
|
||
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`_. | ||
|
||
.. _please donate today: https://palletsprojects.com/donate | ||
|
||
|
||
Links | ||
----- | ||
|
||
- Documentation: https://flask.palletsprojects.com/ | ||
- Changes: https://flask.palletsprojects.com/changes/ | ||
- PyPI Releases: https://pypi.org/project/Flask/ | ||
- Source Code: https://github.com/pallets/flask/ | ||
- Issue Tracker: https://github.com/pallets/flask/issues/ | ||
- Website: https://palletsprojects.com/p/flask/ | ||
- Twitter: https://twitter.com/PalletsTeam | ||
- Chat: https://discord.gg/pallets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
../../Scripts/flask.exe,sha256=7g51dqedx6KGeZge_zobUW0HJxYANvE07YcOI-2d9mY,108405 | ||
Flask-2.2.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 | ||
Flask-2.2.2.dist-info/LICENSE.rst,sha256=SJqOEQhQntmKN7uYPhHg9-HTHwvY-Zp5yESOf_N9B-o,1475 | ||
Flask-2.2.2.dist-info/METADATA,sha256=UXiwRLD1johd_tGlYOlOKXkJFIG82ehR3bxqh4XWFwA,3889 | ||
Flask-2.2.2.dist-info/RECORD,, | ||
Flask-2.2.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 | ||
Flask-2.2.2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 | ||
Flask-2.2.2.dist-info/entry_points.txt,sha256=s3MqQpduU25y4dq3ftBYD6bMVdVnbMpZP-sUNw0zw0k,41 | ||
Flask-2.2.2.dist-info/top_level.txt,sha256=dvi65F6AeGWVU0TBpYiC04yM60-FX1gJFkK31IKQr5c,6 | ||
flask/__init__.py,sha256=Y4mEWqAMxj_Oxq9eYv3tWyN-0nU9yVKBGK_t6BxqvvM,2890 | ||
flask/__main__.py,sha256=bYt9eEaoRQWdejEHFD8REx9jxVEdZptECFsV7F49Ink,30 | ||
flask/__pycache__/__init__.cpython-311.pyc,, | ||
flask/__pycache__/__main__.cpython-311.pyc,, | ||
flask/__pycache__/app.cpython-311.pyc,, | ||
flask/__pycache__/blueprints.cpython-311.pyc,, | ||
flask/__pycache__/cli.cpython-311.pyc,, | ||
flask/__pycache__/config.cpython-311.pyc,, | ||
flask/__pycache__/ctx.cpython-311.pyc,, | ||
flask/__pycache__/debughelpers.cpython-311.pyc,, | ||
flask/__pycache__/globals.cpython-311.pyc,, | ||
flask/__pycache__/helpers.cpython-311.pyc,, | ||
flask/__pycache__/logging.cpython-311.pyc,, | ||
flask/__pycache__/scaffold.cpython-311.pyc,, | ||
flask/__pycache__/sessions.cpython-311.pyc,, | ||
flask/__pycache__/signals.cpython-311.pyc,, | ||
flask/__pycache__/templating.cpython-311.pyc,, | ||
flask/__pycache__/testing.cpython-311.pyc,, | ||
flask/__pycache__/typing.cpython-311.pyc,, | ||
flask/__pycache__/views.cpython-311.pyc,, | ||
flask/__pycache__/wrappers.cpython-311.pyc,, | ||
flask/app.py,sha256=VfBcGmEVveMcSajkUmDXCEOvAd-2mIBJ355KicvQ4gE,99025 | ||
flask/blueprints.py,sha256=Jbrt-2jlLiFklC3De9EWBioPtDjHYYbXlTDK9Z7L2nk,26936 | ||
flask/cli.py,sha256=foLlD8NiIXcxpxMmRQvvlZPbVM8pxOaJG3sa58c9dAA,33486 | ||
flask/config.py,sha256=IWqHecH4poDxNEUg4U_ZA1CTlL5BKZDX3ofG4UGYyi0,12584 | ||
flask/ctx.py,sha256=ZOGEWuFjsCIk3vm-C9pLME0e4saeBkeGpr2tTSvemSM,14851 | ||
flask/debughelpers.py,sha256=_RvAL3TW5lqMJeCVWtTU6rSDJC7jnRaBL6OEkVmooyU,5511 | ||
flask/globals.py,sha256=1DLZMi8Su-S1gf8zEiR3JPi6VXYIrYqm8C9__Ly66ss,3187 | ||
flask/helpers.py,sha256=ELq27745jihrdyAP9qY8KENlCVDdnWRWTIn35L9a-UU,25334 | ||
flask/json/__init__.py,sha256=TOwldHT3_kFaXHlORKi9yCWt7dbPNB0ovdHHQWlSRzY,11175 | ||
flask/json/__pycache__/__init__.cpython-311.pyc,, | ||
flask/json/__pycache__/provider.cpython-311.pyc,, | ||
flask/json/__pycache__/tag.cpython-311.pyc,, | ||
flask/json/provider.py,sha256=jXCNypf11PN4ngQjEt6LnSdCWQ1yHIAkNLHlXQlCB-A,10674 | ||
flask/json/tag.py,sha256=fys3HBLssWHuMAIJuTcf2K0bCtosePBKXIWASZEEjnU,8857 | ||
flask/logging.py,sha256=WYng0bLTRS_CJrocGcCLJpibHf1lygHE_pg-KoUIQ4w,2293 | ||
flask/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 | ||
flask/scaffold.py,sha256=tiQRK-vMY5nucoN6pewXF87GaxrltsCGOgTVsT6wm7s,33443 | ||
flask/sessions.py,sha256=66oGlE-v9iac-eb54tFN3ILAjJ1FeeuHHWw98UVaoxc,15847 | ||
flask/signals.py,sha256=H7QwDciK-dtBxinjKpexpglP0E6k0MJILiFWTItfmqU,2136 | ||
flask/templating.py,sha256=1P4OzvSnA2fsJTYgQT3G4owVKsuOz8XddCiR6jMHGJ0,7419 | ||
flask/testing.py,sha256=p51f9P7jDc_IDSiZug7jypnfVcxsQrMg3B2tnjlpEFw,10596 | ||
flask/typing.py,sha256=KgxegTF9v9WvuongeF8LooIvpZPauzGrq9ZXf3gBlYc,2969 | ||
flask/views.py,sha256=bveWilivkPP-4HB9w_fOusBz6sHNIl0QTqKUFMCltzE,6738 | ||
flask/wrappers.py,sha256=Wa-bhjNdPPveSHS1dpzD_r-ayZxIYFF1DoWncKOafrk,5695 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Wheel-Version: 1.0 | ||
Generator: bdist_wheel (0.37.1) | ||
Root-Is-Purelib: true | ||
Tag: py3-none-any | ||
|
2 changes: 2 additions & 0 deletions
2
venv/Lib/site-packages/Flask-2.2.2.dist-info/entry_points.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[console_scripts] | ||
flask = flask.cli:main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
flask |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Copyright 2007 Pallets | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A | ||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED | ||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
Metadata-Version: 2.1 | ||
Name: Jinja2 | ||
Version: 3.1.2 | ||
Summary: A very fast and expressive template engine. | ||
Home-page: https://palletsprojects.com/p/jinja/ | ||
Author: Armin Ronacher | ||
Author-email: armin.ronacher@active-4.com | ||
Maintainer: Pallets | ||
Maintainer-email: contact@palletsprojects.com | ||
License: BSD-3-Clause | ||
Project-URL: Donate, https://palletsprojects.com/donate | ||
Project-URL: Documentation, https://jinja.palletsprojects.com/ | ||
Project-URL: Changes, https://jinja.palletsprojects.com/changes/ | ||
Project-URL: Source Code, https://github.com/pallets/jinja/ | ||
Project-URL: Issue Tracker, https://github.com/pallets/jinja/issues/ | ||
Project-URL: Twitter, https://twitter.com/PalletsTeam | ||
Project-URL: Chat, https://discord.gg/pallets | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Web Environment | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: BSD License | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Classifier: Topic :: Text Processing :: Markup :: HTML | ||
Requires-Python: >=3.7 | ||
Description-Content-Type: text/x-rst | ||
License-File: LICENSE.rst | ||
Requires-Dist: MarkupSafe (>=2.0) | ||
Provides-Extra: i18n | ||
Requires-Dist: Babel (>=2.7) ; extra == 'i18n' | ||
|
||
Jinja | ||
===== | ||
|
||
Jinja is a fast, expressive, extensible templating engine. Special | ||
placeholders in the template allow writing code similar to Python | ||
syntax. Then the template is passed data to render the final document. | ||
|
||
It includes: | ||
|
||
- Template inheritance and inclusion. | ||
- Define and import macros within templates. | ||
- HTML templates can use autoescaping to prevent XSS from untrusted | ||
user input. | ||
- A sandboxed environment can safely render untrusted templates. | ||
- AsyncIO support for generating templates and calling async | ||
functions. | ||
- I18N support with Babel. | ||
- Templates are compiled to optimized Python code just-in-time and | ||
cached, or can be compiled ahead-of-time. | ||
- Exceptions point to the correct line in templates to make debugging | ||
easier. | ||
- Extensible filters, tests, functions, and even syntax. | ||
|
||
Jinja's philosophy is that while application logic belongs in Python if | ||
possible, it shouldn't make the template designer's job difficult by | ||
restricting functionality too much. | ||
|
||
|
||
Installing | ||
---------- | ||
|
||
Install and update using `pip`_: | ||
|
||
.. code-block:: text | ||
|
||
$ pip install -U Jinja2 | ||
|
||
.. _pip: https://pip.pypa.io/en/stable/getting-started/ | ||
|
||
|
||
In A Nutshell | ||
------------- | ||
|
||
.. code-block:: jinja | ||
|
||
{% extends "base.html" %} | ||
{% block title %}Members{% endblock %} | ||
{% block content %} | ||
<ul> | ||
{% for user in users %} | ||
<li><a href="{{ user.url }}">{{ user.username }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock %} | ||
|
||
|
||
Donate | ||
------ | ||
|
||
The Pallets organization develops and supports Jinja and other popular | ||
packages. In order to grow the community of contributors and users, and | ||
allow the maintainers to devote more time to the projects, `please | ||
donate today`_. | ||
|
||
.. _please donate today: https://palletsprojects.com/donate | ||
|
||
|
||
Links | ||
----- | ||
|
||
- Documentation: https://jinja.palletsprojects.com/ | ||
- Changes: https://jinja.palletsprojects.com/changes/ | ||
- PyPI Releases: https://pypi.org/project/Jinja2/ | ||
- Source Code: https://github.com/pallets/jinja/ | ||
- Issue Tracker: https://github.com/pallets/jinja/issues/ | ||
- Website: https://palletsprojects.com/p/jinja/ | ||
- Twitter: https://twitter.com/PalletsTeam | ||
- Chat: https://discord.gg/pallets | ||
|
||
|
Oops, something went wrong.