@formaggio-software/rhtop-linux-amd64 0.0.0-stage → 0.0.6
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 +14 -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,181 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: starlette
|
|
3
|
+
Version: 1.10.0
|
|
4
|
+
Summary: The little ASGI library that shines.
|
|
5
|
+
Project-URL: Homepage, https://github.com/Kludex/starlette
|
|
6
|
+
Project-URL: Documentation, https://starlette.dev/
|
|
7
|
+
Project-URL: Changelog, https://starlette.dev/release-notes/
|
|
8
|
+
Project-URL: Funding, https://github.com/sponsors/Kludex
|
|
9
|
+
Project-URL: Source, https://github.com/Kludex/starlette
|
|
10
|
+
Author-email: Tom Christie <tom@tomchristie.com>
|
|
11
|
+
Maintainer-email: Marcelo Trylesinski <marcelotryle@gmail.com>
|
|
12
|
+
License-Expression: BSD-3-Clause
|
|
13
|
+
License-File: LICENSE.md
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Environment :: Web Environment
|
|
16
|
+
Classifier: Framework :: AnyIO
|
|
17
|
+
Classifier: Intended Audience :: Developers
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
25
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
26
|
+
Requires-Python: >=3.11
|
|
27
|
+
Requires-Dist: anyio<5,>=4.0.0
|
|
28
|
+
Requires-Dist: typing-extensions>=4.10.0; python_version < '3.13'
|
|
29
|
+
Provides-Extra: full
|
|
30
|
+
Requires-Dist: httpx2>=2.0.0; extra == 'full'
|
|
31
|
+
Requires-Dist: httpx<0.29.0,>=0.27.0; extra == 'full'
|
|
32
|
+
Requires-Dist: itsdangerous; extra == 'full'
|
|
33
|
+
Requires-Dist: jinja2; extra == 'full'
|
|
34
|
+
Requires-Dist: opentelemetry-api; extra == 'full'
|
|
35
|
+
Requires-Dist: python-multipart>=0.0.18; extra == 'full'
|
|
36
|
+
Requires-Dist: pyyaml; extra == 'full'
|
|
37
|
+
Description-Content-Type: text/markdown
|
|
38
|
+
|
|
39
|
+
<p align="center">
|
|
40
|
+
<picture>
|
|
41
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Kludex/starlette/main/docs/img/starlette_dark.svg" width="420px">
|
|
42
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/Kludex/starlette/main/docs/img/starlette.svg" width="420px">
|
|
43
|
+
<img alt="starlette-logo" src="https://raw.githubusercontent.com/Kludex/starlette/main/docs/img/starlette.svg">
|
|
44
|
+
</picture>
|
|
45
|
+
</p>
|
|
46
|
+
|
|
47
|
+
<p align="center">
|
|
48
|
+
<em>✨ The little ASGI framework that shines. ✨</em>
|
|
49
|
+
</p>
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
[](https://github.com/Kludex/starlette/actions)
|
|
54
|
+
[](https://pypi.python.org/pypi/starlette)
|
|
55
|
+
[](https://pypi.org/project/starlette)
|
|
56
|
+
[](https://discord.gg/RxKUF5JuHs)
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
**Documentation**: <a href="https://starlette.dev/" target="_blank">https://starlette.dev</a>
|
|
61
|
+
|
|
62
|
+
**Source Code**: <a href="https://github.com/Kludex/starlette" target="_blank">https://github.com/Kludex/starlette</a>
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
# Starlette
|
|
67
|
+
|
|
68
|
+
Starlette is a lightweight [ASGI][asgi] framework/toolkit,
|
|
69
|
+
which is ideal for building async web services in Python.
|
|
70
|
+
|
|
71
|
+
It is production-ready, and gives you the following:
|
|
72
|
+
|
|
73
|
+
* A lightweight, low-complexity HTTP web framework.
|
|
74
|
+
* WebSocket support.
|
|
75
|
+
* In-process background tasks.
|
|
76
|
+
* Startup and shutdown events.
|
|
77
|
+
* Test client built on `httpx2`.
|
|
78
|
+
* CORS, GZip, Static Files, Streaming responses.
|
|
79
|
+
* Session and Cookie support.
|
|
80
|
+
* 100% test coverage.
|
|
81
|
+
* 100% type annotated codebase.
|
|
82
|
+
* Few hard dependencies.
|
|
83
|
+
* Compatible with `asyncio` and `trio` backends.
|
|
84
|
+
* Great overall performance [against independent benchmarks][techempower].
|
|
85
|
+
|
|
86
|
+
## Installation
|
|
87
|
+
|
|
88
|
+
```shell
|
|
89
|
+
$ pip install starlette
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
You'll also want to install an ASGI server, such as [uvicorn](https://uvicorn.dev) or any of the [other ASGI server implementations](https://asgi.readthedocs.io/en/latest/implementations.html#servers).
|
|
93
|
+
|
|
94
|
+
```shell
|
|
95
|
+
$ pip install uvicorn
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Example
|
|
99
|
+
|
|
100
|
+
```python title="main.py"
|
|
101
|
+
from starlette.applications import Starlette
|
|
102
|
+
from starlette.responses import JSONResponse
|
|
103
|
+
from starlette.routing import Route
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
async def homepage(request):
|
|
107
|
+
return JSONResponse({'hello': 'world'})
|
|
108
|
+
|
|
109
|
+
routes = [
|
|
110
|
+
Route("/", endpoint=homepage)
|
|
111
|
+
]
|
|
112
|
+
|
|
113
|
+
app = Starlette(debug=True, routes=routes)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Then run the application using Uvicorn:
|
|
117
|
+
|
|
118
|
+
```shell
|
|
119
|
+
$ uvicorn main:app
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Dependencies
|
|
123
|
+
|
|
124
|
+
Starlette only requires `anyio`, and the following are optional:
|
|
125
|
+
|
|
126
|
+
* [`httpx2`][httpx2] - Required if you want to use the `TestClient`.
|
|
127
|
+
* [`jinja2`][jinja2] - Required if you want to use `Jinja2Templates`.
|
|
128
|
+
* [`opentelemetry-api`][opentelemetry-api] - Required for `OpenTelemetryMiddleware`.
|
|
129
|
+
* [`python-multipart`][python-multipart] - Required if you want to support form parsing, with `request.form()`.
|
|
130
|
+
* [`itsdangerous`][itsdangerous] - Required for `SessionMiddleware` support.
|
|
131
|
+
* [`pyyaml`][pyyaml] - Required for `SchemaGenerator` support.
|
|
132
|
+
|
|
133
|
+
You can install all of these with `pip install starlette[full]`.
|
|
134
|
+
|
|
135
|
+
## Framework or Toolkit
|
|
136
|
+
|
|
137
|
+
Starlette is designed to be used either as a complete framework, or as
|
|
138
|
+
an ASGI toolkit. You can use any of its components independently.
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
from starlette.responses import PlainTextResponse
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
async def app(scope, receive, send):
|
|
145
|
+
assert scope['type'] == 'http'
|
|
146
|
+
response = PlainTextResponse('Hello, world!')
|
|
147
|
+
await response(scope, receive, send)
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
Run the `app` application in `example.py`:
|
|
151
|
+
|
|
152
|
+
```shell
|
|
153
|
+
$ uvicorn example:app
|
|
154
|
+
INFO: Started server process [11509]
|
|
155
|
+
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Run uvicorn with `--reload` to enable auto-reloading on code changes.
|
|
159
|
+
|
|
160
|
+
## Modularity
|
|
161
|
+
|
|
162
|
+
The modularity that Starlette is designed on promotes building reusable
|
|
163
|
+
components that can be shared between any ASGI framework. This should enable
|
|
164
|
+
an ecosystem of shared middleware and mountable applications.
|
|
165
|
+
|
|
166
|
+
The clean API separation also means it's easier to understand each component
|
|
167
|
+
in isolation.
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
<p align="center"><i>Starlette is <a href="https://github.com/Kludex/starlette/blob/main/LICENSE.md">BSD licensed</a> code.<br/>Designed & crafted with care.</i></br>— ⭐️ —</p>
|
|
172
|
+
|
|
173
|
+
[asgi]: https://asgi.readthedocs.io/en/latest/
|
|
174
|
+
[httpx2]: https://pypi.org/project/httpx2/
|
|
175
|
+
[jinja2]: https://jinja.palletsprojects.com/
|
|
176
|
+
[opentelemetry-api]: https://opentelemetry.io/docs/languages/python/api/
|
|
177
|
+
[python-multipart]: https://multipart.fastapiexpert.com/
|
|
178
|
+
[itsdangerous]: https://itsdangerous.palletsprojects.com/
|
|
179
|
+
[sqlalchemy]: https://www.sqlalchemy.org
|
|
180
|
+
[pyyaml]: https://pyyaml.org/wiki/PyYAMLDocumentation
|
|
181
|
+
[techempower]: https://github.com/TechEmpower/FrameworkBenchmarks
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Copyright © 2018, [Encode OSS Ltd](https://www.encode.io/).
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
8
|
+
list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
11
|
+
this list of conditions and the following disclaimer in the documentation
|
|
12
|
+
and/or other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
* Neither the name of the copyright holder nor the names of its
|
|
15
|
+
contributors may be used to endorse or promote products derived from
|
|
16
|
+
this software without specific prior written permission.
|
|
17
|
+
|
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
19
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
20
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
21
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
22
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
23
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
24
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
25
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
26
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Will McGugan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do 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,265 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: textual
|
|
3
|
+
Version: 6.12.0
|
|
4
|
+
Summary: Modern Text User Interface framework
|
|
5
|
+
License: MIT
|
|
6
|
+
Author: Will McGugan
|
|
7
|
+
Author-email: will@textualize.io
|
|
8
|
+
Requires-Python: >=3.9,<4.0
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Operating System :: MacOS
|
|
14
|
+
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
|
|
15
|
+
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Typing :: Typed
|
|
25
|
+
Provides-Extra: syntax
|
|
26
|
+
Requires-Dist: markdown-it-py[linkify] (>=2.1.0)
|
|
27
|
+
Requires-Dist: mdit-py-plugins
|
|
28
|
+
Requires-Dist: platformdirs (>=3.6.0,<5)
|
|
29
|
+
Requires-Dist: pygments (>=2.19.2,<3.0.0)
|
|
30
|
+
Requires-Dist: rich (>=14.2.0)
|
|
31
|
+
Requires-Dist: tree-sitter (>=0.25.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
32
|
+
Requires-Dist: tree-sitter-bash (>=0.23.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
33
|
+
Requires-Dist: tree-sitter-css (>=0.23.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
34
|
+
Requires-Dist: tree-sitter-go (>=0.23.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
35
|
+
Requires-Dist: tree-sitter-html (>=0.23.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
36
|
+
Requires-Dist: tree-sitter-java (>=0.23.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
37
|
+
Requires-Dist: tree-sitter-javascript (>=0.23.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
38
|
+
Requires-Dist: tree-sitter-json (>=0.24.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
39
|
+
Requires-Dist: tree-sitter-markdown (>=0.3.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
40
|
+
Requires-Dist: tree-sitter-python (>=0.23.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
41
|
+
Requires-Dist: tree-sitter-regex (>=0.24.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
42
|
+
Requires-Dist: tree-sitter-rust (>=0.23.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
43
|
+
Requires-Dist: tree-sitter-sql (>=0.3.11) ; (python_version >= "3.10") and (extra == "syntax")
|
|
44
|
+
Requires-Dist: tree-sitter-toml (>=0.6.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
45
|
+
Requires-Dist: tree-sitter-xml (>=0.7.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
46
|
+
Requires-Dist: tree-sitter-yaml (>=0.6.0) ; (python_version >= "3.10") and (extra == "syntax")
|
|
47
|
+
Requires-Dist: typing-extensions (>=4.4.0,<5.0.0)
|
|
48
|
+
Project-URL: Bug Tracker, https://github.com/Textualize/textual/issues
|
|
49
|
+
Project-URL: Documentation, https://textual.textualize.io/
|
|
50
|
+
Project-URL: Homepage, https://github.com/Textualize/textual
|
|
51
|
+
Project-URL: Repository, https://github.com/Textualize/textual
|
|
52
|
+
Description-Content-Type: text/markdown
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
[](https://discord.gg/Enf6Z3qhVr)
|
|
57
|
+
[](https://pypi.org/project/textual/)
|
|
58
|
+
[](https://badge.fury.io/py/textual)
|
|
59
|
+

|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+

|
|
64
|
+
|
|
65
|
+
# Textual
|
|
66
|
+
|
|
67
|
+
<img align="right" width="250" alt="clock" src="https://github.com/user-attachments/assets/63e839c3-5b8e-478d-b78e-cf7647eb85e8" />
|
|
68
|
+
|
|
69
|
+
Build cross-platform user interfaces with a simple Python API. Run your apps in the terminal *or* a web browser.
|
|
70
|
+
|
|
71
|
+
Textual's API combines modern Python with the best of developments from the web world, for a lean app development experience.
|
|
72
|
+
De-coupled components and an advanced [testing](https://textual.textualize.io/guide/testing/) framework ensure you can maintain your app for the long-term.
|
|
73
|
+
|
|
74
|
+
Want some more examples? See the [examples](https://github.com/Textualize/textual/tree/main/examples) directory.
|
|
75
|
+
|
|
76
|
+
```python
|
|
77
|
+
"""
|
|
78
|
+
An App to show the current time.
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
from datetime import datetime
|
|
82
|
+
|
|
83
|
+
from textual.app import App, ComposeResult
|
|
84
|
+
from textual.widgets import Digits
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class ClockApp(App):
|
|
88
|
+
CSS = """
|
|
89
|
+
Screen { align: center middle; }
|
|
90
|
+
Digits { width: auto; }
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
def compose(self) -> ComposeResult:
|
|
94
|
+
yield Digits("")
|
|
95
|
+
|
|
96
|
+
def on_ready(self) -> None:
|
|
97
|
+
self.update_clock()
|
|
98
|
+
self.set_interval(1, self.update_clock)
|
|
99
|
+
|
|
100
|
+
def update_clock(self) -> None:
|
|
101
|
+
clock = datetime.now().time()
|
|
102
|
+
self.query_one(Digits).update(f"{clock:%T}")
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
if __name__ == "__main__":
|
|
106
|
+
app = ClockApp()
|
|
107
|
+
app.run()
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
> [!TIP]
|
|
111
|
+
> Textual is an asynchronous framework under the hood. Which means you can integrate your apps with async libraries — if you want to.
|
|
112
|
+
> If you don't want or need to use async, Textual won't force it on you.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<img src="https://img.spacergif.org/spacer.gif" width="1" height="64"/>
|
|
117
|
+
|
|
118
|
+
## Widgets
|
|
119
|
+
|
|
120
|
+
Textual's library of [widgets](https://textual.textualize.io/widget_gallery/) covers everything from buttons, tree controls, data tables, inputs, text areas, and more…
|
|
121
|
+
Combined with a flexible [layout](https://textual.textualize.io/how-to/design-a-layout/) system, you can realize any User Interface you need.
|
|
122
|
+
|
|
123
|
+
Predefined themes ensure your apps will look good out of the box.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
<table>
|
|
127
|
+
|
|
128
|
+
<tr>
|
|
129
|
+
|
|
130
|
+
<td>
|
|
131
|
+
|
|
132
|
+

|
|
133
|
+
|
|
134
|
+
</td>
|
|
135
|
+
|
|
136
|
+
<td>
|
|
137
|
+
|
|
138
|
+

|
|
139
|
+
|
|
140
|
+
</td>
|
|
141
|
+
|
|
142
|
+
</tr>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<tr>
|
|
146
|
+
|
|
147
|
+
<td>
|
|
148
|
+
|
|
149
|
+

|
|
150
|
+
|
|
151
|
+
</td>
|
|
152
|
+
|
|
153
|
+
<td>
|
|
154
|
+
|
|
155
|
+

|
|
156
|
+
|
|
157
|
+
</td>
|
|
158
|
+
|
|
159
|
+
</tr>
|
|
160
|
+
<tr>
|
|
161
|
+
|
|
162
|
+
<td>
|
|
163
|
+
|
|
164
|
+

|
|
165
|
+
|
|
166
|
+
</td>
|
|
167
|
+
|
|
168
|
+
<td>
|
|
169
|
+
|
|
170
|
+

|
|
171
|
+
|
|
172
|
+
</td>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
</tr>
|
|
176
|
+
|
|
177
|
+
</table>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<img src="https://img.spacergif.org/spacer.gif" width="1" height="32"/>
|
|
181
|
+
|
|
182
|
+
## Installing
|
|
183
|
+
|
|
184
|
+
Install Textual via pip:
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
pip install textual textual-dev
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
See [getting started](https://textual.textualize.io/getting_started/) for details.
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<img src="https://img.spacergif.org/spacer.gif" width="1" height="32"/>
|
|
194
|
+
|
|
195
|
+
## Demo
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
Run the following command to see a little of what Textual can do:
|
|
199
|
+
|
|
200
|
+
```
|
|
201
|
+
python -m textual
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
Or try the [textual demo](https://github.com/textualize/textual-demo) *without* installing (requires [uv](https://docs.astral.sh/uv/)):
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
uvx --python 3.12 textual-demo
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
<img src="https://img.spacergif.org/spacer.gif" width="1" height="32"/>
|
|
211
|
+
|
|
212
|
+
## Dev Console
|
|
213
|
+
|
|
214
|
+
<img align="right" width="40%" alt="devtools" src="https://github.com/user-attachments/assets/12c60d65-e342-4b2f-9372-bae0459a7552" />
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
How do you debug an app in the terminal that is also running in the terminal?
|
|
218
|
+
|
|
219
|
+
The `textual-dev` package supplies a dev console that connects to your application from another terminal.
|
|
220
|
+
In addition to system messages and events, your logged messages and print statements will appear in the dev console.
|
|
221
|
+
|
|
222
|
+
See [the guide](https://textual.textualize.io/guide/devtools/) for other helpful tools provided by the `textual-dev` package.
|
|
223
|
+
|
|
224
|
+
<img src="https://img.spacergif.org/spacer.gif" width="1" height="32"/>
|
|
225
|
+
|
|
226
|
+
## Command Palette
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
Textual apps have a *fuzzy search* command palette.
|
|
230
|
+
Hit `ctrl+p` to open the command palette.
|
|
231
|
+
|
|
232
|
+
It is easy to extend the command palette with [custom commands](https://textual.textualize.io/guide/command_palette/) for your application.
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+

|
|
236
|
+
|
|
237
|
+
<img src="https://img.spacergif.org/spacer.gif" width="1" height="32"/>
|
|
238
|
+
|
|
239
|
+
# Textual ❤️ Web
|
|
240
|
+
|
|
241
|
+
<img align="right" width="40%" alt="textual-serve" src="https://github.com/user-attachments/assets/a25820fb-87ae-433a-858b-ac3940169242">
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
Textual apps are equally at home in the browser as they are the terminal. Any Textual app may be served with `textual serve` — so you can share your creations on the web.
|
|
245
|
+
Here's how to serve the demo app:
|
|
246
|
+
|
|
247
|
+
```
|
|
248
|
+
textual serve "python -m textual"
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
In addition to serving your apps locally, you can serve apps with [Textual Web](https://github.com/Textualize/textual-web).
|
|
252
|
+
|
|
253
|
+
Textual Web's firewall-busting technology can serve an unlimited number of applications.
|
|
254
|
+
|
|
255
|
+
Since Textual apps have low system requirements, you can install them anywhere Python also runs. Turning any device into a connected device.
|
|
256
|
+
No desktop required!
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
<img src="https://img.spacergif.org/spacer.gif" width="1" height="32"/>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
## Join us on Discord
|
|
263
|
+
|
|
264
|
+
Join the Textual developers and community on our [Discord Server](https://discord.gg/Enf6Z3qhVr).
|
|
265
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tomlkit
|
|
3
|
+
Version: 0.15.2
|
|
4
|
+
Summary: Style preserving TOML library
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Author: Sébastien Eustace
|
|
8
|
+
Author-email: sebastien@eustace.io
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Project-URL: Changelog, https://github.com/python-poetry/tomlkit/blob/master/CHANGELOG.md
|
|
19
|
+
Project-URL: Homepage, https://github.com/python-poetry/tomlkit
|
|
20
|
+
Project-URL: Repository, https://github.com/python-poetry/tomlkit
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
[github_release]: https://img.shields.io/github/release/sdispater/tomlkit.svg?logo=github&logoColor=white
|
|
24
|
+
[pypi_version]: https://img.shields.io/pypi/v/tomlkit.svg?logo=python&logoColor=white
|
|
25
|
+
[python_versions]: https://img.shields.io/pypi/pyversions/tomlkit.svg?logo=python&logoColor=white
|
|
26
|
+
[github_license]: https://img.shields.io/github/license/sdispater/tomlkit.svg?logo=github&logoColor=white
|
|
27
|
+
[github_action]: https://github.com/sdispater/tomlkit/actions/workflows/tests.yml/badge.svg
|
|
28
|
+
|
|
29
|
+
[![GitHub Release][github_release]](https://github.com/sdispater/tomlkit/releases/)
|
|
30
|
+
[![PyPI Version][pypi_version]](https://pypi.org/project/tomlkit/)
|
|
31
|
+
[![Python Versions][python_versions]](https://pypi.org/project/tomlkit/)
|
|
32
|
+
[![License][github_license]](https://github.com/sdispater/tomlkit/blob/master/LICENSE)
|
|
33
|
+
<br>
|
|
34
|
+
[![Tests][github_action]](https://github.com/sdispater/tomlkit/actions/workflows/tests.yml)
|
|
35
|
+
|
|
36
|
+
# TOML Kit - Style-preserving TOML library for Python
|
|
37
|
+
|
|
38
|
+
TOML Kit is a **1.1.0-compliant** [TOML](https://toml.io/) library.
|
|
39
|
+
|
|
40
|
+
It includes a parser that preserves all comments, indentations, whitespace and internal element ordering,
|
|
41
|
+
and makes them accessible and editable via an intuitive API.
|
|
42
|
+
|
|
43
|
+
You can also create new TOML documents from scratch using the provided helpers.
|
|
44
|
+
|
|
45
|
+
Part of the implementation has been adapted, improved and fixed from [Molten](https://github.com/LeopoldArkham/Molten).
|
|
46
|
+
|
|
47
|
+
## Usage
|
|
48
|
+
|
|
49
|
+
See the [documentation](https://tomlkit.readthedocs.io/) for more information.
|
|
50
|
+
|
|
51
|
+
## Limitations
|
|
52
|
+
|
|
53
|
+
`tomlkit` preserves the original layout of a document, with one exception: a
|
|
54
|
+
sub-table that extends an array of tables out of order — for example a
|
|
55
|
+
`[fruit.apple.texture]` header that appears after `[[fruit]]` with an unrelated
|
|
56
|
+
table in between — is normalized into the array's last element when the document
|
|
57
|
+
is re-serialized, rather than kept at its original position. The data is
|
|
58
|
+
preserved; only the physical placement of that sub-table changes.
|
|
59
|
+
|
|
60
|
+
## Installation
|
|
61
|
+
|
|
62
|
+
If you are using [uv](https://docs.astral.sh/uv), you can
|
|
63
|
+
add `tomlkit` to your `pyproject.toml` file by using:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
uv add tomlkit
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Or just:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
uv pip install tomlkit
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
If not, you can use `pip`:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
pip install tomlkit
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Running tests
|
|
82
|
+
|
|
83
|
+
Please clone the repo with submodules with the following command:
|
|
84
|
+
```bash
|
|
85
|
+
git clone --recurse-submodules https://github.com/python-poetry/tomlkit.git
|
|
86
|
+
```
|
|
87
|
+
The `toml-test` submodule is required for running the tests.
|
|
88
|
+
|
|
89
|
+
You can then run the tests with
|
|
90
|
+
```bash
|
|
91
|
+
poetry run pytest -q tests
|
|
92
|
+
```
|
|
93
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) 2018 Sébastien Eustace
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|