Skip to content

Commit 7917724

Browse files
committed
initial commit
1 parent 38c27be commit 7917724

File tree

2,286 files changed

+392008
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,286 files changed

+392008
-0
lines changed
485 Bytes
Binary file not shown.

my_project_env/app.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# app.py
2+
from flask import Flask, jsonify
3+
4+
app = Flask(__name__)
5+
6+
7+
@app.route('/')
8+
def home():
9+
test= "L5oo next year"
10+
return jsonify(message="Hello level 400 FET, Quality Assurance! " + test)
11+
12+
13+
if __name__ == '__main__':
14+
app.run(debug=True)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pip
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Copyright 2010 Pallets
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
1. Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in the
12+
documentation and/or other materials provided with the distribution.
13+
14+
3. Neither the name of the copyright holder nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
21+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
24+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
Metadata-Version: 2.1
2+
Name: MarkupSafe
3+
Version: 3.0.2
4+
Summary: Safely add untrusted strings to HTML/XML markup.
5+
Maintainer-email: Pallets <contact@palletsprojects.com>
6+
License: Copyright 2010 Pallets
7+
8+
Redistribution and use in source and binary forms, with or without
9+
modification, are permitted provided that the following conditions are
10+
met:
11+
12+
1. Redistributions of source code must retain the above copyright
13+
notice, this list of conditions and the following disclaimer.
14+
15+
2. Redistributions in binary form must reproduce the above copyright
16+
notice, this list of conditions and the following disclaimer in the
17+
documentation and/or other materials provided with the distribution.
18+
19+
3. Neither the name of the copyright holder nor the names of its
20+
contributors may be used to endorse or promote products derived from
21+
this software without specific prior written permission.
22+
23+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
26+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
29+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
30+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
31+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
32+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
33+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34+
35+
Project-URL: Donate, https://palletsprojects.com/donate
36+
Project-URL: Documentation, https://markupsafe.palletsprojects.com/
37+
Project-URL: Changes, https://markupsafe.palletsprojects.com/changes/
38+
Project-URL: Source, https://github.com/pallets/markupsafe/
39+
Project-URL: Chat, https://discord.gg/pallets
40+
Classifier: Development Status :: 5 - Production/Stable
41+
Classifier: Environment :: Web Environment
42+
Classifier: Intended Audience :: Developers
43+
Classifier: License :: OSI Approved :: BSD License
44+
Classifier: Operating System :: OS Independent
45+
Classifier: Programming Language :: Python
46+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
47+
Classifier: Topic :: Text Processing :: Markup :: HTML
48+
Classifier: Typing :: Typed
49+
Requires-Python: >=3.9
50+
Description-Content-Type: text/markdown
51+
License-File: LICENSE.txt
52+
53+
# MarkupSafe
54+
55+
MarkupSafe implements a text object that escapes characters so it is
56+
safe to use in HTML and XML. Characters that have special meanings are
57+
replaced so that they display as the actual characters. This mitigates
58+
injection attacks, meaning untrusted user input can safely be displayed
59+
on a page.
60+
61+
62+
## Examples
63+
64+
```pycon
65+
>>> from markupsafe import Markup, escape
66+
67+
>>> # escape replaces special characters and wraps in Markup
68+
>>> escape("<script>alert(document.cookie);</script>")
69+
Markup('&lt;script&gt;alert(document.cookie);&lt;/script&gt;')
70+
71+
>>> # wrap in Markup to mark text "safe" and prevent escaping
72+
>>> Markup("<strong>Hello</strong>")
73+
Markup('<strong>hello</strong>')
74+
75+
>>> escape(Markup("<strong>Hello</strong>"))
76+
Markup('<strong>hello</strong>')
77+
78+
>>> # Markup is a str subclass
79+
>>> # methods and operators escape their arguments
80+
>>> template = Markup("Hello <em>{name}</em>")
81+
>>> template.format(name='"World"')
82+
Markup('Hello <em>&#34;World&#34;</em>')
83+
```
84+
85+
## Donate
86+
87+
The Pallets organization develops and supports MarkupSafe and other
88+
popular packages. In order to grow the community of contributors and
89+
users, and allow the maintainers to devote more time to the projects,
90+
[please donate today][].
91+
92+
[please donate today]: https://palletsprojects.com/donate
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
MarkupSafe-3.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2+
MarkupSafe-3.0.2.dist-info/LICENSE.txt,sha256=RjHsDbX9kKVH4zaBcmTGeYIUM4FG-KyUtKV_lu6MnsQ,1503
3+
MarkupSafe-3.0.2.dist-info/METADATA,sha256=nhoabjupBG41j_JxPCJ3ylgrZ6Fx8oMCFbiLF9Kafqc,4067
4+
MarkupSafe-3.0.2.dist-info/RECORD,,
5+
MarkupSafe-3.0.2.dist-info/WHEEL,sha256=IqiWNwTSPPvorR7mTezuRY2eqj__44JKKkjOiewDX64,101
6+
MarkupSafe-3.0.2.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
7+
markupsafe/__init__.py,sha256=pREerPwvinB62tNCMOwqxBS2YHV6R52Wcq1d-rB4Z5o,13609
8+
markupsafe/__pycache__/__init__.cpython-310.pyc,,
9+
markupsafe/__pycache__/_native.cpython-310.pyc,,
10+
markupsafe/_native.py,sha256=2ptkJ40yCcp9kq3L1NqpgjfpZB-obniYKFFKUOkHh4Q,218
11+
markupsafe/_speedups.c,sha256=SglUjn40ti9YgQAO--OgkSyv9tXq9vvaHyVhQows4Ok,4353
12+
markupsafe/_speedups.cp310-win_amd64.pyd,sha256=RTvh-UzJTX7J_4j-A5jZmnqwRKBe0pQiDPd_j60jft8,13312
13+
markupsafe/_speedups.pyi,sha256=LSDmXYOefH4HVpAXuL8sl7AttLw0oXh1njVoVZp2wqQ,42
14+
markupsafe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Wheel-Version: 1.0
2+
Generator: setuptools (75.2.0)
3+
Root-Is-Purelib: false
4+
Tag: cp310-cp310-win_amd64
5+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
markupsafe
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)