sandloom-standard 0.7.0a12__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.
@@ -0,0 +1,4 @@
1
+ # Build artifacts from `uv build` — not committed.
2
+ dist/
3
+ build/
4
+ *.egg-info/
@@ -0,0 +1,20 @@
1
+ # Changelog — sandloom-standard
2
+
3
+ All notable changes to the `sandloom-standard` distribution are documented here.
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+ Per-package entries are aggregated in the repository-level [docs/changelog.md](../../docs/changelog.md).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.7.0a12]
11
+
12
+ ### Added
13
+
14
+ - The distribution: `sandloom_standard.main` exposes `app` and `core`, the kernel
15
+ factory with the lean root's default module set (every installed
16
+ `sandloom.modules` entry point, then a framework checkout's `LOCAL_MODULES`;
17
+ `sandloom.local_modules.default_modules`), so both roots compose the same
18
+ modules (ADR-0012 decision 3). `sandloom[standard]` depends on it; the
19
+ Sandloom image and the shipped compose profiles boot every process from it
20
+ with `SANDLOOM_COMPOSITION_ROOT=sandloom_standard.main`.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,8 @@
1
+ Sandloom
2
+ Copyright 2026 Vasyl Cherniavskyi
3
+
4
+ The original Sandloom framework code, documentation and examples are licensed
5
+ under the Apache License, Version 2.0. See LICENSE for the full terms.
6
+
7
+ Third-party components and assets retain their own copyright notices and
8
+ licenses. This notice does not replace or modify those terms.
@@ -0,0 +1,63 @@
1
+ Metadata-Version: 2.5
2
+ Name: sandloom-standard
3
+ Version: 0.7.0a12
4
+ Summary: The standard Sandloom composition: the composition root that every process of a standard deployment boots.
5
+ Project-URL: Homepage, https://sandloom.dev/
6
+ Project-URL: Documentation, https://sandloom.dev/docs/
7
+ Project-URL: Repository, https://github.com/Sandloom-dev/sandloom
8
+ Project-URL: Issues, https://github.com/Sandloom-dev/sandloom/issues
9
+ Project-URL: Changelog, https://github.com/Sandloom-dev/sandloom/blob/main/packages/sandloom-standard/CHANGELOG.md
10
+ Author: Vasyl Cherniavskyi
11
+ License-Expression: Apache-2.0
12
+ License-File: LICENSE
13
+ License-File: NOTICE
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Requires-Python: >=3.11
16
+ Requires-Dist: sandloom<0.8,>=0.7.0a12
17
+ Description-Content-Type: text/markdown
18
+
19
+ # sandloom-standard
20
+
21
+ **The standard Sandloom composition.**
22
+
23
+ The composition root that every process of a standard Sandloom deployment
24
+ boots: the API, the Celery worker and beat, `sandloom migrate` and the operator
25
+ commands. It composes the module distributions installed beside it, so a
26
+ deployment that installs identity, tenancy and billing serves all three from
27
+ one root.
28
+
29
+ Part of [Sandloom](https://github.com/Sandloom-dev/sandloom), the Python backend
30
+ framework for AI-driven development.
31
+
32
+ ## Install
33
+
34
+ ```bash
35
+ python -m pip install --pre "sandloom[standard]"
36
+ ```
37
+
38
+ `sandloom[standard]` installs this distribution with Redis, Celery and the
39
+ standard modules. Point every process at the root:
40
+
41
+ ```bash
42
+ SANDLOOM_COMPOSITION_ROOT=sandloom_standard.main
43
+ gunicorn -c python:sandloom.core.cli.gunicorn_conf sandloom_standard.main:app
44
+ ```
45
+
46
+ The Sandloom image and the shipped compose profiles set it already.
47
+ `SANDLOOM_MODULES` still selects the modules a process loads. The kernel's
48
+ `sandloom.main` stays the lean root: installed modules, nothing else. An
49
+ application made with `sandloom new` keeps its own `<app>.asgi` root and does
50
+ not need this distribution.
51
+
52
+ This is alpha software. Review the compatibility policy before upgrading.
53
+
54
+ ## Links
55
+
56
+ - [Source and issue tracker](https://github.com/Sandloom-dev/sandloom)
57
+ - [Documentation](https://sandloom.dev/docs/)
58
+ - [Compatibility policy](https://github.com/Sandloom-dev/sandloom/blob/main/docs/contributing/versioning.md)
59
+
60
+ ## License
61
+
62
+ Apache-2.0. Copyright 2026 Vasyl Cherniavskyi.
63
+ See [LICENSE](https://github.com/Sandloom-dev/sandloom/blob/main/LICENSE) and [NOTICE](https://github.com/Sandloom-dev/sandloom/blob/main/NOTICE).
@@ -0,0 +1,45 @@
1
+ # sandloom-standard
2
+
3
+ **The standard Sandloom composition.**
4
+
5
+ The composition root that every process of a standard Sandloom deployment
6
+ boots: the API, the Celery worker and beat, `sandloom migrate` and the operator
7
+ commands. It composes the module distributions installed beside it, so a
8
+ deployment that installs identity, tenancy and billing serves all three from
9
+ one root.
10
+
11
+ Part of [Sandloom](https://github.com/Sandloom-dev/sandloom), the Python backend
12
+ framework for AI-driven development.
13
+
14
+ ## Install
15
+
16
+ ```bash
17
+ python -m pip install --pre "sandloom[standard]"
18
+ ```
19
+
20
+ `sandloom[standard]` installs this distribution with Redis, Celery and the
21
+ standard modules. Point every process at the root:
22
+
23
+ ```bash
24
+ SANDLOOM_COMPOSITION_ROOT=sandloom_standard.main
25
+ gunicorn -c python:sandloom.core.cli.gunicorn_conf sandloom_standard.main:app
26
+ ```
27
+
28
+ The Sandloom image and the shipped compose profiles set it already.
29
+ `SANDLOOM_MODULES` still selects the modules a process loads. The kernel's
30
+ `sandloom.main` stays the lean root: installed modules, nothing else. An
31
+ application made with `sandloom new` keeps its own `<app>.asgi` root and does
32
+ not need this distribution.
33
+
34
+ This is alpha software. Review the compatibility policy before upgrading.
35
+
36
+ ## Links
37
+
38
+ - [Source and issue tracker](https://github.com/Sandloom-dev/sandloom)
39
+ - [Documentation](https://sandloom.dev/docs/)
40
+ - [Compatibility policy](https://github.com/Sandloom-dev/sandloom/blob/main/docs/contributing/versioning.md)
41
+
42
+ ## License
43
+
44
+ Apache-2.0. Copyright 2026 Vasyl Cherniavskyi.
45
+ See [LICENSE](https://github.com/Sandloom-dev/sandloom/blob/main/LICENSE) and [NOTICE](https://github.com/Sandloom-dev/sandloom/blob/main/NOTICE).
@@ -0,0 +1,48 @@
1
+ [project]
2
+ name = "sandloom-standard"
3
+ version = "0.7.0a12"
4
+ classifiers = ["Development Status :: 3 - Alpha"]
5
+ description = "The standard Sandloom composition: the composition root that every process of a standard deployment boots."
6
+ readme = "README.md"
7
+ license = "Apache-2.0"
8
+ license-files = ["LICENSE", "NOTICE"]
9
+ authors = [{ name = "Vasyl Cherniavskyi" }]
10
+ requires-python = ">=3.11"
11
+ # The composition root only: it imports the kernel and composes the module
12
+ # distributions installed beside it (entry points), never a module's code.
13
+ # `sandloom[standard]` installs it with the standard modules.
14
+ dependencies = [
15
+ "sandloom>=0.7.0a12,<0.8",
16
+ ]
17
+
18
+ # The root's claim-authority map, read (without building the app) only to
19
+ # name this root in a SANDLOOM-B035 refusal of a root that loads its issuer
20
+ # without a map.
21
+ [project.entry-points."sandloom.composition_roots"]
22
+ "sandloom_standard.main" = "sandloom_standard:STANDARD_CLAIM_AUTHORITIES"
23
+
24
+ [project.urls]
25
+ Homepage = "https://sandloom.dev/"
26
+ Documentation = "https://sandloom.dev/docs/"
27
+ Repository = "https://github.com/Sandloom-dev/sandloom"
28
+ Issues = "https://github.com/Sandloom-dev/sandloom/issues"
29
+ Changelog = "https://github.com/Sandloom-dev/sandloom/blob/main/packages/sandloom-standard/CHANGELOG.md"
30
+
31
+ [build-system]
32
+ requires = [
33
+ "hatchling>=1.27",
34
+ ]
35
+ build-backend = "hatchling.build"
36
+
37
+ # The source lives in this package (src/sandloom_standard), outside the
38
+ # repository's src/ tree: it is no business module and no kernel package.
39
+ [tool.hatch.build.targets.wheel]
40
+ packages = ["sandloom_standard"]
41
+
42
+ [tool.uv]
43
+ cache-keys = [{ file = "pyproject.toml" }, { file = "src/sandloom_standard/**/*" }]
44
+
45
+ # The sdist ships the package at its wheel path (the build hook's sources), not
46
+ # a second copy under src/.
47
+ [tool.hatch.build.targets.sdist]
48
+ exclude = ["/src"]
@@ -0,0 +1,52 @@
1
+ """The standard Sandloom composition (the ``sandloom-standard`` distribution).
2
+
3
+ ``sandloom_standard.main`` is the composition root of the standard deployment
4
+ (ADR-0012 decision 3). Importing this package builds nothing; importing
5
+ ``sandloom_standard.main`` builds the app. It registers no module: it composes
6
+ the module distributions installed beside it.
7
+
8
+ :data:`STANDARD_CLAIM_AUTHORITIES`, the standard root's claim-authority map,
9
+ lives here so it can be read without building the app: the distribution
10
+ registers it under the ``sandloom.composition_roots`` entry point as
11
+ ``sandloom_standard.main``, and a root with no map that loads this map's
12
+ issuer is refused (SANDLOOM-B035) with this root as the hint. The kernel
13
+ names no module or root of its own accord.
14
+
15
+ Billing's keys are declared fail-safe here (``Authority(...,
16
+ fail_safe=True)``, ADR-0014 decision 7) as billing declares them itself: an
17
+ issuer that binds billing remotely ``"critical": false`` (the microservices
18
+ profile) has no other declaration of them, and a billing outage still signs
19
+ a user in.
20
+
21
+ Each authority is declared with its public name and its import path
22
+ (``Authority("identity", module="sandloom_identity")``), so a process of a
23
+ split that does not install a battery still knows the name its contracts are
24
+ served under (``identity.claims.v1``, ``identity.security.v1``): the last
25
+ import segment is not it.
26
+ """
27
+
28
+ from sandloom.sdk.app import Authority # sandloom: advanced composition root
29
+
30
+ #: Identity, the token issuer and the authority of the rights and the
31
+ #: issuer fields.
32
+ _IDENTITY = Authority("identity", module="sandloom_identity")
33
+ #: Tenancy, the authority of ``tenant_ids``.
34
+ _TENANCY = Authority("tenancy", module="sandloom_tenancy")
35
+ #: Billing, the authority of its fail-safe keys.
36
+ _BILLING = Authority("billing", module="sandloom_billing", fail_safe=True)
37
+
38
+ #: The standard batteries' claim authorities and the issuer.
39
+ STANDARD_CLAIM_AUTHORITIES: dict[str, str | Authority] = {
40
+ "issuer": _IDENTITY,
41
+ "roles": _IDENTITY,
42
+ "permissions": _IDENTITY,
43
+ "email": _IDENTITY,
44
+ "email_verified": _IDENTITY,
45
+ "tenant_ids": _TENANCY,
46
+ "subscription_status": _BILLING,
47
+ "plan_code": _BILLING,
48
+ "features": _BILLING,
49
+ "limits": _BILLING,
50
+ }
51
+
52
+ __all__ = ["STANDARD_CLAIM_AUTHORITIES"]
@@ -0,0 +1,58 @@
1
+ """Standard composition root: the kernel app plus every installed module.
2
+
3
+ The root the framework's image, shipped compose profiles, Celery worker and
4
+ beat, ``sandloom migrate`` and the composed operator commands name with
5
+ ``SANDLOOM_COMPOSITION_ROOT=sandloom_standard.main`` (ADR-0012 decision 3), so
6
+ every entry point of a deployment builds the same composition. The kernel's
7
+ own ``sandloom.main`` stays the lean root and names no battery.
8
+
9
+ The composition is the kernel factory with the lean root's default module set
10
+ (:func:`sandloom.local_modules.default_modules`): every installed
11
+ ``sandloom.modules`` entry point (sorted by module name), each required, then
12
+ a framework checkout's ``LOCAL_MODULES``, so both roots compose the same
13
+ modules; ``SANDLOOM_MODULES`` still chooses an explicit subset. ``pip install
14
+ "sandloom[standard]"`` installs identity, tenancy and billing, so
15
+ ``sandloom_standard.main:app`` serves all three.
16
+
17
+ The standard trust map (:data:`STANDARD_CLAIM_AUTHORITIES`, ADR-0012 decision
18
+ 3, ADR-0014): identity issues tokens and is the authority of ``roles``,
19
+ ``permissions``, ``email`` and ``email_verified``; tenancy of ``tenant_ids``;
20
+ billing of ``subscription_status``, ``plan_code``, ``features`` and
21
+ ``limits``. It is passed as ``default_claim_authorities``, so the kernel keeps
22
+ an entry only when its battery is part of the composition (loaded in the
23
+ process, or bound in ``SERVICE_BINDINGS`` through its ``<m>.claims.v1``); a
24
+ key whose battery is left out has no authority (a definite deny). An
25
+ application with its own issuer writes its own map in its own root.
26
+ """
27
+
28
+ from fastapi import FastAPI
29
+
30
+ from sandloom.local_modules import default_modules
31
+ from sandloom.sdk.app import create_app as _create_kernel_app
32
+ from sandloom.sdk.infra import CoreFacade
33
+ from sandloom_standard import STANDARD_CLAIM_AUTHORITIES
34
+
35
+
36
+ def standard_modules() -> list[str]:
37
+ """The default set, the lean root's: installed modules, then LOCAL_MODULES."""
38
+ return default_modules()
39
+
40
+
41
+ def create_app() -> FastAPI:
42
+ """Build the standard app: the kernel factory + the installed modules."""
43
+ return _create_kernel_app(
44
+ default_modules=standard_modules(),
45
+ default_claim_authorities=STANDARD_CLAIM_AUTHORITIES,
46
+ )
47
+
48
+
49
+ app = create_app()
50
+ core: CoreFacade = app.state.core
51
+
52
+ __all__ = [
53
+ "STANDARD_CLAIM_AUTHORITIES",
54
+ "app",
55
+ "core",
56
+ "create_app",
57
+ "standard_modules",
58
+ ]