网关V1,添加批量写
This commit is contained in:
66
gateway/dist/config/config.json
vendored
Normal file
66
gateway/dist/config/config.json
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
"plcs": [
|
||||
{
|
||||
"name": "PLC1",
|
||||
"ip": "192.168.0.100",
|
||||
"rack": 0,
|
||||
"slot": 1,
|
||||
"areas": [
|
||||
{
|
||||
"name": "DB100_Read",
|
||||
"type": "read",
|
||||
"db_number": 100,
|
||||
"offset": 0,
|
||||
"size": 4000,
|
||||
"structure": [
|
||||
{
|
||||
"name": "temperature",
|
||||
"type": "real",
|
||||
"offset": 0
|
||||
},
|
||||
{
|
||||
"name": "pressure",
|
||||
"type": "int",
|
||||
"offset": 4
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"type": "bool",
|
||||
"offset": 6,
|
||||
"bit": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DB100_Write",
|
||||
"type": "write",
|
||||
"db_number": 100,
|
||||
"offset": 4000,
|
||||
"size": 5000
|
||||
},
|
||||
{
|
||||
"name": "DB202_Params",
|
||||
"type": "read_write",
|
||||
"db_number": 202,
|
||||
"offset": 0,
|
||||
"size": 2000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PLC2",
|
||||
"ip": "192.168.0.101",
|
||||
"rack": 0,
|
||||
"slot": 1,
|
||||
"areas": [
|
||||
{
|
||||
"name": "DB100_Read",
|
||||
"type": "read",
|
||||
"db_number": 100,
|
||||
"offset": 0,
|
||||
"size": 4000
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
66
gateway/dist/config/config.json.bak
vendored
Normal file
66
gateway/dist/config/config.json.bak
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
"plcs": [
|
||||
{
|
||||
"name": "PLC1",
|
||||
"ip": "192.168.0.100",
|
||||
"rack": 0,
|
||||
"slot": 1,
|
||||
"areas": [
|
||||
{
|
||||
"name": "DB100_Read",
|
||||
"type": "read",
|
||||
"db_number": 100,
|
||||
"offset": 0,
|
||||
"size": 4000,
|
||||
"structure": [
|
||||
{
|
||||
"name": "temperature",
|
||||
"type": "real",
|
||||
"offset": 0
|
||||
},
|
||||
{
|
||||
"name": "pressure",
|
||||
"type": "int",
|
||||
"offset": 4
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"type": "bool",
|
||||
"offset": 6,
|
||||
"bit": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DB100_Write",
|
||||
"type": "write",
|
||||
"db_number": 100,
|
||||
"offset": 4000,
|
||||
"size": 5000
|
||||
},
|
||||
{
|
||||
"name": "DB202_Params",
|
||||
"type": "read_write",
|
||||
"db_number": 202,
|
||||
"offset": 0,
|
||||
"size": 2000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PLC2",
|
||||
"ip": "192.168.0.101",
|
||||
"rack": 0,
|
||||
"slot": 1,
|
||||
"areas": [
|
||||
{
|
||||
"name": "DB100_Read",
|
||||
"type": "read",
|
||||
"db_number": 100,
|
||||
"offset": 0,
|
||||
"size": 4000
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
gateway/dist/main/_internal/LIBBZ2.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/LIBBZ2.dll
vendored
Normal file
Binary file not shown.
1
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/INSTALLER
vendored
Normal file
1
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/INSTALLER
vendored
Normal file
@ -0,0 +1 @@
|
||||
pip
|
||||
28
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/LICENSE.txt
vendored
Normal file
28
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/LICENSE.txt
vendored
Normal file
@ -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.
|
||||
92
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/METADATA
vendored
Normal file
92
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/METADATA
vendored
Normal file
@ -0,0 +1,92 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: MarkupSafe
|
||||
Version: 3.0.2
|
||||
Summary: Safely add untrusted strings to HTML/XML markup.
|
||||
Maintainer-email: Pallets <contact@palletsprojects.com>
|
||||
License: 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.
|
||||
|
||||
Project-URL: Donate, https://palletsprojects.com/donate
|
||||
Project-URL: Documentation, https://markupsafe.palletsprojects.com/
|
||||
Project-URL: Changes, https://markupsafe.palletsprojects.com/changes/
|
||||
Project-URL: Source, https://github.com/pallets/markupsafe/
|
||||
Project-URL: Chat, https://discord.gg/pallets
|
||||
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
|
||||
Classifier: Typing :: Typed
|
||||
Requires-Python: >=3.9
|
||||
Description-Content-Type: text/markdown
|
||||
License-File: LICENSE.txt
|
||||
|
||||
# MarkupSafe
|
||||
|
||||
MarkupSafe implements a text object that escapes characters so it is
|
||||
safe to use in HTML and XML. Characters that have special meanings are
|
||||
replaced so that they display as the actual characters. This mitigates
|
||||
injection attacks, meaning untrusted user input can safely be displayed
|
||||
on a page.
|
||||
|
||||
|
||||
## Examples
|
||||
|
||||
```pycon
|
||||
>>> from markupsafe import Markup, escape
|
||||
|
||||
>>> # escape replaces special characters and wraps in Markup
|
||||
>>> escape("<script>alert(document.cookie);</script>")
|
||||
Markup('<script>alert(document.cookie);</script>')
|
||||
|
||||
>>> # wrap in Markup to mark text "safe" and prevent escaping
|
||||
>>> Markup("<strong>Hello</strong>")
|
||||
Markup('<strong>hello</strong>')
|
||||
|
||||
>>> escape(Markup("<strong>Hello</strong>"))
|
||||
Markup('<strong>hello</strong>')
|
||||
|
||||
>>> # Markup is a str subclass
|
||||
>>> # methods and operators escape their arguments
|
||||
>>> template = Markup("Hello <em>{name}</em>")
|
||||
>>> template.format(name='"World"')
|
||||
Markup('Hello <em>"World"</em>')
|
||||
```
|
||||
|
||||
## Donate
|
||||
|
||||
The Pallets organization develops and supports MarkupSafe 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
|
||||
14
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/RECORD
vendored
Normal file
14
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/RECORD
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
MarkupSafe-3.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
MarkupSafe-3.0.2.dist-info/LICENSE.txt,sha256=RjHsDbX9kKVH4zaBcmTGeYIUM4FG-KyUtKV_lu6MnsQ,1503
|
||||
MarkupSafe-3.0.2.dist-info/METADATA,sha256=nhoabjupBG41j_JxPCJ3ylgrZ6Fx8oMCFbiLF9Kafqc,4067
|
||||
MarkupSafe-3.0.2.dist-info/RECORD,,
|
||||
MarkupSafe-3.0.2.dist-info/WHEEL,sha256=-v_yZ08fSknsoT62oIKG9wp1eCBV9_ao2rO4BeIReTY,101
|
||||
MarkupSafe-3.0.2.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
|
||||
markupsafe/__init__.py,sha256=pREerPwvinB62tNCMOwqxBS2YHV6R52Wcq1d-rB4Z5o,13609
|
||||
markupsafe/__pycache__/__init__.cpython-313.pyc,,
|
||||
markupsafe/__pycache__/_native.cpython-313.pyc,,
|
||||
markupsafe/_native.py,sha256=2ptkJ40yCcp9kq3L1NqpgjfpZB-obniYKFFKUOkHh4Q,218
|
||||
markupsafe/_speedups.c,sha256=SglUjn40ti9YgQAO--OgkSyv9tXq9vvaHyVhQows4Ok,4353
|
||||
markupsafe/_speedups.cp313-win_amd64.pyd,sha256=7MA12j0aUiSeNpFy-98h_pPSqgCpLeRacgp3I-j00Yo,13312
|
||||
markupsafe/_speedups.pyi,sha256=LSDmXYOefH4HVpAXuL8sl7AttLw0oXh1njVoVZp2wqQ,42
|
||||
markupsafe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
5
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/WHEEL
vendored
Normal file
5
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/WHEEL
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (75.2.0)
|
||||
Root-Is-Purelib: false
|
||||
Tag: cp313-cp313-win_amd64
|
||||
|
||||
1
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/top_level.txt
vendored
Normal file
1
gateway/dist/main/_internal/MarkupSafe-3.0.2.dist-info/top_level.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
markupsafe
|
||||
BIN
gateway/dist/main/_internal/VCRUNTIME140.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/VCRUNTIME140.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_asyncio.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_asyncio.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_bz2.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_bz2.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_ctypes.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_ctypes.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_decimal.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_decimal.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_hashlib.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_hashlib.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_lzma.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_lzma.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_multiprocessing.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_multiprocessing.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_overlapped.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_overlapped.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_queue.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_queue.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_socket.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_socket.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_ssl.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_ssl.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_uuid.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_uuid.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/_wmi.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/_wmi.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-console-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-console-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-datetime-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-datetime-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-debug-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-debug-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-errorhandling-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-errorhandling-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-fibers-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-fibers-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-file-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-file-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-file-l1-2-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-file-l1-2-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-file-l2-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-file-l2-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-handle-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-handle-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-heap-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-heap-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-interlocked-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-interlocked-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-libraryloader-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-libraryloader-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-localization-l1-2-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-localization-l1-2-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-memory-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-memory-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-namedpipe-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-namedpipe-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-processenvironment-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-processenvironment-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-processthreads-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-processthreads-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-processthreads-l1-1-1.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-processthreads-l1-1-1.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-profile-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-profile-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-rtlsupport-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-rtlsupport-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-string-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-string-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-synch-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-synch-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-synch-l1-2-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-synch-l1-2-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-sysinfo-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-sysinfo-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-timezone-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-timezone-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-core-util-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-core-util-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-conio-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-conio-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-convert-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-convert-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-environment-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-environment-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-filesystem-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-filesystem-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-heap-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-heap-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-locale-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-locale-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-math-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-math-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-process-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-process-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-runtime-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-runtime-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-stdio-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-stdio-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-string-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-string-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-time-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-time-l1-1-0.dll
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/api-ms-win-crt-utility-l1-1-0.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/api-ms-win-crt-utility-l1-1-0.dll
vendored
Normal file
Binary file not shown.
1
gateway/dist/main/_internal/attrs-25.3.0.dist-info/INSTALLER
vendored
Normal file
1
gateway/dist/main/_internal/attrs-25.3.0.dist-info/INSTALLER
vendored
Normal file
@ -0,0 +1 @@
|
||||
pip
|
||||
232
gateway/dist/main/_internal/attrs-25.3.0.dist-info/METADATA
vendored
Normal file
232
gateway/dist/main/_internal/attrs-25.3.0.dist-info/METADATA
vendored
Normal file
@ -0,0 +1,232 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: attrs
|
||||
Version: 25.3.0
|
||||
Summary: Classes Without Boilerplate
|
||||
Project-URL: Documentation, https://www.attrs.org/
|
||||
Project-URL: Changelog, https://www.attrs.org/en/stable/changelog.html
|
||||
Project-URL: GitHub, https://github.com/python-attrs/attrs
|
||||
Project-URL: Funding, https://github.com/sponsors/hynek
|
||||
Project-URL: Tidelift, https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-attrs&utm_medium=pypi
|
||||
Author-email: Hynek Schlawack <hs@ox.cx>
|
||||
License-Expression: MIT
|
||||
License-File: LICENSE
|
||||
Keywords: attribute,boilerplate,class
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Programming Language :: Python :: 3.8
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||
Classifier: Typing :: Typed
|
||||
Requires-Python: >=3.8
|
||||
Provides-Extra: benchmark
|
||||
Requires-Dist: cloudpickle; (platform_python_implementation == 'CPython') and extra == 'benchmark'
|
||||
Requires-Dist: hypothesis; extra == 'benchmark'
|
||||
Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'benchmark'
|
||||
Requires-Dist: pympler; extra == 'benchmark'
|
||||
Requires-Dist: pytest-codspeed; extra == 'benchmark'
|
||||
Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'benchmark'
|
||||
Requires-Dist: pytest-xdist[psutil]; extra == 'benchmark'
|
||||
Requires-Dist: pytest>=4.3.0; extra == 'benchmark'
|
||||
Provides-Extra: cov
|
||||
Requires-Dist: cloudpickle; (platform_python_implementation == 'CPython') and extra == 'cov'
|
||||
Requires-Dist: coverage[toml]>=5.3; extra == 'cov'
|
||||
Requires-Dist: hypothesis; extra == 'cov'
|
||||
Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'cov'
|
||||
Requires-Dist: pympler; extra == 'cov'
|
||||
Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'cov'
|
||||
Requires-Dist: pytest-xdist[psutil]; extra == 'cov'
|
||||
Requires-Dist: pytest>=4.3.0; extra == 'cov'
|
||||
Provides-Extra: dev
|
||||
Requires-Dist: cloudpickle; (platform_python_implementation == 'CPython') and extra == 'dev'
|
||||
Requires-Dist: hypothesis; extra == 'dev'
|
||||
Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'dev'
|
||||
Requires-Dist: pre-commit-uv; extra == 'dev'
|
||||
Requires-Dist: pympler; extra == 'dev'
|
||||
Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'dev'
|
||||
Requires-Dist: pytest-xdist[psutil]; extra == 'dev'
|
||||
Requires-Dist: pytest>=4.3.0; extra == 'dev'
|
||||
Provides-Extra: docs
|
||||
Requires-Dist: cogapp; extra == 'docs'
|
||||
Requires-Dist: furo; extra == 'docs'
|
||||
Requires-Dist: myst-parser; extra == 'docs'
|
||||
Requires-Dist: sphinx; extra == 'docs'
|
||||
Requires-Dist: sphinx-notfound-page; extra == 'docs'
|
||||
Requires-Dist: sphinxcontrib-towncrier; extra == 'docs'
|
||||
Requires-Dist: towncrier; extra == 'docs'
|
||||
Provides-Extra: tests
|
||||
Requires-Dist: cloudpickle; (platform_python_implementation == 'CPython') and extra == 'tests'
|
||||
Requires-Dist: hypothesis; extra == 'tests'
|
||||
Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'tests'
|
||||
Requires-Dist: pympler; extra == 'tests'
|
||||
Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'tests'
|
||||
Requires-Dist: pytest-xdist[psutil]; extra == 'tests'
|
||||
Requires-Dist: pytest>=4.3.0; extra == 'tests'
|
||||
Provides-Extra: tests-mypy
|
||||
Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'tests-mypy'
|
||||
Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'tests-mypy'
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.attrs.org/">
|
||||
<img src="https://raw.githubusercontent.com/python-attrs/attrs/main/docs/_static/attrs_logo.svg" width="35%" alt="attrs" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
*attrs* is the Python package that will bring back the **joy** of **writing classes** by relieving you from the drudgery of implementing object protocols (aka [dunder methods](https://www.attrs.org/en/latest/glossary.html#term-dunder-methods)).
|
||||
[Trusted by NASA](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/personalizing-your-profile#list-of-qualifying-repositories-for-mars-2020-helicopter-contributor-achievement) for Mars missions since 2020!
|
||||
|
||||
Its main goal is to help you to write **concise** and **correct** software without slowing down your code.
|
||||
|
||||
|
||||
## Sponsors
|
||||
|
||||
*attrs* would not be possible without our [amazing sponsors](https://github.com/sponsors/hynek).
|
||||
Especially those generously supporting us at the *The Organization* tier and higher:
|
||||
|
||||
<!-- sponsor-break-begin -->
|
||||
|
||||
<p align="center">
|
||||
|
||||
<!-- [[[cog
|
||||
import pathlib, tomllib
|
||||
|
||||
for sponsor in tomllib.loads(pathlib.Path("pyproject.toml").read_text())["tool"]["sponcon"]["sponsors"]:
|
||||
print(f'<a href="{sponsor["url"]}"><img title="{sponsor["title"]}" src="https://www.attrs.org/en/25.3.0/_static/sponsors/{sponsor["img"]}" width="190" /></a>')
|
||||
]]] -->
|
||||
<a href="https://www.variomedia.de/"><img title="Variomedia AG" src="https://www.attrs.org/en/25.3.0/_static/sponsors/Variomedia.svg" width="190" /></a>
|
||||
<a href="https://tidelift.com/?utm_source=lifter&utm_medium=referral&utm_campaign=hynek"><img title="Tidelift" src="https://www.attrs.org/en/25.3.0/_static/sponsors/Tidelift.svg" width="190" /></a>
|
||||
<a href="https://klaviyo.com/"><img title="Klaviyo" src="https://www.attrs.org/en/25.3.0/_static/sponsors/Klaviyo.svg" width="190" /></a>
|
||||
<a href="https://privacy-solutions.org/"><img title="Privacy Solutions" src="https://www.attrs.org/en/25.3.0/_static/sponsors/Privacy-Solutions.svg" width="190" /></a>
|
||||
<a href="https://www.emsys-renewables.com/"><img title="emsys renewables" src="https://www.attrs.org/en/25.3.0/_static/sponsors/emsys-renewables.svg" width="190" /></a>
|
||||
<a href="https://filepreviews.io/"><img title="FilePreviews" src="https://www.attrs.org/en/25.3.0/_static/sponsors/FilePreviews.svg" width="190" /></a>
|
||||
<a href="https://polar.sh/"><img title="Polar" src="https://www.attrs.org/en/25.3.0/_static/sponsors/Polar.svg" width="190" /></a>
|
||||
<!-- [[[end]]] -->
|
||||
|
||||
</p>
|
||||
|
||||
<!-- sponsor-break-end -->
|
||||
|
||||
<p align="center">
|
||||
<strong>Please consider <a href="https://github.com/sponsors/hynek">joining them</a> to help make <em>attrs</em>’s maintenance more sustainable!</strong>
|
||||
</p>
|
||||
|
||||
<!-- teaser-end -->
|
||||
|
||||
## Example
|
||||
|
||||
*attrs* gives you a class decorator and a way to declaratively define the attributes on that class:
|
||||
|
||||
<!-- code-begin -->
|
||||
|
||||
```pycon
|
||||
>>> from attrs import asdict, define, make_class, Factory
|
||||
|
||||
>>> @define
|
||||
... class SomeClass:
|
||||
... a_number: int = 42
|
||||
... list_of_numbers: list[int] = Factory(list)
|
||||
...
|
||||
... def hard_math(self, another_number):
|
||||
... return self.a_number + sum(self.list_of_numbers) * another_number
|
||||
|
||||
|
||||
>>> sc = SomeClass(1, [1, 2, 3])
|
||||
>>> sc
|
||||
SomeClass(a_number=1, list_of_numbers=[1, 2, 3])
|
||||
|
||||
>>> sc.hard_math(3)
|
||||
19
|
||||
>>> sc == SomeClass(1, [1, 2, 3])
|
||||
True
|
||||
>>> sc != SomeClass(2, [3, 2, 1])
|
||||
True
|
||||
|
||||
>>> asdict(sc)
|
||||
{'a_number': 1, 'list_of_numbers': [1, 2, 3]}
|
||||
|
||||
>>> SomeClass()
|
||||
SomeClass(a_number=42, list_of_numbers=[])
|
||||
|
||||
>>> C = make_class("C", ["a", "b"])
|
||||
>>> C("foo", "bar")
|
||||
C(a='foo', b='bar')
|
||||
```
|
||||
|
||||
After *declaring* your attributes, *attrs* gives you:
|
||||
|
||||
- a concise and explicit overview of the class's attributes,
|
||||
- a nice human-readable `__repr__`,
|
||||
- equality-checking methods,
|
||||
- an initializer,
|
||||
- and much more,
|
||||
|
||||
*without* writing dull boilerplate code again and again and *without* runtime performance penalties.
|
||||
|
||||
---
|
||||
|
||||
This example uses *attrs*'s modern APIs that have been introduced in version 20.1.0, and the *attrs* package import name that has been added in version 21.3.0.
|
||||
The classic APIs (`@attr.s`, `attr.ib`, plus their serious-business aliases) and the `attr` package import name will remain **indefinitely**.
|
||||
|
||||
Check out [*On The Core API Names*](https://www.attrs.org/en/latest/names.html) for an in-depth explanation!
|
||||
|
||||
|
||||
### Hate Type Annotations!?
|
||||
|
||||
No problem!
|
||||
Types are entirely **optional** with *attrs*.
|
||||
Simply assign `attrs.field()` to the attributes instead of annotating them with types:
|
||||
|
||||
```python
|
||||
from attrs import define, field
|
||||
|
||||
@define
|
||||
class SomeClass:
|
||||
a_number = field(default=42)
|
||||
list_of_numbers = field(factory=list)
|
||||
```
|
||||
|
||||
|
||||
## Data Classes
|
||||
|
||||
On the tin, *attrs* might remind you of `dataclasses` (and indeed, `dataclasses` [are a descendant](https://hynek.me/articles/import-attrs/) of *attrs*).
|
||||
In practice it does a lot more and is more flexible.
|
||||
For instance, it allows you to define [special handling of NumPy arrays for equality checks](https://www.attrs.org/en/stable/comparison.html#customization), allows more ways to [plug into the initialization process](https://www.attrs.org/en/stable/init.html#hooking-yourself-into-initialization), has a replacement for `__init_subclass__`, and allows for stepping through the generated methods using a debugger.
|
||||
|
||||
For more details, please refer to our [comparison page](https://www.attrs.org/en/stable/why.html#data-classes), but generally speaking, we are more likely to commit crimes against nature to make things work that one would expect to work, but that are quite complicated in practice.
|
||||
|
||||
|
||||
## Project Information
|
||||
|
||||
- [**Changelog**](https://www.attrs.org/en/stable/changelog.html)
|
||||
- [**Documentation**](https://www.attrs.org/)
|
||||
- [**PyPI**](https://pypi.org/project/attrs/)
|
||||
- [**Source Code**](https://github.com/python-attrs/attrs)
|
||||
- [**Contributing**](https://github.com/python-attrs/attrs/blob/main/.github/CONTRIBUTING.md)
|
||||
- [**Third-party Extensions**](https://github.com/python-attrs/attrs/wiki/Extensions-to-attrs)
|
||||
- **Get Help**: use the `python-attrs` tag on [Stack Overflow](https://stackoverflow.com/questions/tagged/python-attrs)
|
||||
|
||||
|
||||
### *attrs* for Enterprise
|
||||
|
||||
Available as part of the [Tidelift Subscription](https://tidelift.com/?utm_source=lifter&utm_medium=referral&utm_campaign=hynek).
|
||||
|
||||
The maintainers of *attrs* and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications.
|
||||
Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use.
|
||||
|
||||
## Release Information
|
||||
|
||||
### Changes
|
||||
|
||||
- Restore support for generator-based `field_transformer`s.
|
||||
[#1417](https://github.com/python-attrs/attrs/issues/1417)
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
[Full changelog →](https://www.attrs.org/en/stable/changelog.html)
|
||||
55
gateway/dist/main/_internal/attrs-25.3.0.dist-info/RECORD
vendored
Normal file
55
gateway/dist/main/_internal/attrs-25.3.0.dist-info/RECORD
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
attr/__init__.py,sha256=fOYIvt1eGSqQre4uCS3sJWKZ0mwAuC8UD6qba5OS9_U,2057
|
||||
attr/__init__.pyi,sha256=QIXnnHPoucmDWkbpNsWTP-cgJ1bn8le7DjyRa_wYdew,11281
|
||||
attr/__pycache__/__init__.cpython-313.pyc,,
|
||||
attr/__pycache__/_cmp.cpython-313.pyc,,
|
||||
attr/__pycache__/_compat.cpython-313.pyc,,
|
||||
attr/__pycache__/_config.cpython-313.pyc,,
|
||||
attr/__pycache__/_funcs.cpython-313.pyc,,
|
||||
attr/__pycache__/_make.cpython-313.pyc,,
|
||||
attr/__pycache__/_next_gen.cpython-313.pyc,,
|
||||
attr/__pycache__/_version_info.cpython-313.pyc,,
|
||||
attr/__pycache__/converters.cpython-313.pyc,,
|
||||
attr/__pycache__/exceptions.cpython-313.pyc,,
|
||||
attr/__pycache__/filters.cpython-313.pyc,,
|
||||
attr/__pycache__/setters.cpython-313.pyc,,
|
||||
attr/__pycache__/validators.cpython-313.pyc,,
|
||||
attr/_cmp.py,sha256=3Nn1TjxllUYiX_nJoVnEkXoDk0hM1DYKj5DE7GZe4i0,4117
|
||||
attr/_cmp.pyi,sha256=U-_RU_UZOyPUEQzXE6RMYQQcjkZRY25wTH99sN0s7MM,368
|
||||
attr/_compat.py,sha256=4hlXbWhdDjQCDK6FKF1EgnZ3POiHgtpp54qE0nxaGHg,2704
|
||||
attr/_config.py,sha256=dGq3xR6fgZEF6UBt_L0T-eUHIB4i43kRmH0P28sJVw8,843
|
||||
attr/_funcs.py,sha256=5-tUKJtp3h5El55EcDl6GWXFp68fT8D8U7uCRN6497I,15854
|
||||
attr/_make.py,sha256=lBUPPmxiA1BeHzB6OlHoCEh--tVvM1ozXO8eXOa6g4c,96664
|
||||
attr/_next_gen.py,sha256=7FRkbtl_N017SuBhf_Vw3mw2c2pGZhtCGOzadgz7tp4,24395
|
||||
attr/_typing_compat.pyi,sha256=XDP54TUn-ZKhD62TOQebmzrwFyomhUCoGRpclb6alRA,469
|
||||
attr/_version_info.py,sha256=exSqb3b5E-fMSsgZAlEw9XcLpEgobPORCZpcaEglAM4,2121
|
||||
attr/_version_info.pyi,sha256=x_M3L3WuB7r_ULXAWjx959udKQ4HLB8l-hsc1FDGNvk,209
|
||||
attr/converters.py,sha256=GlDeOzPeTFgeBBLbj9G57Ez5lAk68uhSALRYJ_exe84,3861
|
||||
attr/converters.pyi,sha256=orU2bff-VjQa2kMDyvnMQV73oJT2WRyQuw4ZR1ym1bE,643
|
||||
attr/exceptions.py,sha256=HRFq4iybmv7-DcZwyjl6M1euM2YeJVK_hFxuaBGAngI,1977
|
||||
attr/exceptions.pyi,sha256=zZq8bCUnKAy9mDtBEw42ZhPhAUIHoTKedDQInJD883M,539
|
||||
attr/filters.py,sha256=ZBiKWLp3R0LfCZsq7X11pn9WX8NslS2wXM4jsnLOGc8,1795
|
||||
attr/filters.pyi,sha256=3J5BG-dTxltBk1_-RuNRUHrv2qu1v8v4aDNAQ7_mifA,208
|
||||
attr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
attr/setters.py,sha256=5-dcT63GQK35ONEzSgfXCkbB7pPkaR-qv15mm4PVSzQ,1617
|
||||
attr/setters.pyi,sha256=NnVkaFU1BB4JB8E4JuXyrzTUgvtMpj8p3wBdJY7uix4,584
|
||||
attr/validators.py,sha256=WaB1HLAHHqRHWsrv_K9H-sJ7ESil3H3Cmv2d8TtVZx4,20046
|
||||
attr/validators.pyi,sha256=s2WhKPqskxbsckJfKk8zOuuB088GfgpyxcCYSNFLqNU,2603
|
||||
attrs-25.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
attrs-25.3.0.dist-info/METADATA,sha256=W38cREj7s1wqNf1fg4hVwZmL1xh0AdSp4IhtTMROinw,10993
|
||||
attrs-25.3.0.dist-info/RECORD,,
|
||||
attrs-25.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
||||
attrs-25.3.0.dist-info/licenses/LICENSE,sha256=iCEVyV38KvHutnFPjsbVy8q_Znyv-HKfQkINpj9xTp8,1109
|
||||
attrs/__init__.py,sha256=qeQJZ4O08yczSn840v9bYOaZyRE81WsVi-QCrY3krCU,1107
|
||||
attrs/__init__.pyi,sha256=nZmInocjM7tHV4AQw0vxO_fo6oJjL_PonlV9zKKW8DY,7931
|
||||
attrs/__pycache__/__init__.cpython-313.pyc,,
|
||||
attrs/__pycache__/converters.cpython-313.pyc,,
|
||||
attrs/__pycache__/exceptions.cpython-313.pyc,,
|
||||
attrs/__pycache__/filters.cpython-313.pyc,,
|
||||
attrs/__pycache__/setters.cpython-313.pyc,,
|
||||
attrs/__pycache__/validators.cpython-313.pyc,,
|
||||
attrs/converters.py,sha256=8kQljrVwfSTRu8INwEk8SI0eGrzmWftsT7rM0EqyohM,76
|
||||
attrs/exceptions.py,sha256=ACCCmg19-vDFaDPY9vFl199SPXCQMN_bENs4DALjzms,76
|
||||
attrs/filters.py,sha256=VOUMZug9uEU6dUuA0dF1jInUK0PL3fLgP0VBS5d-CDE,73
|
||||
attrs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
attrs/setters.py,sha256=eL1YidYQV3T2h9_SYIZSZR1FAcHGb1TuCTy0E0Lv2SU,73
|
||||
attrs/validators.py,sha256=xcy6wD5TtTkdCG1f4XWbocPSO0faBjk5IfVJfP6SUj0,76
|
||||
4
gateway/dist/main/_internal/attrs-25.3.0.dist-info/WHEEL
vendored
Normal file
4
gateway/dist/main/_internal/attrs-25.3.0.dist-info/WHEEL
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: hatchling 1.27.0
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
21
gateway/dist/main/_internal/attrs-25.3.0.dist-info/licenses/LICENSE
vendored
Normal file
21
gateway/dist/main/_internal/attrs-25.3.0.dist-info/licenses/LICENSE
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Hynek Schlawack and the attrs contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
BIN
gateway/dist/main/_internal/base_library.zip
vendored
Normal file
BIN
gateway/dist/main/_internal/base_library.zip
vendored
Normal file
Binary file not shown.
4778
gateway/dist/main/_internal/certifi/cacert.pem
vendored
Normal file
4778
gateway/dist/main/_internal/certifi/cacert.pem
vendored
Normal file
File diff suppressed because it is too large
Load Diff
0
gateway/dist/main/_internal/certifi/py.typed
vendored
Normal file
0
gateway/dist/main/_internal/certifi/py.typed
vendored
Normal file
BIN
gateway/dist/main/_internal/charset_normalizer/md.cp313-win_amd64.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/charset_normalizer/md.cp313-win_amd64.pyd
vendored
Normal file
Binary file not shown.
BIN
gateway/dist/main/_internal/charset_normalizer/md__mypyc.cp313-win_amd64.pyd
vendored
Normal file
BIN
gateway/dist/main/_internal/charset_normalizer/md__mypyc.cp313-win_amd64.pyd
vendored
Normal file
Binary file not shown.
1
gateway/dist/main/_internal/click-8.2.1.dist-info/INSTALLER
vendored
Normal file
1
gateway/dist/main/_internal/click-8.2.1.dist-info/INSTALLER
vendored
Normal file
@ -0,0 +1 @@
|
||||
pip
|
||||
82
gateway/dist/main/_internal/click-8.2.1.dist-info/METADATA
vendored
Normal file
82
gateway/dist/main/_internal/click-8.2.1.dist-info/METADATA
vendored
Normal file
@ -0,0 +1,82 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: click
|
||||
Version: 8.2.1
|
||||
Summary: Composable command line interface toolkit
|
||||
Maintainer-email: Pallets <contact@palletsprojects.com>
|
||||
Requires-Python: >=3.10
|
||||
Description-Content-Type: text/markdown
|
||||
License-Expression: BSD-3-Clause
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Typing :: Typed
|
||||
License-File: LICENSE.txt
|
||||
Requires-Dist: colorama; platform_system == 'Windows'
|
||||
Project-URL: Changes, https://click.palletsprojects.com/page/changes/
|
||||
Project-URL: Chat, https://discord.gg/pallets
|
||||
Project-URL: Documentation, https://click.palletsprojects.com/
|
||||
Project-URL: Donate, https://palletsprojects.com/donate
|
||||
Project-URL: Source, https://github.com/pallets/click/
|
||||
|
||||
# $ click_
|
||||
|
||||
Click is a Python package for creating beautiful command line interfaces
|
||||
in a composable way with as little code as necessary. It's the "Command
|
||||
Line Interface Creation Kit". It's highly configurable but comes with
|
||||
sensible defaults out of the box.
|
||||
|
||||
It aims to make the process of writing command line tools quick and fun
|
||||
while also preventing any frustration caused by the inability to
|
||||
implement an intended CLI API.
|
||||
|
||||
Click in three points:
|
||||
|
||||
- Arbitrary nesting of commands
|
||||
- Automatic help page generation
|
||||
- Supports lazy loading of subcommands at runtime
|
||||
|
||||
|
||||
## A Simple Example
|
||||
|
||||
```python
|
||||
import click
|
||||
|
||||
@click.command()
|
||||
@click.option("--count", default=1, help="Number of greetings.")
|
||||
@click.option("--name", prompt="Your name", help="The person to greet.")
|
||||
def hello(count, name):
|
||||
"""Simple program that greets NAME for a total of COUNT times."""
|
||||
for _ in range(count):
|
||||
click.echo(f"Hello, {name}!")
|
||||
|
||||
if __name__ == '__main__':
|
||||
hello()
|
||||
```
|
||||
|
||||
```
|
||||
$ python hello.py --count=3
|
||||
Your name: Click
|
||||
Hello, Click!
|
||||
Hello, Click!
|
||||
Hello, Click!
|
||||
```
|
||||
|
||||
|
||||
## Donate
|
||||
|
||||
The Pallets organization develops and supports Click 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
|
||||
|
||||
## Contributing
|
||||
|
||||
See our [detailed contributing documentation][contrib] for many ways to
|
||||
contribute, including reporting issues, requesting features, asking or answering
|
||||
questions, and making PRs.
|
||||
|
||||
[contrib]: https://palletsprojects.com/contributing/
|
||||
|
||||
38
gateway/dist/main/_internal/click-8.2.1.dist-info/RECORD
vendored
Normal file
38
gateway/dist/main/_internal/click-8.2.1.dist-info/RECORD
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
click-8.2.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
click-8.2.1.dist-info/METADATA,sha256=dI1MbhHTLoKD2tNCCGnx9rK2gok23HDNylFeLKdLSik,2471
|
||||
click-8.2.1.dist-info/RECORD,,
|
||||
click-8.2.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
||||
click-8.2.1.dist-info/licenses/LICENSE.txt,sha256=morRBqOU6FO_4h9C9OctWSgZoigF2ZG18ydQKSkrZY0,1475
|
||||
click/__init__.py,sha256=6YyS1aeyknZ0LYweWozNZy0A9nZ_11wmYIhv3cbQrYo,4473
|
||||
click/__pycache__/__init__.cpython-313.pyc,,
|
||||
click/__pycache__/_compat.cpython-313.pyc,,
|
||||
click/__pycache__/_termui_impl.cpython-313.pyc,,
|
||||
click/__pycache__/_textwrap.cpython-313.pyc,,
|
||||
click/__pycache__/_winconsole.cpython-313.pyc,,
|
||||
click/__pycache__/core.cpython-313.pyc,,
|
||||
click/__pycache__/decorators.cpython-313.pyc,,
|
||||
click/__pycache__/exceptions.cpython-313.pyc,,
|
||||
click/__pycache__/formatting.cpython-313.pyc,,
|
||||
click/__pycache__/globals.cpython-313.pyc,,
|
||||
click/__pycache__/parser.cpython-313.pyc,,
|
||||
click/__pycache__/shell_completion.cpython-313.pyc,,
|
||||
click/__pycache__/termui.cpython-313.pyc,,
|
||||
click/__pycache__/testing.cpython-313.pyc,,
|
||||
click/__pycache__/types.cpython-313.pyc,,
|
||||
click/__pycache__/utils.cpython-313.pyc,,
|
||||
click/_compat.py,sha256=v3xBZkFbvA1BXPRkFfBJc6-pIwPI7345m-kQEnpVAs4,18693
|
||||
click/_termui_impl.py,sha256=ASXhLi9IQIc0Js9KQSS-3-SLZcPet3VqysBf9WgbbpI,26712
|
||||
click/_textwrap.py,sha256=BOae0RQ6vg3FkNgSJyOoGzG1meGMxJ_ukWVZKx_v-0o,1400
|
||||
click/_winconsole.py,sha256=_vxUuUaxwBhoR0vUWCNuHY8VUefiMdCIyU2SXPqoF-A,8465
|
||||
click/core.py,sha256=gUhpNS9cFBGdEXXdisGVG-eRvGf49RTyFagxulqwdFw,117343
|
||||
click/decorators.py,sha256=5P7abhJtAQYp_KHgjUvhMv464ERwOzrv2enNknlwHyQ,18461
|
||||
click/exceptions.py,sha256=1rdtXgHJ1b3OjGkN-UpXB9t_HCBihJvh_DtpmLmwn9s,9891
|
||||
click/formatting.py,sha256=Bhqx4QXdKQ9W4WKknIwj5KPKFmtduGOuGq1yw_THLZ8,9726
|
||||
click/globals.py,sha256=gM-Nh6A4M0HB_SgkaF5M4ncGGMDHc_flHXu9_oh4GEU,1923
|
||||
click/parser.py,sha256=nU1Ah2p11q29ul1vNdU9swPo_PUuKrxU6YXToi71q1c,18979
|
||||
click/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
click/shell_completion.py,sha256=CQSGdjgun4ORbOZrXP0CVhEtPx4knsufOkRsDiK64cM,19857
|
||||
click/termui.py,sha256=vAYrKC2a7f_NfEIhAThEVYfa__ib5XQbTSCGtJlABRA,30847
|
||||
click/testing.py,sha256=2eLdAaCJCGToP5Tw-XN8JjrDb3wbJIfARxg3d0crW5M,18702
|
||||
click/types.py,sha256=KBTRxN28cR1VZ5mb9iJX98MQSw_p9SGzljqfEI8z5Tw,38389
|
||||
click/utils.py,sha256=b1Mm-usEDBHtEwcPltPIn3zSK4nw2KTp5GC7_oSTlLo,20245
|
||||
4
gateway/dist/main/_internal/click-8.2.1.dist-info/WHEEL
vendored
Normal file
4
gateway/dist/main/_internal/click-8.2.1.dist-info/WHEEL
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: flit 3.12.0
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
28
gateway/dist/main/_internal/click-8.2.1.dist-info/licenses/LICENSE.txt
vendored
Normal file
28
gateway/dist/main/_internal/click-8.2.1.dist-info/licenses/LICENSE.txt
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
Copyright 2014 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.
|
||||
BIN
gateway/dist/main/_internal/ffi.dll
vendored
Normal file
BIN
gateway/dist/main/_internal/ffi.dll
vendored
Normal file
Binary file not shown.
1
gateway/dist/main/_internal/flask-3.1.1.dist-info/INSTALLER
vendored
Normal file
1
gateway/dist/main/_internal/flask-3.1.1.dist-info/INSTALLER
vendored
Normal file
@ -0,0 +1 @@
|
||||
pip
|
||||
89
gateway/dist/main/_internal/flask-3.1.1.dist-info/METADATA
vendored
Normal file
89
gateway/dist/main/_internal/flask-3.1.1.dist-info/METADATA
vendored
Normal file
@ -0,0 +1,89 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: Flask
|
||||
Version: 3.1.1
|
||||
Summary: A simple framework for building complex web applications.
|
||||
Maintainer-email: Pallets <contact@palletsprojects.com>
|
||||
Requires-Python: >=3.9
|
||||
Description-Content-Type: text/markdown
|
||||
License-Expression: BSD-3-Clause
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Environment :: Web Environment
|
||||
Classifier: Framework :: Flask
|
||||
Classifier: Intended Audience :: Developers
|
||||
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
|
||||
Classifier: Typing :: Typed
|
||||
License-File: LICENSE.txt
|
||||
Requires-Dist: blinker>=1.9.0
|
||||
Requires-Dist: click>=8.1.3
|
||||
Requires-Dist: importlib-metadata>=3.6.0; python_version < '3.10'
|
||||
Requires-Dist: itsdangerous>=2.2.0
|
||||
Requires-Dist: jinja2>=3.1.2
|
||||
Requires-Dist: markupsafe>=2.1.1
|
||||
Requires-Dist: werkzeug>=3.1.0
|
||||
Requires-Dist: asgiref>=3.2 ; extra == "async"
|
||||
Requires-Dist: python-dotenv ; extra == "dotenv"
|
||||
Project-URL: Changes, https://flask.palletsprojects.com/page/changes/
|
||||
Project-URL: Chat, https://discord.gg/pallets
|
||||
Project-URL: Documentation, https://flask.palletsprojects.com/
|
||||
Project-URL: Donate, https://palletsprojects.com/donate
|
||||
Project-URL: Source, https://github.com/pallets/flask/
|
||||
Provides-Extra: async
|
||||
Provides-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/
|
||||
|
||||
## 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].
|
||||
|
||||
[please donate today]: https://palletsprojects.com/donate
|
||||
|
||||
## Contributing
|
||||
|
||||
See our [detailed contributing documentation][contrib] for many ways to
|
||||
contribute, including reporting issues, requesting features, asking or answering
|
||||
questions, and making PRs.
|
||||
|
||||
[contrib]: https://palletsprojects.com/contributing/
|
||||
|
||||
58
gateway/dist/main/_internal/flask-3.1.1.dist-info/RECORD
vendored
Normal file
58
gateway/dist/main/_internal/flask-3.1.1.dist-info/RECORD
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
../../Scripts/flask.exe,sha256=2xOiYnBmA4B2uhoEaWZCxp6GPo3UkaN1kZLi4kTrduU,108388
|
||||
flask-3.1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
flask-3.1.1.dist-info/METADATA,sha256=EsnOyVfBXjw1BkGn-9lrI5mcv1NwYyB4_CfdW2FSDZQ,3014
|
||||
flask-3.1.1.dist-info/RECORD,,
|
||||
flask-3.1.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
flask-3.1.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
||||
flask-3.1.1.dist-info/entry_points.txt,sha256=bBP7hTOS5fz9zLtC7sPofBZAlMkEvBxu7KqS6l5lvc4,40
|
||||
flask-3.1.1.dist-info/licenses/LICENSE.txt,sha256=SJqOEQhQntmKN7uYPhHg9-HTHwvY-Zp5yESOf_N9B-o,1475
|
||||
flask/__init__.py,sha256=mHvJN9Swtl1RDtjCqCIYyIniK_SZ_l_hqUynOzgpJ9o,2701
|
||||
flask/__main__.py,sha256=bYt9eEaoRQWdejEHFD8REx9jxVEdZptECFsV7F49Ink,30
|
||||
flask/__pycache__/__init__.cpython-313.pyc,,
|
||||
flask/__pycache__/__main__.cpython-313.pyc,,
|
||||
flask/__pycache__/app.cpython-313.pyc,,
|
||||
flask/__pycache__/blueprints.cpython-313.pyc,,
|
||||
flask/__pycache__/cli.cpython-313.pyc,,
|
||||
flask/__pycache__/config.cpython-313.pyc,,
|
||||
flask/__pycache__/ctx.cpython-313.pyc,,
|
||||
flask/__pycache__/debughelpers.cpython-313.pyc,,
|
||||
flask/__pycache__/globals.cpython-313.pyc,,
|
||||
flask/__pycache__/helpers.cpython-313.pyc,,
|
||||
flask/__pycache__/logging.cpython-313.pyc,,
|
||||
flask/__pycache__/sessions.cpython-313.pyc,,
|
||||
flask/__pycache__/signals.cpython-313.pyc,,
|
||||
flask/__pycache__/templating.cpython-313.pyc,,
|
||||
flask/__pycache__/testing.cpython-313.pyc,,
|
||||
flask/__pycache__/typing.cpython-313.pyc,,
|
||||
flask/__pycache__/views.cpython-313.pyc,,
|
||||
flask/__pycache__/wrappers.cpython-313.pyc,,
|
||||
flask/app.py,sha256=XGqgFRsLgBhzIoB2HSftoMTIM3hjDiH6rdV7c3g3IKc,61744
|
||||
flask/blueprints.py,sha256=p5QE2lY18GItbdr_RKRpZ8Do17g0PvQGIgZkSUDhX2k,4541
|
||||
flask/cli.py,sha256=Pfh72-BxlvoH0QHCDOc1HvXG7Kq5Xetf3zzNz2kNSHk,37184
|
||||
flask/config.py,sha256=PiqF0DPam6HW0FH4CH1hpXTBe30NSzjPEOwrz1b6kt0,13219
|
||||
flask/ctx.py,sha256=4atDhJJ_cpV1VMq4qsfU4E_61M1oN93jlS2H9gjrl58,15120
|
||||
flask/debughelpers.py,sha256=PGIDhStW_efRjpaa3zHIpo-htStJOR41Ip3OJWPYBwo,6080
|
||||
flask/globals.py,sha256=XdQZmStBmPIs8t93tjx6pO7Bm3gobAaONWkFcUHaGas,1713
|
||||
flask/helpers.py,sha256=7njmzkFJvrPSQudsgONsgQzaGrGppeBINevKgWescPk,23521
|
||||
flask/json/__init__.py,sha256=hLNR898paqoefdeAhraa5wyJy-bmRB2k2dV4EgVy2Z8,5602
|
||||
flask/json/__pycache__/__init__.cpython-313.pyc,,
|
||||
flask/json/__pycache__/provider.cpython-313.pyc,,
|
||||
flask/json/__pycache__/tag.cpython-313.pyc,,
|
||||
flask/json/provider.py,sha256=5imEzY5HjV2HoUVrQbJLqXCzMNpZXfD0Y1XqdLV2XBA,7672
|
||||
flask/json/tag.py,sha256=DhaNwuIOhdt2R74oOC9Y4Z8ZprxFYiRb5dUP5byyINw,9281
|
||||
flask/logging.py,sha256=8sM3WMTubi1cBb2c_lPkWpN0J8dMAqrgKRYLLi1dCVI,2377
|
||||
flask/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
flask/sansio/README.md,sha256=-0X1tECnilmz1cogx-YhNw5d7guK7GKrq_DEV2OzlU0,228
|
||||
flask/sansio/__pycache__/app.cpython-313.pyc,,
|
||||
flask/sansio/__pycache__/blueprints.cpython-313.pyc,,
|
||||
flask/sansio/__pycache__/scaffold.cpython-313.pyc,,
|
||||
flask/sansio/app.py,sha256=Wj9NVGtiR1jvkZ9gSFd91usUlM8H0g06aPVz2sMh4bw,38116
|
||||
flask/sansio/blueprints.py,sha256=Tqe-7EkZ-tbWchm8iDoCfD848f0_3nLv6NNjeIPvHwM,24637
|
||||
flask/sansio/scaffold.py,sha256=q6wM4Y4aYMGGN_Litsj3PYKpBS3Zvut0xhDmpBEHFdo,30387
|
||||
flask/sessions.py,sha256=ED_OV3Jl1emsy7Zntb7aFWxyoynt-PzNY0eFUH-Syo0,15495
|
||||
flask/signals.py,sha256=V7lMUww7CqgJ2ThUBn1PiatZtQanOyt7OZpu2GZI-34,750
|
||||
flask/templating.py,sha256=2TcXLT85Asflm2W9WOSFxKCmYn5e49w_Jkg9-NaaJWo,7537
|
||||
flask/testing.py,sha256=JT9fi_-_qsAXIpC1NSWcp1VrO-QSXgmdq95extfCwEw,10136
|
||||
flask/typing.py,sha256=L-L5t2jKgS0aOmVhioQ_ylqcgiVFnA6yxO-RLNhq-GU,3293
|
||||
flask/views.py,sha256=xzJx6oJqGElThtEghZN7ZQGMw5TDFyuRxUkecwRuAoA,6962
|
||||
flask/wrappers.py,sha256=jUkv4mVek2Iq4hwxd4RvqrIMb69Bv0PElDgWLmd5ORo,9406
|
||||
0
gateway/dist/main/_internal/flask-3.1.1.dist-info/REQUESTED
vendored
Normal file
0
gateway/dist/main/_internal/flask-3.1.1.dist-info/REQUESTED
vendored
Normal file
4
gateway/dist/main/_internal/flask-3.1.1.dist-info/WHEEL
vendored
Normal file
4
gateway/dist/main/_internal/flask-3.1.1.dist-info/WHEEL
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: flit 3.12.0
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
3
gateway/dist/main/_internal/flask-3.1.1.dist-info/entry_points.txt
vendored
Normal file
3
gateway/dist/main/_internal/flask-3.1.1.dist-info/entry_points.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[console_scripts]
|
||||
flask=flask.cli:main
|
||||
|
||||
28
gateway/dist/main/_internal/flask-3.1.1.dist-info/licenses/LICENSE.txt
vendored
Normal file
28
gateway/dist/main/_internal/flask-3.1.1.dist-info/licenses/LICENSE.txt
vendored
Normal file
@ -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.
|
||||
1
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/INSTALLER
vendored
Normal file
1
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/INSTALLER
vendored
Normal file
@ -0,0 +1 @@
|
||||
pip
|
||||
28
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/LICENSE.txt
vendored
Normal file
28
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/LICENSE.txt
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
Copyright 2011 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.
|
||||
60
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/METADATA
vendored
Normal file
60
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/METADATA
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: itsdangerous
|
||||
Version: 2.2.0
|
||||
Summary: Safely pass data to untrusted environments and back.
|
||||
Maintainer-email: Pallets <contact@palletsprojects.com>
|
||||
Requires-Python: >=3.8
|
||||
Description-Content-Type: text/markdown
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: License :: OSI Approved :: BSD License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Typing :: Typed
|
||||
Project-URL: Changes, https://itsdangerous.palletsprojects.com/changes/
|
||||
Project-URL: Chat, https://discord.gg/pallets
|
||||
Project-URL: Documentation, https://itsdangerous.palletsprojects.com/
|
||||
Project-URL: Donate, https://palletsprojects.com/donate
|
||||
Project-URL: Source, https://github.com/pallets/itsdangerous/
|
||||
|
||||
# ItsDangerous
|
||||
|
||||
... so better sign this
|
||||
|
||||
Various helpers to pass data to untrusted environments and to get it
|
||||
back safe and sound. Data is cryptographically signed to ensure that a
|
||||
token has not been tampered with.
|
||||
|
||||
It's possible to customize how data is serialized. Data is compressed as
|
||||
needed. A timestamp can be added and verified automatically while
|
||||
loading a token.
|
||||
|
||||
|
||||
## A Simple Example
|
||||
|
||||
Here's how you could generate a token for transmitting a user's id and
|
||||
name between web requests.
|
||||
|
||||
```python
|
||||
from itsdangerous import URLSafeSerializer
|
||||
auth_s = URLSafeSerializer("secret key", "auth")
|
||||
token = auth_s.dumps({"id": 5, "name": "itsdangerous"})
|
||||
|
||||
print(token)
|
||||
# eyJpZCI6NSwibmFtZSI6Iml0c2Rhbmdlcm91cyJ9.6YP6T0BaO67XP--9UzTrmurXSmg
|
||||
|
||||
data = auth_s.loads(token)
|
||||
print(data["name"])
|
||||
# itsdangerous
|
||||
```
|
||||
|
||||
|
||||
## Donate
|
||||
|
||||
The Pallets organization develops and supports ItsDangerous 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
|
||||
|
||||
22
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/RECORD
vendored
Normal file
22
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/RECORD
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
itsdangerous-2.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
itsdangerous-2.2.0.dist-info/LICENSE.txt,sha256=Y68JiRtr6K0aQlLtQ68PTvun_JSOIoNnvtfzxa4LCdc,1475
|
||||
itsdangerous-2.2.0.dist-info/METADATA,sha256=0rk0-1ZwihuU5DnwJVwPWoEI4yWOyCexih3JyZHblhE,1924
|
||||
itsdangerous-2.2.0.dist-info/RECORD,,
|
||||
itsdangerous-2.2.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
||||
itsdangerous/__init__.py,sha256=4SK75sCe29xbRgQE1ZQtMHnKUuZYAf3bSpZOrff1IAY,1427
|
||||
itsdangerous/__pycache__/__init__.cpython-313.pyc,,
|
||||
itsdangerous/__pycache__/_json.cpython-313.pyc,,
|
||||
itsdangerous/__pycache__/encoding.cpython-313.pyc,,
|
||||
itsdangerous/__pycache__/exc.cpython-313.pyc,,
|
||||
itsdangerous/__pycache__/serializer.cpython-313.pyc,,
|
||||
itsdangerous/__pycache__/signer.cpython-313.pyc,,
|
||||
itsdangerous/__pycache__/timed.cpython-313.pyc,,
|
||||
itsdangerous/__pycache__/url_safe.cpython-313.pyc,,
|
||||
itsdangerous/_json.py,sha256=wPQGmge2yZ9328EHKF6gadGeyGYCJQKxtU-iLKE6UnA,473
|
||||
itsdangerous/encoding.py,sha256=wwTz5q_3zLcaAdunk6_vSoStwGqYWe307Zl_U87aRFM,1409
|
||||
itsdangerous/exc.py,sha256=Rr3exo0MRFEcPZltwecyK16VV1bE2K9_F1-d-ljcUn4,3201
|
||||
itsdangerous/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
itsdangerous/serializer.py,sha256=PmdwADLqkSyQLZ0jOKAgDsAW4k_H0TlA71Ei3z0C5aI,15601
|
||||
itsdangerous/signer.py,sha256=YO0CV7NBvHA6j549REHJFUjUojw2pHqwcUpQnU7yNYQ,9647
|
||||
itsdangerous/timed.py,sha256=6RvDMqNumGMxf0-HlpaZdN9PUQQmRvrQGplKhxuivUs,8083
|
||||
itsdangerous/url_safe.py,sha256=az4e5fXi_vs-YbWj8YZwn4wiVKfeD--GEKRT5Ueu4P4,2505
|
||||
4
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/WHEEL
vendored
Normal file
4
gateway/dist/main/_internal/itsdangerous-2.2.0.dist-info/WHEEL
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: flit 3.9.0
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
1
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/INSTALLER
vendored
Normal file
1
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/INSTALLER
vendored
Normal file
@ -0,0 +1 @@
|
||||
pip
|
||||
171
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/METADATA
vendored
Normal file
171
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/METADATA
vendored
Normal file
@ -0,0 +1,171 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: jsonschema
|
||||
Version: 4.25.0
|
||||
Summary: An implementation of JSON Schema validation for Python
|
||||
Project-URL: Homepage, https://github.com/python-jsonschema/jsonschema
|
||||
Project-URL: Documentation, https://python-jsonschema.readthedocs.io/
|
||||
Project-URL: Issues, https://github.com/python-jsonschema/jsonschema/issues/
|
||||
Project-URL: Funding, https://github.com/sponsors/Julian
|
||||
Project-URL: Tidelift, https://tidelift.com/subscription/pkg/pypi-jsonschema?utm_source=pypi-jsonschema&utm_medium=referral&utm_campaign=pypi-link
|
||||
Project-URL: Changelog, https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst
|
||||
Project-URL: Source, https://github.com/python-jsonschema/jsonschema
|
||||
Author-email: Julian Berman <Julian+jsonschema@GrayVines.com>
|
||||
License-Expression: MIT
|
||||
License-File: COPYING
|
||||
Keywords: data validation,json,json schema,jsonschema,validation
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||
Classifier: Topic :: File Formats :: JSON
|
||||
Classifier: Topic :: File Formats :: JSON :: JSON Schema
|
||||
Requires-Python: >=3.9
|
||||
Requires-Dist: attrs>=22.2.0
|
||||
Requires-Dist: jsonschema-specifications>=2023.03.6
|
||||
Requires-Dist: referencing>=0.28.4
|
||||
Requires-Dist: rpds-py>=0.7.1
|
||||
Provides-Extra: format
|
||||
Requires-Dist: fqdn; extra == 'format'
|
||||
Requires-Dist: idna; extra == 'format'
|
||||
Requires-Dist: isoduration; extra == 'format'
|
||||
Requires-Dist: jsonpointer>1.13; extra == 'format'
|
||||
Requires-Dist: rfc3339-validator; extra == 'format'
|
||||
Requires-Dist: rfc3987; extra == 'format'
|
||||
Requires-Dist: uri-template; extra == 'format'
|
||||
Requires-Dist: webcolors>=1.11; extra == 'format'
|
||||
Provides-Extra: format-nongpl
|
||||
Requires-Dist: fqdn; extra == 'format-nongpl'
|
||||
Requires-Dist: idna; extra == 'format-nongpl'
|
||||
Requires-Dist: isoduration; extra == 'format-nongpl'
|
||||
Requires-Dist: jsonpointer>1.13; extra == 'format-nongpl'
|
||||
Requires-Dist: rfc3339-validator; extra == 'format-nongpl'
|
||||
Requires-Dist: rfc3986-validator>0.1.0; extra == 'format-nongpl'
|
||||
Requires-Dist: rfc3987-syntax>=1.1.0; extra == 'format-nongpl'
|
||||
Requires-Dist: uri-template; extra == 'format-nongpl'
|
||||
Requires-Dist: webcolors>=24.6.0; extra == 'format-nongpl'
|
||||
Description-Content-Type: text/x-rst
|
||||
|
||||
==========
|
||||
jsonschema
|
||||
==========
|
||||
|
||||
|PyPI| |Pythons| |CI| |ReadTheDocs| |Precommit| |Zenodo|
|
||||
|
||||
.. |PyPI| image:: https://img.shields.io/pypi/v/jsonschema.svg
|
||||
:alt: PyPI version
|
||||
:target: https://pypi.org/project/jsonschema/
|
||||
|
||||
.. |Pythons| image:: https://img.shields.io/pypi/pyversions/jsonschema.svg
|
||||
:alt: Supported Python versions
|
||||
:target: https://pypi.org/project/jsonschema/
|
||||
|
||||
.. |CI| image:: https://github.com/python-jsonschema/jsonschema/workflows/CI/badge.svg
|
||||
:alt: Build status
|
||||
:target: https://github.com/python-jsonschema/jsonschema/actions?query=workflow%3ACI
|
||||
|
||||
.. |ReadTheDocs| image:: https://readthedocs.org/projects/python-jsonschema/badge/?version=stable&style=flat
|
||||
:alt: ReadTheDocs status
|
||||
:target: https://python-jsonschema.readthedocs.io/en/stable/
|
||||
|
||||
.. |Precommit| image:: https://results.pre-commit.ci/badge/github/python-jsonschema/jsonschema/main.svg
|
||||
:alt: pre-commit.ci status
|
||||
:target: https://results.pre-commit.ci/latest/github/python-jsonschema/jsonschema/main
|
||||
|
||||
.. |Zenodo| image:: https://zenodo.org/badge/3072629.svg
|
||||
:alt: Zenodo DOI
|
||||
:target: https://zenodo.org/badge/latestdoi/3072629
|
||||
|
||||
|
||||
``jsonschema`` is an implementation of the `JSON Schema <https://json-schema.org>`_ specification for Python.
|
||||
|
||||
.. code:: python
|
||||
|
||||
>>> from jsonschema import validate
|
||||
|
||||
>>> # A sample schema, like what we'd get from json.load()
|
||||
>>> schema = {
|
||||
... "type" : "object",
|
||||
... "properties" : {
|
||||
... "price" : {"type" : "number"},
|
||||
... "name" : {"type" : "string"},
|
||||
... },
|
||||
... }
|
||||
|
||||
>>> # If no exception is raised by validate(), the instance is valid.
|
||||
>>> validate(instance={"name" : "Eggs", "price" : 34.99}, schema=schema)
|
||||
|
||||
>>> validate(
|
||||
... instance={"name" : "Eggs", "price" : "Invalid"}, schema=schema,
|
||||
... ) # doctest: +IGNORE_EXCEPTION_DETAIL
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
ValidationError: 'Invalid' is not of type 'number'
|
||||
|
||||
It can also be used from the command line by installing `check-jsonschema <https://github.com/python-jsonschema/check-jsonschema>`_.
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
* Full support for `Draft 2020-12 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft202012Validator>`_, `Draft 2019-09 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft201909Validator>`_, `Draft 7 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft7Validator>`_, `Draft 6 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft6Validator>`_, `Draft 4 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft4Validator>`_ and `Draft 3 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft3Validator>`_
|
||||
|
||||
* `Lazy validation <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/protocols/#jsonschema.protocols.Validator.iter_errors>`_ that can iteratively report *all* validation errors.
|
||||
|
||||
* `Programmatic querying <https://python-jsonschema.readthedocs.io/en/latest/errors/>`_ of which properties or items failed validation.
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
``jsonschema`` is available on `PyPI <https://pypi.org/project/jsonschema/>`_. You can install using `pip <https://pip.pypa.io/en/stable/>`_:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ pip install jsonschema
|
||||
|
||||
|
||||
Extras
|
||||
======
|
||||
|
||||
Two extras are available when installing the package, both currently related to ``format`` validation:
|
||||
|
||||
* ``format``
|
||||
* ``format-nongpl``
|
||||
|
||||
They can be used when installing in order to include additional dependencies, e.g.:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ pip install jsonschema'[format]'
|
||||
|
||||
Be aware that the mere presence of these dependencies – or even the specification of ``format`` checks in a schema – do *not* activate format checks (as per the specification).
|
||||
Please read the `format validation documentation <https://python-jsonschema.readthedocs.io/en/latest/validate/#validating-formats>`_ for further details.
|
||||
|
||||
About
|
||||
-----
|
||||
|
||||
I'm Julian Berman.
|
||||
|
||||
``jsonschema`` is on `GitHub <https://github.com/python-jsonschema/jsonschema>`_.
|
||||
|
||||
Get in touch, via GitHub or otherwise, if you've got something to contribute, it'd be most welcome!
|
||||
|
||||
If you feel overwhelmingly grateful, you can also `sponsor me <https://github.com/sponsors/Julian/>`_.
|
||||
|
||||
And for companies who appreciate ``jsonschema`` and its continued support and growth, ``jsonschema`` is also now supportable via `TideLift <https://tidelift.com/subscription/pkg/pypi-jsonschema?utm_source=pypi-jsonschema&utm_medium=referral&utm_campaign=readme>`_.
|
||||
|
||||
|
||||
Release Information
|
||||
-------------------
|
||||
|
||||
v4.25.0
|
||||
=======
|
||||
|
||||
* Add support for the ``iri`` and ``iri-reference`` formats to the ``format-nongpl`` extra via the MIT-licensed ``rfc3987-syntax``.
|
||||
They were alread supported by the ``format`` extra. (#1388).
|
||||
77
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/RECORD
vendored
Normal file
77
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/RECORD
vendored
Normal file
@ -0,0 +1,77 @@
|
||||
../../Scripts/jsonschema.exe,sha256=HMCnHGvEmZ6ONDtYo0fUxrXkVUujeakj2sh-94O6tFI,108393
|
||||
jsonschema-4.25.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
jsonschema-4.25.0.dist-info/METADATA,sha256=bQyiuf03Mh6MRgKzs-Ln5Q99hSnEY7KuetcSpLti5sg,7708
|
||||
jsonschema-4.25.0.dist-info/RECORD,,
|
||||
jsonschema-4.25.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
jsonschema-4.25.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
||||
jsonschema-4.25.0.dist-info/entry_points.txt,sha256=vO7rX4Fs_xIVJy2pnAtKgTSxfpnozAVQ0DjCmpMxnWE,51
|
||||
jsonschema-4.25.0.dist-info/licenses/COPYING,sha256=T5KgFaE8TRoEC-8BiqE0MLTxvHO0Gxa7hGw0Z2bedDk,1057
|
||||
jsonschema/__init__.py,sha256=p-Rw4TS_0OPHZIJyImDWsdWgmd6CPWHMXLq7BuQxTGc,3941
|
||||
jsonschema/__main__.py,sha256=iLsZf2upUB3ilBKTlMnyK-HHt2Cnnfkwwxi_c6gLvSA,115
|
||||
jsonschema/__pycache__/__init__.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/__main__.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/_format.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/_keywords.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/_legacy_keywords.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/_types.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/_typing.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/_utils.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/cli.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/exceptions.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/protocols.cpython-313.pyc,,
|
||||
jsonschema/__pycache__/validators.cpython-313.pyc,,
|
||||
jsonschema/_format.py,sha256=ip1N16CBBOb_8sM_iejyW0U5JY9kXoz3O_AFj1SHFl8,15581
|
||||
jsonschema/_keywords.py,sha256=r8_DrqAfn6QLwQnmXEggveiSU-UaIL2p2nuPINelfFc,14949
|
||||
jsonschema/_legacy_keywords.py,sha256=2tWuwRPWbYS7EAl8wBIC_rabGuv1J4dfYLqNEPpShhA,15191
|
||||
jsonschema/_types.py,sha256=0pYJG61cn_4ZWVnqyD24tax2QBMlnSPy0fcECCpASMk,5456
|
||||
jsonschema/_typing.py,sha256=hFfAEeFJ76LYAl_feuVa0gnHnV9VEq_UhjLJS-7axgY,630
|
||||
jsonschema/_utils.py,sha256=Xv6_wKKslBJlwyj9-j2c8JDFw-4z4aWFnVe2pX8h7U4,10659
|
||||
jsonschema/benchmarks/__init__.py,sha256=A0sQrxDBVHSyQ-8ru3L11hMXf3q9gVuB9x_YgHb4R9M,70
|
||||
jsonschema/benchmarks/__pycache__/__init__.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/const_vs_enum.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/contains.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/issue232.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/json_schema_test_suite.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/nested_schemas.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/subcomponents.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/unused_registry.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/useless_applicator_schemas.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/useless_keywords.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/__pycache__/validator_creation.cpython-313.pyc,,
|
||||
jsonschema/benchmarks/const_vs_enum.py,sha256=DVFi3WDqBalZFOibnjpX1uTSr3Rxa2cPgFcowd7Ukrs,830
|
||||
jsonschema/benchmarks/contains.py,sha256=gexQoUrCOwECofbt19BeosQZ7WFL6PDdkX49DWwBlOg,786
|
||||
jsonschema/benchmarks/issue232.py,sha256=3LLYLIlBGQnVuyyo2iAv-xky5P6PRFHANx4-zIIQOoE,521
|
||||
jsonschema/benchmarks/issue232/issue.json,sha256=eaPOZjMRu5u8RpKrsA9uk7ucPZS5tkKG4D_hkOTQ3Hk,117105
|
||||
jsonschema/benchmarks/json_schema_test_suite.py,sha256=PvfabpUYcF4_7csYDTcTauED8rnFEGYbdY5RqTXD08s,320
|
||||
jsonschema/benchmarks/nested_schemas.py,sha256=mo07dx-CIgmSOI62CNs4g5xu1FzHklLBpkQoDxWYcKs,1892
|
||||
jsonschema/benchmarks/subcomponents.py,sha256=fEyiMzsWeK2pd7DEGCuuY-vzGunwhHczRBWEnBRLKIo,1113
|
||||
jsonschema/benchmarks/unused_registry.py,sha256=hwRwONc9cefPtYzkoX_TYRO3GyUojriv0-YQaK3vnj0,940
|
||||
jsonschema/benchmarks/useless_applicator_schemas.py,sha256=EVm5-EtOEFoLP_Vt2j4SrCwlx05NhPqNuZQ6LIMP1Dc,3342
|
||||
jsonschema/benchmarks/useless_keywords.py,sha256=bj_zKr1oVctFlqyZaObCsYTgFjiiNgPzC0hr1Y868mE,867
|
||||
jsonschema/benchmarks/validator_creation.py,sha256=UkUQlLAnussnr_KdCIdad6xx2pXxQLmYtsXoiirKeWQ,285
|
||||
jsonschema/cli.py,sha256=av90OtpSxuiko3FAyEHtxpI-NSuX3WMtoQpIx09obJY,8445
|
||||
jsonschema/exceptions.py,sha256=b42hUDOfPFcprI4ZlNpjDeLKv8k9vOhgWct2jyDlxzk,15256
|
||||
jsonschema/protocols.py,sha256=Cv3L2xUl1MxQCRMcpNNbBL0nh14ekPYoazNfochqiag,7145
|
||||
jsonschema/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
jsonschema/tests/__pycache__/__init__.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/_suite.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/fuzz_validate.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/test_cli.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/test_deprecations.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/test_exceptions.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/test_format.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/test_jsonschema_test_suite.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/test_types.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/test_utils.cpython-313.pyc,,
|
||||
jsonschema/tests/__pycache__/test_validators.cpython-313.pyc,,
|
||||
jsonschema/tests/_suite.py,sha256=2k0X91N7dOHhQc5mrYv40OKf1weioj6RMBqWgLT6-PI,8374
|
||||
jsonschema/tests/fuzz_validate.py,sha256=fUA7yTJIihaCwJplkUehZeyB84HcXEcqtY5oPJXIO7I,1114
|
||||
jsonschema/tests/test_cli.py,sha256=A89r5LOHy-peLPZA5YDkOaMTWqzQO_w2Tu8WFz_vphM,28544
|
||||
jsonschema/tests/test_deprecations.py,sha256=yG6mkRJHpTHbWoxpLC5y5H7fk8erGOs8f_9V4tCBEh8,15754
|
||||
jsonschema/tests/test_exceptions.py,sha256=lWTRyeSeOaFd5dnutqy1YG9uocnxeM_0cIEVG6GgGMI,24310
|
||||
jsonschema/tests/test_format.py,sha256=eVm5SMaWF2lOPO28bPAwNvkiQvHCQKy-MnuAgEchfEc,3188
|
||||
jsonschema/tests/test_jsonschema_test_suite.py,sha256=tAfxknM65OR9LyDPHu1pkEaombLgjRLnJ6FPiWPdxjg,8461
|
||||
jsonschema/tests/test_types.py,sha256=cF51KTDmdsx06MrIc4fXKt0X9fIsVgw5uhT8CamVa8U,6977
|
||||
jsonschema/tests/test_utils.py,sha256=sao74o1PyYMxBfqweokQN48CFSS6yhJk5FkCfMJ5PsI,4163
|
||||
jsonschema/tests/test_validators.py,sha256=eiaigsZMzHYYsniQ1UPygaS56a1d-_7-9NC4wVXAhzs,87975
|
||||
jsonschema/validators.py,sha256=8gThVddl0AObBsfChZ2rrzyRUosnFdICxzIL8xrvu84,47098
|
||||
0
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/REQUESTED
vendored
Normal file
0
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/REQUESTED
vendored
Normal file
4
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/WHEEL
vendored
Normal file
4
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/WHEEL
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: hatchling 1.27.0
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
2
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/entry_points.txt
vendored
Normal file
2
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/entry_points.txt
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
[console_scripts]
|
||||
jsonschema = jsonschema.cli:main
|
||||
19
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/licenses/COPYING
vendored
Normal file
19
gateway/dist/main/_internal/jsonschema-4.25.0.dist-info/licenses/COPYING
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
Copyright (c) 2013 Julian Berman
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
2653
gateway/dist/main/_internal/jsonschema/benchmarks/issue232/issue.json
vendored
Normal file
2653
gateway/dist/main/_internal/jsonschema/benchmarks/issue232/issue.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
42
gateway/dist/main/_internal/jsonschema_specifications/schemas/draft201909/metaschema.json
vendored
Normal file
42
gateway/dist/main/_internal/jsonschema_specifications/schemas/draft201909/metaschema.json
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
||||
"$id": "https://json-schema.org/draft/2019-09/schema",
|
||||
"$vocabulary": {
|
||||
"https://json-schema.org/draft/2019-09/vocab/core": true,
|
||||
"https://json-schema.org/draft/2019-09/vocab/applicator": true,
|
||||
"https://json-schema.org/draft/2019-09/vocab/validation": true,
|
||||
"https://json-schema.org/draft/2019-09/vocab/meta-data": true,
|
||||
"https://json-schema.org/draft/2019-09/vocab/format": false,
|
||||
"https://json-schema.org/draft/2019-09/vocab/content": true
|
||||
},
|
||||
"$recursiveAnchor": true,
|
||||
|
||||
"title": "Core and Validation specifications meta-schema",
|
||||
"allOf": [
|
||||
{"$ref": "meta/core"},
|
||||
{"$ref": "meta/applicator"},
|
||||
{"$ref": "meta/validation"},
|
||||
{"$ref": "meta/meta-data"},
|
||||
{"$ref": "meta/format"},
|
||||
{"$ref": "meta/content"}
|
||||
],
|
||||
"type": ["object", "boolean"],
|
||||
"properties": {
|
||||
"definitions": {
|
||||
"$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",
|
||||
"type": "object",
|
||||
"additionalProperties": { "$recursiveRef": "#" },
|
||||
"default": {}
|
||||
},
|
||||
"dependencies": {
|
||||
"$comment": "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"anyOf": [
|
||||
{ "$recursiveRef": "#" },
|
||||
{ "$ref": "meta/validation#/$defs/stringArray" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,56 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
||||
"$id": "https://json-schema.org/draft/2019-09/meta/applicator",
|
||||
"$vocabulary": {
|
||||
"https://json-schema.org/draft/2019-09/vocab/applicator": true
|
||||
},
|
||||
"$recursiveAnchor": true,
|
||||
|
||||
"title": "Applicator vocabulary meta-schema",
|
||||
"type": ["object", "boolean"],
|
||||
"properties": {
|
||||
"additionalItems": { "$recursiveRef": "#" },
|
||||
"unevaluatedItems": { "$recursiveRef": "#" },
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "$recursiveRef": "#" },
|
||||
{ "$ref": "#/$defs/schemaArray" }
|
||||
]
|
||||
},
|
||||
"contains": { "$recursiveRef": "#" },
|
||||
"additionalProperties": { "$recursiveRef": "#" },
|
||||
"unevaluatedProperties": { "$recursiveRef": "#" },
|
||||
"properties": {
|
||||
"type": "object",
|
||||
"additionalProperties": { "$recursiveRef": "#" },
|
||||
"default": {}
|
||||
},
|
||||
"patternProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": { "$recursiveRef": "#" },
|
||||
"propertyNames": { "format": "regex" },
|
||||
"default": {}
|
||||
},
|
||||
"dependentSchemas": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$recursiveRef": "#"
|
||||
}
|
||||
},
|
||||
"propertyNames": { "$recursiveRef": "#" },
|
||||
"if": { "$recursiveRef": "#" },
|
||||
"then": { "$recursiveRef": "#" },
|
||||
"else": { "$recursiveRef": "#" },
|
||||
"allOf": { "$ref": "#/$defs/schemaArray" },
|
||||
"anyOf": { "$ref": "#/$defs/schemaArray" },
|
||||
"oneOf": { "$ref": "#/$defs/schemaArray" },
|
||||
"not": { "$recursiveRef": "#" }
|
||||
},
|
||||
"$defs": {
|
||||
"schemaArray": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "$recursiveRef": "#" }
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user