Skip to content

Commit cdd31f6

Browse files
committed
Honestly this is beyond me...
1 parent effdae9 commit cdd31f6

File tree

3,747 files changed

+897705
-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.

3,747 files changed

+897705
-0
lines changed

deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ tar -xzf venv.tar.gz
66
# Activate the virtual environment
77
source venv/bin/activate
88

9+
# Ensure pip is in the PATH
10+
export PATH=$PATH:/home/.local/bin
11+
912
# Check if python3 is available
1013
if ! command -v python3 &> /dev/null
1114
then

venv.tar.gz

29 Bytes
Binary file not shown.
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: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
Metadata-Version: 2.1
2+
Name: MarkupSafe
3+
Version: 2.1.5
4+
Summary: Safely add untrusted strings to HTML/XML markup.
5+
Home-page: https://palletsprojects.com/p/markupsafe/
6+
Maintainer: Pallets
7+
Maintainer-email: contact@palletsprojects.com
8+
License: BSD-3-Clause
9+
Project-URL: Donate, https://palletsprojects.com/donate
10+
Project-URL: Documentation, https://markupsafe.palletsprojects.com/
11+
Project-URL: Changes, https://markupsafe.palletsprojects.com/changes/
12+
Project-URL: Source Code, https://github.com/pallets/markupsafe/
13+
Project-URL: Issue Tracker, https://github.com/pallets/markupsafe/issues/
14+
Project-URL: Chat, https://discord.gg/pallets
15+
Classifier: Development Status :: 5 - Production/Stable
16+
Classifier: Environment :: Web Environment
17+
Classifier: Intended Audience :: Developers
18+
Classifier: License :: OSI Approved :: BSD License
19+
Classifier: Operating System :: OS Independent
20+
Classifier: Programming Language :: Python
21+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
22+
Classifier: Topic :: Text Processing :: Markup :: HTML
23+
Requires-Python: >=3.7
24+
Description-Content-Type: text/x-rst
25+
License-File: LICENSE.rst
26+
27+
MarkupSafe
28+
==========
29+
30+
MarkupSafe implements a text object that escapes characters so it is
31+
safe to use in HTML and XML. Characters that have special meanings are
32+
replaced so that they display as the actual characters. This mitigates
33+
injection attacks, meaning untrusted user input can safely be displayed
34+
on a page.
35+
36+
37+
Installing
38+
----------
39+
40+
Install and update using `pip`_:
41+
42+
.. code-block:: text
43+
44+
pip install -U MarkupSafe
45+
46+
.. _pip: https://pip.pypa.io/en/stable/getting-started/
47+
48+
49+
Examples
50+
--------
51+
52+
.. code-block:: pycon
53+
54+
>>> from markupsafe import Markup, escape
55+
56+
>>> # escape replaces special characters and wraps in Markup
57+
>>> escape("<script>alert(document.cookie);</script>")
58+
Markup('&lt;script&gt;alert(document.cookie);&lt;/script&gt;')
59+
60+
>>> # wrap in Markup to mark text "safe" and prevent escaping
61+
>>> Markup("<strong>Hello</strong>")
62+
Markup('<strong>hello</strong>')
63+
64+
>>> escape(Markup("<strong>Hello</strong>"))
65+
Markup('<strong>hello</strong>')
66+
67+
>>> # Markup is a str subclass
68+
>>> # methods and operators escape their arguments
69+
>>> template = Markup("Hello <em>{name}</em>")
70+
>>> template.format(name='"World"')
71+
Markup('Hello <em>&#34;World&#34;</em>')
72+
73+
74+
Donate
75+
------
76+
77+
The Pallets organization develops and supports MarkupSafe and other
78+
popular packages. In order to grow the community of contributors and
79+
users, and allow the maintainers to devote more time to the projects,
80+
`please donate today`_.
81+
82+
.. _please donate today: https://palletsprojects.com/donate
83+
84+
85+
Links
86+
-----
87+
88+
- Documentation: https://markupsafe.palletsprojects.com/
89+
- Changes: https://markupsafe.palletsprojects.com/changes/
90+
- PyPI Releases: https://pypi.org/project/MarkupSafe/
91+
- Source Code: https://github.com/pallets/markupsafe/
92+
- Issue Tracker: https://github.com/pallets/markupsafe/issues/
93+
- Chat: https://discord.gg/pallets
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
MarkupSafe-2.1.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2+
MarkupSafe-2.1.5.dist-info/LICENSE.rst,sha256=RjHsDbX9kKVH4zaBcmTGeYIUM4FG-KyUtKV_lu6MnsQ,1503
3+
MarkupSafe-2.1.5.dist-info/METADATA,sha256=icNlaniV7YIQZ1BScCVqNaRtm7MAgfw8d3OBmoSVyAY,3096
4+
MarkupSafe-2.1.5.dist-info/RECORD,,
5+
MarkupSafe-2.1.5.dist-info/WHEEL,sha256=j9Aissza3750LQHFAQyYerNjmkEON1-8w_RaZNFtKSs,102
6+
MarkupSafe-2.1.5.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
7+
markupsafe/__init__.py,sha256=m1ysNeqf55zbEoJtaovca40ivrkEFolPlw5bGoC5Gi4,11290
8+
markupsafe/__pycache__/__init__.cpython-312.pyc,,
9+
markupsafe/__pycache__/_native.cpython-312.pyc,,
10+
markupsafe/_native.py,sha256=_Q7UsXCOvgdonCgqG3l5asANI6eo50EKnDM-mlwEC5M,1776
11+
markupsafe/_speedups.c,sha256=n3jzzaJwXcoN8nTFyA53f3vSqsWK2vujI-v6QYifjhQ,7403
12+
markupsafe/_speedups.cp312-win_amd64.pyd,sha256=CLz8k0mpvM-dgLP0eSHpGYHm8shlGxXoCinA12zgHsY,15872
13+
markupsafe/_speedups.pyi,sha256=f5QtwIOP0eLrxh2v5p6SmaYmlcHIGIfmz0DovaqL0OU,238
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: bdist_wheel (0.42.0)
3+
Root-Is-Purelib: false
4+
Tag: cp312-cp312-win_amd64
5+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
markupsafe
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Authors
2+
=======
3+
4+
``pyjwt`` is currently written and maintained by `Jose Padilla <https://github.com/jpadilla>`_.
5+
Originally written and maintained by `Jeff Lindsay <https://github.com/progrium>`_.
6+
7+
A full list of contributors can be found on GitHub’s `overview <https://github.com/jpadilla/pyjwt/graphs/contributors>`_.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pip

0 commit comments

Comments
 (0)