@formaggio-software/rhtop-linux-amd64 0.0.0-stage → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +16 -4
- package/payload/LICENSE.txt +95 -0
- package/payload/NOTICE +16 -0
- package/payload/THIRD_PARTY_NOTICES/altgraph-0.17.5.dist-info/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/altgraph-0.17.5.dist-info/METADATA +307 -0
- package/payload/THIRD_PARTY_NOTICES/annotated_types-0.8.0.dist-info/METADATA +295 -0
- package/payload/THIRD_PARTY_NOTICES/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/anyio-4.16.0.dist-info/METADATA +108 -0
- package/payload/THIRD_PARTY_NOTICES/anyio-4.16.0.dist-info/licenses/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/attrs-26.1.0.dist-info/METADATA +199 -0
- package/payload/THIRD_PARTY_NOTICES/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/build-1.6.1.dist-info/METADATA +142 -0
- package/payload/THIRD_PARTY_NOTICES/build-1.6.1.dist-info/licenses/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/cffi-2.1.1.dist-info/METADATA +67 -0
- package/payload/THIRD_PARTY_NOTICES/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/payload/THIRD_PARTY_NOTICES/click-8.5.1.dist-info/METADATA +83 -0
- package/payload/THIRD_PARTY_NOTICES/click-8.5.1.dist-info/licenses/LICENSE.txt +28 -0
- package/payload/THIRD_PARTY_NOTICES/cryptography-50.0.2.dist-info/METADATA +111 -0
- package/payload/THIRD_PARTY_NOTICES/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/payload/THIRD_PARTY_NOTICES/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/payload/THIRD_PARTY_NOTICES/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/payload/THIRD_PARTY_NOTICES/h11-0.16.0.dist-info/METADATA +202 -0
- package/payload/THIRD_PARTY_NOTICES/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
- package/payload/THIRD_PARTY_NOTICES/hatchling-1.33.0.dist-info/METADATA +81 -0
- package/payload/THIRD_PARTY_NOTICES/hatchling-1.33.0.dist-info/licenses/LICENSE.txt +9 -0
- package/payload/THIRD_PARTY_NOTICES/httpcore2-2.16.2.dist-info/METADATA +798 -0
- package/payload/THIRD_PARTY_NOTICES/httpcore2-2.16.2.dist-info/licenses/LICENSE.md +28 -0
- package/payload/THIRD_PARTY_NOTICES/httpx2-2.16.2.dist-info/METADATA +227 -0
- package/payload/THIRD_PARTY_NOTICES/httpx2-2.16.2.dist-info/licenses/LICENSE.md +13 -0
- package/payload/THIRD_PARTY_NOTICES/idna-3.20.dist-info/METADATA +176 -0
- package/payload/THIRD_PARTY_NOTICES/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
- package/payload/THIRD_PARTY_NOTICES/iniconfig-2.3.1.dist-info/METADATA +84 -0
- package/payload/THIRD_PARTY_NOTICES/iniconfig-2.3.1.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco.classes-3.4.0.dist-info/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco.classes-3.4.0.dist-info/METADATA +60 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco_context-6.1.2.dist-info/METADATA +81 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco_context-6.1.2.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco_functools-4.6.0.dist-info/METADATA +68 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco_functools-4.6.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/jeepney-0.9.0.dist-info/METADATA +35 -0
- package/payload/THIRD_PARTY_NOTICES/jeepney-0.9.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/jsonschema-4.26.0.dist-info/METADATA +170 -0
- package/payload/THIRD_PARTY_NOTICES/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
- package/payload/THIRD_PARTY_NOTICES/jsonschema_specifications-2025.9.1.dist-info/METADATA +54 -0
- package/payload/THIRD_PARTY_NOTICES/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
- package/payload/THIRD_PARTY_NOTICES/keyring-25.7.0.dist-info/METADATA +554 -0
- package/payload/THIRD_PARTY_NOTICES/keyring-25.7.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/linkify_it_py-2.2.0.dist-info/METADATA +262 -0
- package/payload/THIRD_PARTY_NOTICES/linkify_it_py-2.2.0.dist-info/licenses/LICENSE +48 -0
- package/payload/THIRD_PARTY_NOTICES/markdown_it_py-4.3.0.dist-info/METADATA +237 -0
- package/payload/THIRD_PARTY_NOTICES/markdown_it_py-4.3.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/markdown_it_py-4.3.0.dist-info/licenses/LICENSE.markdown-it +22 -0
- package/payload/THIRD_PARTY_NOTICES/mcp-2.3.0.dist-info/METADATA +172 -0
- package/payload/THIRD_PARTY_NOTICES/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/mcp_types-2.3.0.dist-info/METADATA +43 -0
- package/payload/THIRD_PARTY_NOTICES/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/mdit_py_plugins-0.7.0.dist-info/METADATA +60 -0
- package/payload/THIRD_PARTY_NOTICES/mdit_py_plugins-0.7.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/mdurl-0.1.2.dist-info/LICENSE +46 -0
- package/payload/THIRD_PARTY_NOTICES/mdurl-0.1.2.dist-info/METADATA +32 -0
- package/payload/THIRD_PARTY_NOTICES/more_itertools-11.2.1.dist-info/METADATA +302 -0
- package/payload/THIRD_PARTY_NOTICES/more_itertools-11.2.1.dist-info/licenses/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/opentelemetry_api-1.45.2.dist-info/METADATA +43 -0
- package/payload/THIRD_PARTY_NOTICES/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
- package/payload/THIRD_PARTY_NOTICES/packaging-26.3.dist-info/METADATA +112 -0
- package/payload/THIRD_PARTY_NOTICES/packaging-26.3.dist-info/licenses/LICENSE +3 -0
- package/payload/THIRD_PARTY_NOTICES/packaging-26.3.dist-info/licenses/LICENSE.APACHE +177 -0
- package/payload/THIRD_PARTY_NOTICES/packaging-26.3.dist-info/licenses/LICENSE.BSD +23 -0
- package/payload/THIRD_PARTY_NOTICES/pathspec-1.1.1.dist-info/METADATA +392 -0
- package/payload/THIRD_PARTY_NOTICES/pathspec-1.1.1.dist-info/licenses/LICENSE +373 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/METADATA +110 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/AUTHORS.txt +888 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/LICENSE.txt +20 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
- package/payload/THIRD_PARTY_NOTICES/platformdirs-4.14.7.dist-info/METADATA +114 -0
- package/payload/THIRD_PARTY_NOTICES/platformdirs-4.14.7.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pluggy-1.7.0.dist-info/METADATA +152 -0
- package/payload/THIRD_PARTY_NOTICES/pluggy-1.7.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pycparser-3.12.dist-info/METADATA +286 -0
- package/payload/THIRD_PARTY_NOTICES/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
- package/payload/THIRD_PARTY_NOTICES/pydantic-2.14.3.dist-info/METADATA +1646 -0
- package/payload/THIRD_PARTY_NOTICES/pydantic-2.14.3.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pydantic_core-2.50.4.dist-info/METADATA +172 -0
- package/payload/THIRD_PARTY_NOTICES/pydantic_core-2.50.4.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pygments-2.21.0.dist-info/METADATA +58 -0
- package/payload/THIRD_PARTY_NOTICES/pygments-2.21.0.dist-info/licenses/AUTHORS +296 -0
- package/payload/THIRD_PARTY_NOTICES/pygments-2.21.0.dist-info/licenses/LICENSE +25 -0
- package/payload/THIRD_PARTY_NOTICES/pyinstaller-6.22.3.dist-info/METADATA +213 -0
- package/payload/THIRD_PARTY_NOTICES/pyinstaller-6.22.3.dist-info/licenses/COPYING.txt +648 -0
- package/payload/THIRD_PARTY_NOTICES/pyinstaller_hooks_contrib-2026.10.dist-info/METADATA +373 -0
- package/payload/THIRD_PARTY_NOTICES/pyinstaller_hooks_contrib-2026.10.dist-info/licenses/LICENSE +521 -0
- package/payload/THIRD_PARTY_NOTICES/pyjwt-2.15.1.dist-info/METADATA +94 -0
- package/payload/THIRD_PARTY_NOTICES/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
- package/payload/THIRD_PARTY_NOTICES/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pyproject_hooks-1.3.3.dist-info/METADATA +27 -0
- package/payload/THIRD_PARTY_NOTICES/pyproject_hooks-1.3.3.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pytest-9.2.0.dist-info/METADATA +217 -0
- package/payload/THIRD_PARTY_NOTICES/pytest-9.2.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pytest_asyncio-1.5.0.dist-info/METADATA +100 -0
- package/payload/THIRD_PARTY_NOTICES/pytest_asyncio-1.5.0.dist-info/licenses/LICENSE +201 -0
- package/payload/THIRD_PARTY_NOTICES/python_multipart-0.0.34.dist-info/METADATA +179 -0
- package/payload/THIRD_PARTY_NOTICES/python_multipart-0.0.34.dist-info/licenses/LICENSE.txt +202 -0
- package/payload/THIRD_PARTY_NOTICES/pyyaml-6.0.3.dist-info/METADATA +59 -0
- package/payload/THIRD_PARTY_NOTICES/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/referencing-0.37.0.dist-info/METADATA +64 -0
- package/payload/THIRD_PARTY_NOTICES/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
- package/payload/THIRD_PARTY_NOTICES/rich-15.0.0.dist-info/METADATA +479 -0
- package/payload/THIRD_PARTY_NOTICES/rich-15.0.0.dist-info/licenses/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/rpds_py-2026.9.1.dist-info/METADATA +99 -0
- package/payload/THIRD_PARTY_NOTICES/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/ruff-0.17.5.dist-info/METADATA +484 -0
- package/payload/THIRD_PARTY_NOTICES/ruff-0.17.5.dist-info/licenses/LICENSE +430 -0
- package/payload/THIRD_PARTY_NOTICES/secretstorage-3.5.0.dist-info/METADATA +109 -0
- package/payload/THIRD_PARTY_NOTICES/secretstorage-3.5.0.dist-info/licenses/LICENSE +25 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/autocommand-2.2.2.dist-info/LICENSE +166 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/autocommand-2.2.2.dist-info/METADATA +420 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/METADATA +46 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/METADATA +133 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/licenses/LICENSE +73 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco.text-4.0.0.dist-info/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco.text-4.0.0.dist-info/METADATA +96 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco_context-6.1.0.dist-info/METADATA +82 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco_context-6.1.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco_functools-4.4.0.dist-info/METADATA +69 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco_functools-4.4.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/more_itertools-10.8.0.dist-info/METADATA +283 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/more_itertools-10.8.0.dist-info/licenses/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/packaging-26.3.dist-info/METADATA +112 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/packaging-26.3.dist-info/licenses/LICENSE +3 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/packaging-26.3.dist-info/licenses/LICENSE.APACHE +177 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/packaging-26.3.dist-info/licenses/LICENSE.BSD +23 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/platformdirs-4.4.0.dist-info/METADATA +350 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/platformdirs-4.4.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/tomli-2.4.0.dist-info/METADATA +270 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/tomli-2.4.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/wheel-0.46.3.dist-info/METADATA +69 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/wheel-0.46.3.dist-info/licenses/LICENSE.txt +21 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/zipp-3.23.0.dist-info/METADATA +106 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/zipp-3.23.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools-84.2.1.dist-info/METADATA +140 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools-84.2.1.dist-info/licenses/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/sse_starlette-3.7.0.dist-info/METADATA +493 -0
- package/payload/THIRD_PARTY_NOTICES/sse_starlette-3.7.0.dist-info/licenses/AUTHORS +10 -0
- package/payload/THIRD_PARTY_NOTICES/sse_starlette-3.7.0.dist-info/licenses/LICENSE +27 -0
- package/payload/THIRD_PARTY_NOTICES/starlette-1.10.0.dist-info/METADATA +181 -0
- package/payload/THIRD_PARTY_NOTICES/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
- package/payload/THIRD_PARTY_NOTICES/textual-6.12.0.dist-info/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/textual-6.12.0.dist-info/METADATA +265 -0
- package/payload/THIRD_PARTY_NOTICES/tomlkit-0.15.2.dist-info/METADATA +93 -0
- package/payload/THIRD_PARTY_NOTICES/tomlkit-0.15.2.dist-info/licenses/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/trove_classifiers-2026.9.21.13.dist-info/METADATA +82 -0
- package/payload/THIRD_PARTY_NOTICES/trove_classifiers-2026.9.21.13.dist-info/licenses/LICENSE +201 -0
- package/payload/THIRD_PARTY_NOTICES/truststore-0.10.5.dist-info/METADATA +110 -0
- package/payload/THIRD_PARTY_NOTICES/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/typing_extensions-4.16.0.dist-info/METADATA +73 -0
- package/payload/THIRD_PARTY_NOTICES/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
- package/payload/THIRD_PARTY_NOTICES/typing_inspection-0.4.5.dist-info/METADATA +49 -0
- package/payload/THIRD_PARTY_NOTICES/typing_inspection-0.4.5.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/uvicorn-0.54.0.dist-info/METADATA +189 -0
- package/payload/THIRD_PARTY_NOTICES/uvicorn-0.54.0.dist-info/licenses/LICENSE.md +27 -0
- package/payload/rhtop +0 -0
- package/README.md +0 -3
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Copyright © 2026 to present Pydantic Services Inc. and individual contributors.
|
|
2
|
+
Copyright © 2020, [Encode OSS Ltd](https://www.encode.io/).
|
|
3
|
+
All rights reserved.
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
* Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: httpx2
|
|
3
|
+
Version: 2.16.2
|
|
4
|
+
Summary: The next generation HTTP client.
|
|
5
|
+
Project-URL: Changelog, https://github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md
|
|
6
|
+
Project-URL: Homepage, https://github.com/pydantic/httpx2
|
|
7
|
+
Project-URL: Source, https://github.com/pydantic/httpx2
|
|
8
|
+
Author-email: Tom Christie <tom@tomchristie.com>
|
|
9
|
+
Maintainer-email: "Pydantic Services Inc." <engineering@pydantic.dev>
|
|
10
|
+
License-Expression: BSD-3-Clause
|
|
11
|
+
License-File: LICENSE.md
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Environment :: Web Environment
|
|
14
|
+
Classifier: Framework :: AnyIO
|
|
15
|
+
Classifier: Framework :: AsyncIO
|
|
16
|
+
Classifier: Framework :: Trio
|
|
17
|
+
Classifier: Intended Audience :: Developers
|
|
18
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
27
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
28
|
+
Requires-Python: >=3.11
|
|
29
|
+
Requires-Dist: anyio>=4.10; sys_platform != 'emscripten'
|
|
30
|
+
Requires-Dist: httpcore2==2.16.2; sys_platform != 'emscripten'
|
|
31
|
+
Requires-Dist: httpx2-jsfetch; sys_platform == 'emscripten' and python_version >= '3.12'
|
|
32
|
+
Requires-Dist: idna>=3.18
|
|
33
|
+
Requires-Dist: truststore>=0.10; sys_platform != 'emscripten'
|
|
34
|
+
Requires-Dist: typing-extensions>=4.5.0; python_version < '3.13'
|
|
35
|
+
Provides-Extra: brotli
|
|
36
|
+
Requires-Dist: brotli>=1.2.0; (platform_python_implementation == 'CPython') and extra == 'brotli'
|
|
37
|
+
Requires-Dist: brotlicffi>=1.2.0.2; (platform_python_implementation != 'CPython') and extra == 'brotli'
|
|
38
|
+
Provides-Extra: cli
|
|
39
|
+
Requires-Dist: click>=8.4.2; extra == 'cli'
|
|
40
|
+
Requires-Dist: pygments==2.*; extra == 'cli'
|
|
41
|
+
Requires-Dist: rich<16,>=10; extra == 'cli'
|
|
42
|
+
Provides-Extra: http2
|
|
43
|
+
Requires-Dist: h2<5,>=3; extra == 'http2'
|
|
44
|
+
Provides-Extra: socks
|
|
45
|
+
Requires-Dist: socksio==1.*; extra == 'socks'
|
|
46
|
+
Provides-Extra: ws
|
|
47
|
+
Requires-Dist: wsproto>=1.2; extra == 'ws'
|
|
48
|
+
Provides-Extra: zstd
|
|
49
|
+
Requires-Dist: backports-zstd>=1.0.0; (python_version <= '3.13') and extra == 'zstd'
|
|
50
|
+
Description-Content-Type: text/markdown
|
|
51
|
+
|
|
52
|
+
<h1 align="center">HTTPX2</h1>
|
|
53
|
+
|
|
54
|
+
<p align="center"><em>A next-generation HTTP client for Python.</em></p>
|
|
55
|
+
|
|
56
|
+
<p align="center">
|
|
57
|
+
<a href="https://github.com/pydantic/httpx2/actions"><img src="https://github.com/pydantic/httpx2/workflows/Test%20Suite/badge.svg" alt="Test Suite"></a>
|
|
58
|
+
<a href="https://pypi.org/project/httpx2/"><img src="https://badge.fury.io/py/httpx2.svg" alt="Package version"></a>
|
|
59
|
+
<a href="https://pydantic.dev/docs/logfire/join-slack/"><img src="https://img.shields.io/badge/Slack-Join%20Slack-4A154B?logo=slack" alt="Join Slack"></a>
|
|
60
|
+
</p>
|
|
61
|
+
|
|
62
|
+
HTTPX2 is a fully featured HTTP client library for Python. It includes **an integrated command line client**, has support for both **HTTP/1.1 and HTTP/2**, supports **WebSockets**, and provides both **sync and async APIs**.
|
|
63
|
+
|
|
64
|
+
> [!NOTE]
|
|
65
|
+
> HTTPX2 is a continuation of the wonderful work started by [@lovelydinosaur](https://github.com/lovelydinosaur) and the broader HTTPX community. We're enormously grateful for everything that has gone into HTTPX over the years - it has been a foundational piece of the modern Python ecosystem, and this project would not exist without it.
|
|
66
|
+
>
|
|
67
|
+
> With HTTPX itself seeing limited activity recently, Pydantic is picking up stewardship under the HTTPX2 name so that users have a reliably maintained path forward - including timely security updates for a library that sits in the critical path of so many production systems. Our aim is to honour the original project's design, keep it stable for everyone relying on it, and continue evolving it carefully. Thank you to [@lovelydinosaur](https://github.com/lovelydinosaur) and every past contributor for laying such a strong foundation. 💙
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
Install HTTPX2 using pip:
|
|
72
|
+
|
|
73
|
+
```shell
|
|
74
|
+
pip install httpx2
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Now, let's get started:
|
|
78
|
+
|
|
79
|
+
```pycon
|
|
80
|
+
>>> import httpx2
|
|
81
|
+
>>> r = httpx2.get('https://www.example.org/')
|
|
82
|
+
>>> r
|
|
83
|
+
<Response [200 OK]>
|
|
84
|
+
>>> r.status_code
|
|
85
|
+
200
|
|
86
|
+
>>> r.headers['content-type']
|
|
87
|
+
'text/html; charset=UTF-8'
|
|
88
|
+
>>> r.text
|
|
89
|
+
'<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Or, using the command-line client.
|
|
93
|
+
|
|
94
|
+
```shell
|
|
95
|
+
pip install 'httpx2[cli]' # The command line client is an optional dependency.
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Which now allows us to use HTTPX2 directly from the command-line:
|
|
99
|
+
|
|
100
|
+
```shell
|
|
101
|
+
httpx2 --help
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Features
|
|
105
|
+
|
|
106
|
+
HTTPX2 builds on the well-established usability of `requests`, and gives you:
|
|
107
|
+
|
|
108
|
+
* A broadly [requests-compatible API](https://pydantic.dev/docs/httpx2/guides/compatibility/).
|
|
109
|
+
* An integrated command-line client.
|
|
110
|
+
* HTTP/1.1 [and HTTP/2 support](https://pydantic.dev/docs/httpx2/guides/http2/).
|
|
111
|
+
* Standard synchronous interface, but with [async support if you need it](https://pydantic.dev/docs/httpx2/guides/async/).
|
|
112
|
+
* [WebSocket support](https://pydantic.dev/docs/httpx2/guides/websockets/).
|
|
113
|
+
* Ability to make requests directly to [WSGI applications](https://pydantic.dev/docs/httpx2/advanced/transports/#wsgi-transport) or [ASGI applications](https://pydantic.dev/docs/httpx2/advanced/transports/#asgi-transport).
|
|
114
|
+
* Strict timeouts everywhere.
|
|
115
|
+
* Fully type annotated.
|
|
116
|
+
* 100% test coverage.
|
|
117
|
+
|
|
118
|
+
Plus all the standard features of `requests`...
|
|
119
|
+
|
|
120
|
+
* International Domains and URLs
|
|
121
|
+
* Keep-Alive & Connection Pooling
|
|
122
|
+
* Sessions with Cookie Persistence
|
|
123
|
+
* Browser-style SSL Verification
|
|
124
|
+
* Basic/Digest Authentication
|
|
125
|
+
* Elegant Key/Value Cookies
|
|
126
|
+
* Automatic Decompression
|
|
127
|
+
* Automatic Content Decoding
|
|
128
|
+
* Unicode Response Bodies
|
|
129
|
+
* Multipart File Uploads
|
|
130
|
+
* HTTP(S) Proxy Support
|
|
131
|
+
* Connection Timeouts
|
|
132
|
+
* Streaming Downloads
|
|
133
|
+
* .netrc Support
|
|
134
|
+
* Chunked Requests
|
|
135
|
+
|
|
136
|
+
## Installation
|
|
137
|
+
|
|
138
|
+
Install with pip:
|
|
139
|
+
|
|
140
|
+
```shell
|
|
141
|
+
pip install httpx2
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Or, to include the optional HTTP/2 support, use:
|
|
145
|
+
|
|
146
|
+
```shell
|
|
147
|
+
pip install httpx2[http2]
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Documentation
|
|
151
|
+
|
|
152
|
+
Project documentation is available at [https://pydantic.dev/docs/httpx2/](https://pydantic.dev/docs/httpx2/).
|
|
153
|
+
|
|
154
|
+
For a run-through of all the basics, head over to the [QuickStart](https://pydantic.dev/docs/httpx2/get-started/quickstart/).
|
|
155
|
+
|
|
156
|
+
For more advanced topics, see the [Advanced Usage](https://pydantic.dev/docs/httpx2/advanced/clients/) section, the [async support](https://pydantic.dev/docs/httpx2/guides/async/) section, the [HTTP/2](https://pydantic.dev/docs/httpx2/guides/http2/) section, or the [WebSockets](https://pydantic.dev/docs/httpx2/guides/websockets/) section.
|
|
157
|
+
|
|
158
|
+
The [Developer Interface](https://pydantic.dev/docs/httpx2/api/api/) provides a comprehensive API reference.
|
|
159
|
+
|
|
160
|
+
To find out about tools that integrate with HTTPX, see [Third Party Packages](https://pydantic.dev/docs/httpx2/community/third_party_packages/).
|
|
161
|
+
|
|
162
|
+
## Observability with Pydantic Logfire
|
|
163
|
+
|
|
164
|
+
Install Logfire with HTTPX instrumentation support:
|
|
165
|
+
|
|
166
|
+
```shell
|
|
167
|
+
pip install 'logfire[httpx]'
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
HTTPX2 works out of the box with [Pydantic Logfire](https://pydantic.dev/logfire), our observability platform built on OpenTelemetry. One line instruments every request, giving you traces, timings, and status codes with no other changes:
|
|
171
|
+
|
|
172
|
+
```python
|
|
173
|
+
import logfire
|
|
174
|
+
import httpx2
|
|
175
|
+
|
|
176
|
+
logfire.configure()
|
|
177
|
+
logfire.instrument_httpx()
|
|
178
|
+
|
|
179
|
+
httpx2.get("https://pydantic.dev/")
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
This works the same way for explicit `httpx2.Client()` and `httpx2.AsyncClient()` instances, and you can scope instrumentation to a single client by passing it in: `logfire.instrument_httpx(client)`. Pass `capture_all=True` to also record headers and bodies. See the [Logfire HTTPX docs](https://logfire.pydantic.dev/docs/integrations/http-clients/httpx/) for the full set of options.
|
|
183
|
+
|
|
184
|
+
## Contribute
|
|
185
|
+
|
|
186
|
+
If you want to contribute with HTTPX2 check out the [Contributing Guide](https://pydantic.dev/docs/httpx2/community/contributing/) to learn how to start.
|
|
187
|
+
|
|
188
|
+
## Dependencies
|
|
189
|
+
|
|
190
|
+
The HTTPX2 project relies on these excellent libraries:
|
|
191
|
+
|
|
192
|
+
* `httpcore2` - The underlying transport implementation for `httpx2`.
|
|
193
|
+
* `h11` - HTTP/1.1 support.
|
|
194
|
+
* `anyio` - Structured concurrency primitives, used to support both `asyncio` and `trio`.
|
|
195
|
+
* `truststore` - SSL verification using the operating system's trust store.
|
|
196
|
+
* `idna` - Internationalized domain name support.
|
|
197
|
+
|
|
198
|
+
As well as these optional installs:
|
|
199
|
+
|
|
200
|
+
* `h2` - HTTP/2 support. *(Optional, with `httpx2[http2]`)*
|
|
201
|
+
* `socksio` - SOCKS proxy support. *(Optional, with `httpx2[socks]`)*
|
|
202
|
+
* `wsproto` - WebSocket support. *(Optional, with `httpx2[ws]`)*
|
|
203
|
+
* `rich` - Rich terminal support. *(Optional, with `httpx2[cli]`)*
|
|
204
|
+
* `click` - Command line client support. *(Optional, with `httpx2[cli]`)*
|
|
205
|
+
* `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional, with `httpx2[brotli]`)*
|
|
206
|
+
* `backports.zstd` - Decoding for "zstd" compressed responses on Python 3.13 and below. *(Optional, with `httpx2[zstd]`. On Python 3.14+, `zstd` is supported via the stdlib [`compression.zstd`](https://docs.python.org/3/library/compression.zstd.html) module when it is available, and the `httpx2[zstd]` extra installs nothing.)*
|
|
207
|
+
|
|
208
|
+
A huge amount of credit is due to `requests` for the API layout that
|
|
209
|
+
much of this work follows, as well as to `urllib3` for plenty of design
|
|
210
|
+
inspiration around the lower-level networking details.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
<p align="center"><i>HTTPX2 is <a href="https://github.com/pydantic/httpx2/blob/main/LICENSE.md">BSD licensed</a> code.<br/>Designed & crafted with care.</i><br/>— 🦋 —</p>
|
|
215
|
+
|
|
216
|
+
## Release Information
|
|
217
|
+
|
|
218
|
+
## 2.16.2 (November 16th, 2026)
|
|
219
|
+
|
|
220
|
+
### Fixed
|
|
221
|
+
|
|
222
|
+
* Restore the `Union` form of the type aliases in `httpx2._types`, such as `QueryParamTypes` and `HeaderTypes`. In `2.16.1` they were strings, so `Optional[QueryParamTypes]` raised `SyntaxError` and `QueryParamTypes | None` raised `TypeError` at runtime.
|
|
223
|
+
([#1346](https://github.com/pydantic/httpx2/pull/1346))
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
[Full changelog](https://github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright © 2026 to present Pydantic Services Inc. and individual contributors.
|
|
2
|
+
Copyright © 2019, [Encode OSS Ltd](https://www.encode.io/).
|
|
3
|
+
All rights reserved.
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
8
|
+
|
|
9
|
+
* 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.
|
|
10
|
+
|
|
11
|
+
* 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.
|
|
12
|
+
|
|
13
|
+
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.
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: idna
|
|
3
|
+
Version: 3.20
|
|
4
|
+
Summary: Internationalized Domain Names in Applications (IDNA)
|
|
5
|
+
Author-email: Kim Davies <kim+pypi@gumleaf.org>
|
|
6
|
+
Requires-Python: >=3.9
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
License-Expression: BSD-3-Clause
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Intended Audience :: System Administrators
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
23
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
24
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
25
|
+
Classifier: Topic :: Internet :: Name Service (DNS)
|
|
26
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
27
|
+
Classifier: Topic :: Utilities
|
|
28
|
+
License-File: LICENSE.md
|
|
29
|
+
Requires-Dist: ruff >= 0.16.0 ; extra == "all"
|
|
30
|
+
Requires-Dist: mypy >= 1.11.2 ; extra == "all"
|
|
31
|
+
Requires-Dist: ty >= 0.0.37 ; extra == "all"
|
|
32
|
+
Requires-Dist: pytest >= 8.3.2 ; extra == "all"
|
|
33
|
+
Requires-Dist: hypothesis >= 6.141.1 ; extra == "all"
|
|
34
|
+
Requires-Dist: coverage >= 7.10.0 ; extra == "all"
|
|
35
|
+
Project-URL: Changelog, https://github.com/kjd/idna/blob/master/HISTORY.md
|
|
36
|
+
Project-URL: Issue tracker, https://github.com/kjd/idna/issues
|
|
37
|
+
Project-URL: Source, https://github.com/kjd/idna
|
|
38
|
+
Provides-Extra: all
|
|
39
|
+
Import-Name: idna
|
|
40
|
+
|
|
41
|
+
# Internationalized Domain Names in Applications (IDNA)
|
|
42
|
+
|
|
43
|
+
Support for [Internationalized Domain Names in Applications
|
|
44
|
+
(IDNA)](https://tools.ietf.org/html/rfc5891) and [Unicode IDNA
|
|
45
|
+
Compatibility Processing](https://unicode.org/reports/tr46/). It
|
|
46
|
+
supersedes the standard library's `encodings.idna`, which only
|
|
47
|
+
implements the 2003 specification, offering broader script coverage and
|
|
48
|
+
limiting domains with known security vulnerabilities.
|
|
49
|
+
|
|
50
|
+
## Usage
|
|
51
|
+
|
|
52
|
+
Package may be installed from [PyPI](https://pypi.org/project/idna/) via
|
|
53
|
+
the typical methods (e.g. `python3 -m pip install idna`)
|
|
54
|
+
|
|
55
|
+
For typical usage, the `encode` and `decode` functions will take a
|
|
56
|
+
domain name argument and perform a conversion to ASCII-compatible encoding
|
|
57
|
+
(known as A-labels), or to Unicode strings (known as U-labels)
|
|
58
|
+
respectively.
|
|
59
|
+
|
|
60
|
+
```pycon
|
|
61
|
+
>>> import idna
|
|
62
|
+
>>> idna.encode('ドメイン.テスト')
|
|
63
|
+
b'xn--eckwd4c7c.xn--zckzah'
|
|
64
|
+
>>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
|
|
65
|
+
ドメイン.テスト
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Conversions can be applied at a per-label basis using the `ulabel` or
|
|
69
|
+
`alabel` functions for specialized use cases.
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Compatibility Mapping (UTS #46)
|
|
73
|
+
|
|
74
|
+
This library provides support for [Unicode IDNA Compatibility
|
|
75
|
+
Processing](https://unicode.org/reports/tr46/) which normalizes input from
|
|
76
|
+
different potential ways a user may input a domain prior to performing the IDNA
|
|
77
|
+
conversion operations. This functionality, known as a
|
|
78
|
+
[mapping](https://tools.ietf.org/html/rfc5895), is considered by the
|
|
79
|
+
specification to be a local user-interface issue distinct from IDNA
|
|
80
|
+
conversion functionality.
|
|
81
|
+
|
|
82
|
+
For example, "Königsgäßchen" is not a permissible label as capital letters
|
|
83
|
+
are not allowed. UTS #46 will convert this into lower case prior to applying
|
|
84
|
+
the IDNA conversion.
|
|
85
|
+
|
|
86
|
+
```pycon
|
|
87
|
+
>>> import idna
|
|
88
|
+
>>> idna.encode('Königsgäßchen')
|
|
89
|
+
...
|
|
90
|
+
idna.core.InvalidCodepoint: Codepoint U+004B at position 1 of 'Königsgäßchen' not allowed
|
|
91
|
+
>>> idna.encode('Königsgäßchen', uts46=True)
|
|
92
|
+
b'xn--knigsgchen-b4a3dun'
|
|
93
|
+
>>> idna.decode('xn--knigsgchen-b4a3dun')
|
|
94
|
+
'königsgäßchen'
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
When performing a decode operation for display purposes, `decode()`
|
|
98
|
+
accepts a `display=True` argument that leaves any `xn--` label that
|
|
99
|
+
fails to decode unchanged. This is useful for user interface display
|
|
100
|
+
where a domain is in use, the A-label form can be presented when it
|
|
101
|
+
is not a valid IDN.
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
## Exceptions
|
|
105
|
+
|
|
106
|
+
All errors raised during conversion derive from the `idna.IDNAError`
|
|
107
|
+
base class. The more specific exceptions are:
|
|
108
|
+
|
|
109
|
+
* `idna.IDNABidiError` — raised when a label contains an illegal
|
|
110
|
+
combination of left-to-right and right-to-left characters.
|
|
111
|
+
* `idna.InvalidCodepoint` — raised when a label contains a codepoint
|
|
112
|
+
that is INVALID for IDNA.
|
|
113
|
+
* `idna.InvalidCodepointContext` — raised when a CONTEXTO or CONTEXTJ
|
|
114
|
+
codepoint appears in a position whose contextual requirements are
|
|
115
|
+
not satisfied.
|
|
116
|
+
|
|
117
|
+
Exceptions carry machine-readable attributes so that applications do
|
|
118
|
+
not need to parse the message: `code` is a short, stable identifier
|
|
119
|
+
for the rule that failed (such as `disallowed_codepoint` or
|
|
120
|
+
`label_too_long`); and, when the failure can be attributed to a
|
|
121
|
+
particular character, `text` (the label or domain being validated),
|
|
122
|
+
`codepoint` (the offending codepoint as an integer) and `position`
|
|
123
|
+
are set.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## Command-line tool
|
|
127
|
+
|
|
128
|
+
The package supports command-line usage to convert domain names
|
|
129
|
+
between their Unicode and ASCII-compatible forms. It can be run either
|
|
130
|
+
as a module (`python3 -m idna`) or, once installed (such as with `uv
|
|
131
|
+
tool` or `pipx`), via the `idna` script:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
$ uv tool install idna
|
|
135
|
+
$ idna xn--e1afmkfd.xn--p1ai
|
|
136
|
+
пример.рф
|
|
137
|
+
$ idna пример.рф
|
|
138
|
+
xn--e1afmkfd.xn--p1ai
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Mode can be specified with `-e`/`--encode` or `-d`/`--decode`, otherwise
|
|
142
|
+
it will be chosen automatically based on the first input. Multiple
|
|
143
|
+
domains can be supplied either as arguments or through standard input.
|
|
144
|
+
UTS #46 mapping is applied by default, which lets the tool accept
|
|
145
|
+
inputs that aren't strictly valid IDNA 2008 by normalising them first,
|
|
146
|
+
pass `--strict` to disable UTS #46.
|
|
147
|
+
|
|
148
|
+
Conversion failures are reported on stderr together with the
|
|
149
|
+
offending input; processing continues with the remaining domains and
|
|
150
|
+
the tool exits with a non-zero status if any conversion failed.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## Additional Notes
|
|
154
|
+
|
|
155
|
+
* **Python version support**. This library supports Python 3.9 and higher.
|
|
156
|
+
As this library serves as a low-level toolkit for a variety of
|
|
157
|
+
applications, we strive to support all versions of Python that are
|
|
158
|
+
not beyond end-of-life. Free-threaded Python is also supported,
|
|
159
|
+
as the library holds no mutable global state the functions can be
|
|
160
|
+
called concurrently from multiple threads.
|
|
161
|
+
|
|
162
|
+
* **Unicode version**. The IDNA and UTS #46 lookup tables are generated
|
|
163
|
+
from a specific Unicode release. Some Unicode data depends on the
|
|
164
|
+
running Python's `unicodedata` module, so on an older Python a
|
|
165
|
+
character new to Unicode may be rejected as unknown even if this
|
|
166
|
+
library knows about it.
|
|
167
|
+
|
|
168
|
+
* **Emoji**. It is an occasional request to support emoji domains in
|
|
169
|
+
this library. Encoding of symbols like emoji is expressly prohibited by
|
|
170
|
+
the IDNA technical standard, and emoji domains are broadly phased
|
|
171
|
+
out across the domain industry due to associated security risks.
|
|
172
|
+
|
|
173
|
+
* **Regenerating lookup tables**. The IDNA and UTS #46 functionality
|
|
174
|
+
relies upon pre-calculated lookup tables, generated using the
|
|
175
|
+
`idna-data` script in [`tools/`](tools/README.md).
|
|
176
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2013-2026, Kim Davies and contributors.
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are
|
|
8
|
+
met:
|
|
9
|
+
|
|
10
|
+
1. Redistributions of source code must retain the above copyright
|
|
11
|
+
notice, this list of conditions and the following disclaimer.
|
|
12
|
+
|
|
13
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
14
|
+
notice, this list of conditions and the following disclaimer in the
|
|
15
|
+
documentation and/or other materials provided with the distribution.
|
|
16
|
+
|
|
17
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
18
|
+
contributors may be used to endorse or promote products derived from
|
|
19
|
+
this software without specific prior written permission.
|
|
20
|
+
|
|
21
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
22
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
23
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
24
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
25
|
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
26
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
27
|
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
28
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
29
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
30
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
31
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: iniconfig
|
|
3
|
+
Version: 2.3.1
|
|
4
|
+
Summary: brain-dead simple config-ini parsing
|
|
5
|
+
Author-email: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>, Holger Krekel <holger.krekel@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/pytest-dev/iniconfig
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Operating System :: POSIX
|
|
13
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
+
Classifier: Topic :: Utilities
|
|
22
|
+
Requires-Python: >=3.10
|
|
23
|
+
Description-Content-Type: text/x-rst
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
iniconfig: brain-dead simple parsing of ini files
|
|
28
|
+
=======================================================
|
|
29
|
+
|
|
30
|
+
iniconfig is a small and simple INI-file parser module
|
|
31
|
+
having a unique set of features:
|
|
32
|
+
|
|
33
|
+
* maintains order of sections and entries
|
|
34
|
+
* supports multi-line values with or without line-continuations
|
|
35
|
+
* supports "#" comments everywhere
|
|
36
|
+
* raises errors with proper line-numbers
|
|
37
|
+
* no bells and whistles like automatic substitutions
|
|
38
|
+
* iniconfig raises an Error if two sections have the same name.
|
|
39
|
+
|
|
40
|
+
If you encounter issues or have feature wishes please report them to:
|
|
41
|
+
|
|
42
|
+
https://github.com/pytest-dev/iniconfig/issues
|
|
43
|
+
|
|
44
|
+
Basic Example
|
|
45
|
+
===================================
|
|
46
|
+
|
|
47
|
+
If you have an ini file like this:
|
|
48
|
+
|
|
49
|
+
.. code-block:: ini
|
|
50
|
+
|
|
51
|
+
# content of example.ini
|
|
52
|
+
[section1] # comment
|
|
53
|
+
name1=value1 # comment
|
|
54
|
+
name1b=value1,value2 # comment
|
|
55
|
+
|
|
56
|
+
[section2]
|
|
57
|
+
name2=
|
|
58
|
+
line1
|
|
59
|
+
line2
|
|
60
|
+
|
|
61
|
+
use ``IniConfig.parse()`` to strip inline comments from values:
|
|
62
|
+
|
|
63
|
+
.. code-block:: pycon
|
|
64
|
+
|
|
65
|
+
>>> import iniconfig
|
|
66
|
+
>>> ini = iniconfig.IniConfig.parse("example.ini")
|
|
67
|
+
>>> ini['section1']['name1'] # raises KeyError if not exists
|
|
68
|
+
'value1'
|
|
69
|
+
>>> ini.get('section1', 'name1b', [], lambda x: x.split(","))
|
|
70
|
+
['value1', 'value2']
|
|
71
|
+
>>> ini.get('section1', 'notexist', [], lambda x: x.split(","))
|
|
72
|
+
[]
|
|
73
|
+
>>> [x.name for x in list(ini)]
|
|
74
|
+
['section1', 'section2']
|
|
75
|
+
>>> list(list(ini)[0].items())
|
|
76
|
+
[('name1', 'value1'), ('name1b', 'value1,value2')]
|
|
77
|
+
>>> 'section1' in ini
|
|
78
|
+
True
|
|
79
|
+
>>> 'inexistendsection' in ini
|
|
80
|
+
False
|
|
81
|
+
|
|
82
|
+
The ``IniConfig()`` constructor preserves inline comments in values for backward
|
|
83
|
+
compatibility. Use ``IniConfig.parse(..., strip_inline_comments=False)`` to
|
|
84
|
+
preserve them when using the parsing method.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2010 - 2023 Holger Krekel and others
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
9
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
10
|
+
so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2
|
+
of this software and associated documentation files (the "Software"), to
|
|
3
|
+
deal in the Software without restriction, including without limitation the
|
|
4
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
5
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
6
|
+
furnished to do so, subject to the following conditions:
|
|
7
|
+
|
|
8
|
+
The above copyright notice and this permission notice shall be included in
|
|
9
|
+
all copies or substantial portions of the Software.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
12
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
13
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
14
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
15
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
16
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
17
|
+
IN THE SOFTWARE.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: jaraco.classes
|
|
3
|
+
Version: 3.4.0
|
|
4
|
+
Summary: Utility functions for Python class constructs
|
|
5
|
+
Home-page: https://github.com/jaraco/jaraco.classes
|
|
6
|
+
Author: Jason R. Coombs
|
|
7
|
+
Author-email: jaraco@jaraco.com
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Requires-Dist: more-itertools
|
|
16
|
+
Provides-Extra: docs
|
|
17
|
+
Requires-Dist: sphinx >=3.5 ; extra == 'docs'
|
|
18
|
+
Requires-Dist: jaraco.packaging >=9.3 ; extra == 'docs'
|
|
19
|
+
Requires-Dist: rst.linker >=1.9 ; extra == 'docs'
|
|
20
|
+
Requires-Dist: furo ; extra == 'docs'
|
|
21
|
+
Requires-Dist: sphinx-lint ; extra == 'docs'
|
|
22
|
+
Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'docs'
|
|
23
|
+
Provides-Extra: testing
|
|
24
|
+
Requires-Dist: pytest >=6 ; extra == 'testing'
|
|
25
|
+
Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'testing'
|
|
26
|
+
Requires-Dist: pytest-cov ; extra == 'testing'
|
|
27
|
+
Requires-Dist: pytest-mypy ; extra == 'testing'
|
|
28
|
+
Requires-Dist: pytest-enabler >=2.2 ; extra == 'testing'
|
|
29
|
+
Requires-Dist: pytest-ruff >=0.2.1 ; extra == 'testing'
|
|
30
|
+
|
|
31
|
+
.. image:: https://img.shields.io/pypi/v/jaraco.classes.svg
|
|
32
|
+
:target: https://pypi.org/project/jaraco.classes
|
|
33
|
+
|
|
34
|
+
.. image:: https://img.shields.io/pypi/pyversions/jaraco.classes.svg
|
|
35
|
+
|
|
36
|
+
.. image:: https://github.com/jaraco/jaraco.classes/actions/workflows/main.yml/badge.svg
|
|
37
|
+
:target: https://github.com/jaraco/jaraco.classes/actions?query=workflow%3A%22tests%22
|
|
38
|
+
:alt: tests
|
|
39
|
+
|
|
40
|
+
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
|
|
41
|
+
:target: https://github.com/astral-sh/ruff
|
|
42
|
+
:alt: Ruff
|
|
43
|
+
|
|
44
|
+
.. image:: https://readthedocs.org/projects/jaracoclasses/badge/?version=latest
|
|
45
|
+
:target: https://jaracoclasses.readthedocs.io/en/latest/?badge=latest
|
|
46
|
+
|
|
47
|
+
.. image:: https://img.shields.io/badge/skeleton-2024-informational
|
|
48
|
+
:target: https://blog.jaraco.com/skeleton
|
|
49
|
+
|
|
50
|
+
.. image:: https://tidelift.com/badges/package/pypi/jaraco.classes
|
|
51
|
+
:target: https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=readme
|
|
52
|
+
|
|
53
|
+
For Enterprise
|
|
54
|
+
==============
|
|
55
|
+
|
|
56
|
+
Available as part of the Tidelift Subscription.
|
|
57
|
+
|
|
58
|
+
This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
|
|
59
|
+
|
|
60
|
+
`Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=referral&utm_campaign=github>`_.
|