simple-module-hosting 0.0.16__tar.gz → 0.0.17__tar.gz
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.
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/PKG-INFO +3 -3
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/pyproject.toml +3 -3
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_app.py +7 -1
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/.gitignore +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/LICENSE +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/README.md +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/__init__.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/__main__.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/_error_handlers.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/_host_services.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/_hydrate_step.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/_inertia_setup.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/_inertia_shared.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/_observability.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/_phase_helpers.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/app_builder.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/bootstrap_settings.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/health.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/host_cli.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/host_settings.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/i18n_deps.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/i18n_manifest.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/i18n_middleware.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/inertia_deps.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/inertia_utils.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/logging.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/manifest.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/middleware.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/migrations.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/permissions.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/py.typed +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/redirects.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/settings.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_check_migrations.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_health.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_host_cli.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_hosting_permissions.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_i18n_manifest.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_inertia_i18n_shared_props.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_lifespan_order.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_locale_middleware.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_logging.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_manifest.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_middleware_order.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_redirects.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_session_cookie_security.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_settings_i18n.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_settings_secrets.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_strict_discovery_wiring.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_tenant_middleware.py +0 -0
- {simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_translator_dep.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simple_module_hosting
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.17
|
|
4
4
|
Summary: FastAPI + Inertia.js host runtime for simple_module — app_builder, middleware stack, CLI (sm / simple-module), scaffolding
|
|
5
5
|
Project-URL: Homepage, https://github.com/antosubash/simple_module_python
|
|
6
6
|
Project-URL: Repository, https://github.com/antosubash/simple_module_python
|
|
@@ -26,8 +26,8 @@ Requires-Dist: fastapi-inertia>=1.0
|
|
|
26
26
|
Requires-Dist: fastapi>=0.115
|
|
27
27
|
Requires-Dist: httpx>=0.27
|
|
28
28
|
Requires-Dist: jinja2>=3.1
|
|
29
|
-
Requires-Dist: simple-module-core==0.0.
|
|
30
|
-
Requires-Dist: simple-module-db==0.0.
|
|
29
|
+
Requires-Dist: simple-module-core==0.0.17
|
|
30
|
+
Requires-Dist: simple-module-db==0.0.17
|
|
31
31
|
Requires-Dist: starlette>=0.44
|
|
32
32
|
Requires-Dist: tomlkit>=0.13
|
|
33
33
|
Requires-Dist: uvicorn[standard]>=0.34
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "simple_module_hosting"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.17"
|
|
4
4
|
description = "FastAPI + Inertia.js host runtime for simple_module — app_builder, middleware stack, CLI (sm / simple-module), scaffolding"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -26,8 +26,8 @@ dependencies = [
|
|
|
26
26
|
"fastapi-inertia>=1.0",
|
|
27
27
|
"httpx>=0.27",
|
|
28
28
|
"jinja2>=3.1",
|
|
29
|
-
"simple_module_core==0.0.
|
|
30
|
-
"simple_module_db==0.0.
|
|
29
|
+
"simple_module_core==0.0.17",
|
|
30
|
+
"simple_module_db==0.0.17",
|
|
31
31
|
"starlette>=0.44",
|
|
32
32
|
"tomlkit>=0.13",
|
|
33
33
|
"uvicorn[standard]>=0.34",
|
|
@@ -77,7 +77,13 @@ class TestCreateApp:
|
|
|
77
77
|
(tmp_path / "host" / "templates").mkdir(parents=True)
|
|
78
78
|
(tmp_path / "host" / "templates" / "index.html").write_text("<html></html>")
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
# Exclude Keycloak — both ``users`` and ``keycloak`` are installed as
|
|
81
|
+
# entry points in the dev workspace. SM020 fires if both are present
|
|
82
|
+
# because the app is only meant to run with one auth provider.
|
|
83
|
+
from simple_module_core.discovery import discover_modules
|
|
84
|
+
|
|
85
|
+
all_names = [m.meta.name for m in discover_modules() if m.meta.name != "Keycloak"]
|
|
86
|
+
app = create_app(Settings(modules_enabled=all_names))
|
|
81
87
|
|
|
82
88
|
sm = app.state.sm
|
|
83
89
|
assert isinstance(sm, Services)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/__init__.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/_hydrate_step.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/app_builder.py
RENAMED
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/health.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/host_cli.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/host_settings.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/i18n_deps.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/i18n_manifest.py
RENAMED
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/inertia_deps.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/inertia_utils.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/logging.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/manifest.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/middleware.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/migrations.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/permissions.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/py.typed
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/redirects.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/simple_module_hosting/settings.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_check_migrations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_hosting_permissions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_locale_middleware.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_middleware_order.py
RENAMED
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_session_cookie_security.py
RENAMED
|
File without changes
|
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_settings_secrets.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_strict_discovery_wiring.py
RENAMED
|
File without changes
|
{simple_module_hosting-0.0.16 → simple_module_hosting-0.0.17}/tests/test_tenant_middleware.py
RENAMED
|
File without changes
|
|
File without changes
|