hotframe 0.0.1__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.
Files changed (136) hide show
  1. hotframe-0.0.1/.github/ISSUE_TEMPLATE/bug_report.md +34 -0
  2. hotframe-0.0.1/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
  3. hotframe-0.0.1/.github/PULL_REQUEST_TEMPLATE.md +26 -0
  4. hotframe-0.0.1/.github/dependabot.yml +23 -0
  5. hotframe-0.0.1/.github/workflows/ci.yml +110 -0
  6. hotframe-0.0.1/.github/workflows/docs.yml +51 -0
  7. hotframe-0.0.1/.github/workflows/publish.yml +30 -0
  8. hotframe-0.0.1/.github/workflows/release.yml +95 -0
  9. hotframe-0.0.1/.gitignore +75 -0
  10. hotframe-0.0.1/LICENSE +189 -0
  11. hotframe-0.0.1/PKG-INFO +418 -0
  12. hotframe-0.0.1/README.md +172 -0
  13. hotframe-0.0.1/docs/ARCHITECTURE.md +1126 -0
  14. hotframe-0.0.1/docs/CHANGELOG.md +10 -0
  15. hotframe-0.0.1/docs/CODE_OF_CONDUCT.md +42 -0
  16. hotframe-0.0.1/docs/CONTRIBUTING.md +54 -0
  17. hotframe-0.0.1/docs/SECURITY.md +27 -0
  18. hotframe-0.0.1/logo.png +0 -0
  19. hotframe-0.0.1/pyproject.toml +149 -0
  20. hotframe-0.0.1/src/hotframe/__init__.py +92 -0
  21. hotframe-0.0.1/src/hotframe/apps/__init__.py +48 -0
  22. hotframe-0.0.1/src/hotframe/apps/config.py +307 -0
  23. hotframe-0.0.1/src/hotframe/apps/registry.py +268 -0
  24. hotframe-0.0.1/src/hotframe/apps/service_facade.py +249 -0
  25. hotframe-0.0.1/src/hotframe/asgi.py +10 -0
  26. hotframe-0.0.1/src/hotframe/auth/__init__.py +20 -0
  27. hotframe-0.0.1/src/hotframe/auth/auth.py +117 -0
  28. hotframe-0.0.1/src/hotframe/auth/crypto.py +96 -0
  29. hotframe-0.0.1/src/hotframe/auth/csp.py +57 -0
  30. hotframe-0.0.1/src/hotframe/auth/csrf.py +101 -0
  31. hotframe-0.0.1/src/hotframe/auth/current_user.py +205 -0
  32. hotframe-0.0.1/src/hotframe/auth/jwt.py +124 -0
  33. hotframe-0.0.1/src/hotframe/auth/permissions.py +115 -0
  34. hotframe-0.0.1/src/hotframe/auth/rate_limit.py +186 -0
  35. hotframe-0.0.1/src/hotframe/bootstrap.py +314 -0
  36. hotframe-0.0.1/src/hotframe/config/__init__.py +20 -0
  37. hotframe-0.0.1/src/hotframe/config/database.py +78 -0
  38. hotframe-0.0.1/src/hotframe/config/paths.py +101 -0
  39. hotframe-0.0.1/src/hotframe/config/settings.py +251 -0
  40. hotframe-0.0.1/src/hotframe/db/__init__.py +18 -0
  41. hotframe-0.0.1/src/hotframe/db/singletons.py +49 -0
  42. hotframe-0.0.1/src/hotframe/db/types.py +58 -0
  43. hotframe-0.0.1/src/hotframe/dev/__init__.py +19 -0
  44. hotframe-0.0.1/src/hotframe/dev/autoreload.py +157 -0
  45. hotframe-0.0.1/src/hotframe/discovery/__init__.py +20 -0
  46. hotframe-0.0.1/src/hotframe/discovery/bootstrap.py +110 -0
  47. hotframe-0.0.1/src/hotframe/discovery/conventions.py +90 -0
  48. hotframe-0.0.1/src/hotframe/discovery/scanner.py +274 -0
  49. hotframe-0.0.1/src/hotframe/engine/__init__.py +59 -0
  50. hotframe-0.0.1/src/hotframe/engine/dependency.py +265 -0
  51. hotframe-0.0.1/src/hotframe/engine/import_manager.py +316 -0
  52. hotframe-0.0.1/src/hotframe/engine/lifecycle.py +119 -0
  53. hotframe-0.0.1/src/hotframe/engine/loader.py +581 -0
  54. hotframe-0.0.1/src/hotframe/engine/manager.py +625 -0
  55. hotframe-0.0.1/src/hotframe/engine/models.py +49 -0
  56. hotframe-0.0.1/src/hotframe/engine/module_runtime.py +1381 -0
  57. hotframe-0.0.1/src/hotframe/engine/pipeline.py +264 -0
  58. hotframe-0.0.1/src/hotframe/engine/s3_source.py +309 -0
  59. hotframe-0.0.1/src/hotframe/engine/state.py +174 -0
  60. hotframe-0.0.1/src/hotframe/forms/__init__.py +17 -0
  61. hotframe-0.0.1/src/hotframe/forms/rendering.py +229 -0
  62. hotframe-0.0.1/src/hotframe/management/__init__.py +2 -0
  63. hotframe-0.0.1/src/hotframe/management/cli.py +716 -0
  64. hotframe-0.0.1/src/hotframe/middleware/__init__.py +21 -0
  65. hotframe-0.0.1/src/hotframe/middleware/body_limit.py +48 -0
  66. hotframe-0.0.1/src/hotframe/middleware/csp.py +43 -0
  67. hotframe-0.0.1/src/hotframe/middleware/error_pages.py +120 -0
  68. hotframe-0.0.1/src/hotframe/middleware/htmx.py +56 -0
  69. hotframe-0.0.1/src/hotframe/middleware/htmx_messages.py +84 -0
  70. hotframe-0.0.1/src/hotframe/middleware/i18n_support.py +350 -0
  71. hotframe-0.0.1/src/hotframe/middleware/language.py +149 -0
  72. hotframe-0.0.1/src/hotframe/middleware/module_middleware.py +125 -0
  73. hotframe-0.0.1/src/hotframe/middleware/proxy_fix.py +104 -0
  74. hotframe-0.0.1/src/hotframe/middleware/rate_limit.py +130 -0
  75. hotframe-0.0.1/src/hotframe/middleware/request_id.py +76 -0
  76. hotframe-0.0.1/src/hotframe/middleware/session.py +110 -0
  77. hotframe-0.0.1/src/hotframe/middleware/stack.py +80 -0
  78. hotframe-0.0.1/src/hotframe/middleware/stack_manager.py +187 -0
  79. hotframe-0.0.1/src/hotframe/middleware/timeout.py +52 -0
  80. hotframe-0.0.1/src/hotframe/middleware/trailing_slash.py +55 -0
  81. hotframe-0.0.1/src/hotframe/migrations/__init__.py +19 -0
  82. hotframe-0.0.1/src/hotframe/migrations/multi_namespace.py +132 -0
  83. hotframe-0.0.1/src/hotframe/migrations/runner.py +181 -0
  84. hotframe-0.0.1/src/hotframe/models/__init__.py +2 -0
  85. hotframe-0.0.1/src/hotframe/models/base.py +114 -0
  86. hotframe-0.0.1/src/hotframe/models/mixins.py +69 -0
  87. hotframe-0.0.1/src/hotframe/models/queryset.py +207 -0
  88. hotframe-0.0.1/src/hotframe/orm/__init__.py +21 -0
  89. hotframe-0.0.1/src/hotframe/orm/events.py +310 -0
  90. hotframe-0.0.1/src/hotframe/orm/listeners.py +158 -0
  91. hotframe-0.0.1/src/hotframe/orm/transactions.py +60 -0
  92. hotframe-0.0.1/src/hotframe/repository/__init__.py +1 -0
  93. hotframe-0.0.1/src/hotframe/repository/base.py +177 -0
  94. hotframe-0.0.1/src/hotframe/signals/__init__.py +21 -0
  95. hotframe-0.0.1/src/hotframe/signals/builtins.py +117 -0
  96. hotframe-0.0.1/src/hotframe/signals/catalog.py +216 -0
  97. hotframe-0.0.1/src/hotframe/signals/dispatcher.py +517 -0
  98. hotframe-0.0.1/src/hotframe/signals/hooks.py +352 -0
  99. hotframe-0.0.1/src/hotframe/signals/types.py +207 -0
  100. hotframe-0.0.1/src/hotframe/static/js/hotframe.persist.js +268 -0
  101. hotframe-0.0.1/src/hotframe/static/js/hotframe.realtime.js +323 -0
  102. hotframe-0.0.1/src/hotframe/storage/__init__.py +2 -0
  103. hotframe-0.0.1/src/hotframe/storage/media.py +265 -0
  104. hotframe-0.0.1/src/hotframe/templating/__init__.py +20 -0
  105. hotframe-0.0.1/src/hotframe/templating/alpine_helpers.py +68 -0
  106. hotframe-0.0.1/src/hotframe/templating/engine.py +164 -0
  107. hotframe-0.0.1/src/hotframe/templating/extensions.py +265 -0
  108. hotframe-0.0.1/src/hotframe/templating/frame_extension.py +97 -0
  109. hotframe-0.0.1/src/hotframe/templating/globals.py +111 -0
  110. hotframe-0.0.1/src/hotframe/templating/htmx_helpers.py +158 -0
  111. hotframe-0.0.1/src/hotframe/templating/slots.py +188 -0
  112. hotframe-0.0.1/src/hotframe/testing/__init__.py +173 -0
  113. hotframe-0.0.1/src/hotframe/utils/__init__.py +1 -0
  114. hotframe-0.0.1/src/hotframe/utils/observability_context.py +106 -0
  115. hotframe-0.0.1/src/hotframe/utils/observability_logging.py +149 -0
  116. hotframe-0.0.1/src/hotframe/utils/observability_metrics.py +249 -0
  117. hotframe-0.0.1/src/hotframe/utils/observability_telemetry.py +243 -0
  118. hotframe-0.0.1/src/hotframe/views/__init__.py +23 -0
  119. hotframe-0.0.1/src/hotframe/views/broadcast.py +292 -0
  120. hotframe-0.0.1/src/hotframe/views/responses.py +370 -0
  121. hotframe-0.0.1/src/hotframe/views/streams.py +121 -0
  122. hotframe-0.0.1/tests/__init__.py +0 -0
  123. hotframe-0.0.1/tests/conftest.py +12 -0
  124. hotframe-0.0.1/tests/test_apps.py +47 -0
  125. hotframe-0.0.1/tests/test_auth.py +52 -0
  126. hotframe-0.0.1/tests/test_cli.py +55 -0
  127. hotframe-0.0.1/tests/test_config.py +72 -0
  128. hotframe-0.0.1/tests/test_e2e.py +100 -0
  129. hotframe-0.0.1/tests/test_engine.py +89 -0
  130. hotframe-0.0.1/tests/test_middleware.py +28 -0
  131. hotframe-0.0.1/tests/test_models.py +28 -0
  132. hotframe-0.0.1/tests/test_orm.py +11 -0
  133. hotframe-0.0.1/tests/test_signals.py +121 -0
  134. hotframe-0.0.1/tests/test_templating.py +100 -0
  135. hotframe-0.0.1/tests/test_testing.py +53 -0
  136. hotframe-0.0.1/tests/test_views.py +83 -0
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: Bug report
3
+ about: Reportar un bug reproducible
4
+ labels: bug
5
+ ---
6
+
7
+ ## Descripción
8
+
9
+ <!-- Qué pasa -->
10
+
11
+ ## Pasos para reproducir
12
+
13
+ 1.
14
+ 2.
15
+ 3.
16
+
17
+ ## Comportamiento esperado
18
+
19
+ <!-- Qué debería pasar -->
20
+
21
+ ## Comportamiento real
22
+
23
+ <!-- Qué pasa en lugar -->
24
+
25
+ ## Entorno
26
+
27
+ - `hotframe` version:
28
+ - Python version:
29
+ - OS:
30
+ - Otras libs relevantes:
31
+
32
+ ## Contexto adicional
33
+
34
+ <!-- Logs, tracebacks, capturas -->
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: Feature request
3
+ about: Proponer una mejora
4
+ labels: enhancement
5
+ ---
6
+
7
+ ## Problema
8
+
9
+ <!-- Qué problema resuelve o qué caso de uso cubre -->
10
+
11
+ ## Propuesta
12
+
13
+ <!-- Qué quieres que se haga. Código de ejemplo si ayuda. -->
14
+
15
+ ## Alternativas consideradas
16
+
17
+ <!-- Otras formas de resolver el problema y por qué esta es mejor -->
18
+
19
+ ## Contexto adicional
20
+
21
+ <!-- Enlaces, referencias, capturas -->
@@ -0,0 +1,26 @@
1
+ ## Qué cambia
2
+
3
+ <!-- Descripción breve del cambio -->
4
+
5
+ ## Por qué
6
+
7
+ <!-- Motivación: issue que cierra, contexto, bug que arregla -->
8
+
9
+ Closes #
10
+
11
+ ## Tipo de cambio
12
+
13
+ - [ ] Bug fix (cambio no-breaking que arregla un problema)
14
+ - [ ] Feature (cambio no-breaking que añade funcionalidad)
15
+ - [ ] Breaking change (cambio que rompe compatibilidad)
16
+ - [ ] Docs
17
+ - [ ] Refactor / chore
18
+
19
+ ## Checklist
20
+
21
+ - [ ] He leído [CONTRIBUTING.md](../CONTRIBUTING.md).
22
+ - [ ] Mis commits están firmados con DCO (`git commit -s`).
23
+ - [ ] He añadido tests que cubren mi cambio.
24
+ - [ ] Tests nuevos y existentes pasan localmente.
25
+ - [ ] He actualizado la documentación si aplica.
26
+ - [ ] He añadido una entrada en [CHANGELOG.md](../CHANGELOG.md).
@@ -0,0 +1,23 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ open-pull-requests-limit: 5
8
+ labels:
9
+ - dependencies
10
+ - github-actions
11
+ - package-ecosystem: pip
12
+ directory: /
13
+ schedule:
14
+ interval: weekly
15
+ open-pull-requests-limit: 10
16
+ labels:
17
+ - dependencies
18
+ - python
19
+ groups:
20
+ minor-and-patch:
21
+ update-types:
22
+ - minor
23
+ - patch
@@ -0,0 +1,110 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main, develop]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ concurrency:
13
+ group: ci-${{ github.ref }}
14
+ cancel-in-progress: true
15
+
16
+ jobs:
17
+ lint:
18
+ name: Lint (ruff)
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: actions/setup-python@v5
23
+ with:
24
+ python-version: "3.13"
25
+ cache: pip
26
+ - name: Install dev dependencies
27
+ run: |
28
+ python -m pip install --upgrade pip
29
+ pip install -e ".[dev]"
30
+ - name: Run ruff check
31
+ run: ruff check .
32
+ - name: Run ruff format --check
33
+ run: ruff format --check .
34
+
35
+ test:
36
+ name: Test (Python ${{ matrix.python-version }})
37
+ runs-on: ${{ matrix.os }}
38
+ strategy:
39
+ fail-fast: false
40
+ matrix:
41
+ os: [ubuntu-latest]
42
+ python-version: ["3.12", "3.13"]
43
+ steps:
44
+ - uses: actions/checkout@v4
45
+ - uses: actions/setup-python@v5
46
+ with:
47
+ python-version: ${{ matrix.python-version }}
48
+ cache: pip
49
+ - name: Install
50
+ run: |
51
+ python -m pip install --upgrade pip
52
+ pip install -e ".[dev]"
53
+ - name: Run pytest
54
+ run: pytest -v
55
+ - name: Upload coverage
56
+ if: matrix.python-version == '3.13'
57
+ uses: actions/upload-artifact@v4
58
+ with:
59
+ name: coverage-xml
60
+ path: coverage.xml
61
+
62
+ typecheck:
63
+ name: Type check (mypy)
64
+ runs-on: ubuntu-latest
65
+ steps:
66
+ - uses: actions/checkout@v4
67
+ - uses: actions/setup-python@v5
68
+ with:
69
+ python-version: "3.13"
70
+ cache: pip
71
+ - name: Install
72
+ run: |
73
+ python -m pip install --upgrade pip
74
+ pip install -e ".[dev]"
75
+ - name: Run mypy
76
+ run: mypy src/hotframe
77
+
78
+ import-linter:
79
+ name: Layer contracts (import-linter)
80
+ runs-on: ubuntu-latest
81
+ steps:
82
+ - uses: actions/checkout@v4
83
+ - uses: actions/setup-python@v5
84
+ with:
85
+ python-version: "3.13"
86
+ cache: pip
87
+ - name: Install
88
+ run: |
89
+ python -m pip install --upgrade pip
90
+ pip install -e ".[dev]"
91
+ - name: Run import-linter
92
+ run: lint-imports
93
+
94
+ license-audit:
95
+ name: License audit (no GPL/AGPL)
96
+ runs-on: ubuntu-latest
97
+ steps:
98
+ - uses: actions/checkout@v4
99
+ - uses: actions/setup-python@v5
100
+ with:
101
+ python-version: "3.13"
102
+ cache: pip
103
+ - name: Install
104
+ run: |
105
+ python -m pip install --upgrade pip
106
+ pip install -e .
107
+ pip install pip-licenses
108
+ - name: Audit dependency licenses
109
+ run: |
110
+ pip-licenses --fail-on="GPL;AGPL;LGPL" --format=markdown
@@ -0,0 +1,51 @@
1
+ name: Docs
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - "docs/**"
8
+ - "mkdocs.yml"
9
+ - "src/hotframe/**"
10
+ - ".github/workflows/docs.yml"
11
+ workflow_dispatch:
12
+
13
+ permissions:
14
+ contents: read
15
+ pages: write
16
+ id-token: write
17
+
18
+ concurrency:
19
+ group: pages
20
+ cancel-in-progress: false
21
+
22
+ jobs:
23
+ build:
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ - uses: actions/setup-python@v5
28
+ with:
29
+ python-version: "3.13"
30
+ cache: pip
31
+ - name: Install docs dependencies
32
+ run: |
33
+ python -m pip install --upgrade pip
34
+ pip install -e ".[docs]"
35
+ - name: Build docs
36
+ run: mkdocs build --strict
37
+ - name: Upload artifact
38
+ uses: actions/upload-pages-artifact@v3
39
+ with:
40
+ path: site/
41
+
42
+ deploy:
43
+ needs: build
44
+ runs-on: ubuntu-latest
45
+ environment:
46
+ name: github-pages
47
+ url: ${{ steps.deployment.outputs.page_url }}
48
+ steps:
49
+ - name: Deploy to GitHub Pages
50
+ id: deployment
51
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,30 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ permissions:
8
+ id-token: write
9
+
10
+ jobs:
11
+ publish:
12
+ runs-on: ubuntu-latest
13
+ environment: pypi
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: "3.13"
22
+
23
+ - name: Install build tools
24
+ run: pip install build
25
+
26
+ - name: Build package
27
+ run: python -m build
28
+
29
+ - name: Publish to PyPI
30
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,95 @@
1
+ name: Release to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*.*.*"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build:
13
+ name: Build distributions
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
+ - uses: actions/setup-python@v5
20
+ with:
21
+ python-version: "3.13"
22
+ - name: Install build
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install build
26
+ - name: Build sdist and wheel
27
+ run: python -m build
28
+ - name: Check distributions
29
+ run: |
30
+ pip install twine
31
+ twine check dist/*
32
+ - name: Upload build artifacts
33
+ uses: actions/upload-artifact@v4
34
+ with:
35
+ name: dist
36
+ path: dist/
37
+
38
+ publish-testpypi:
39
+ name: Publish to TestPyPI
40
+ needs: build
41
+ runs-on: ubuntu-latest
42
+ environment:
43
+ name: testpypi
44
+ url: https://test.pypi.org/p/hotframe
45
+ permissions:
46
+ id-token: write
47
+ steps:
48
+ - name: Download dist
49
+ uses: actions/download-artifact@v4
50
+ with:
51
+ name: dist
52
+ path: dist/
53
+ - name: Publish to TestPyPI
54
+ uses: pypa/gh-action-pypi-publish@release/v1
55
+ with:
56
+ repository-url: https://test.pypi.org/legacy/
57
+
58
+ publish-pypi:
59
+ name: Publish to PyPI
60
+ needs: publish-testpypi
61
+ runs-on: ubuntu-latest
62
+ environment:
63
+ name: pypi
64
+ url: https://pypi.org/p/hotframe
65
+ permissions:
66
+ id-token: write
67
+ steps:
68
+ - name: Download dist
69
+ uses: actions/download-artifact@v4
70
+ with:
71
+ name: dist
72
+ path: dist/
73
+ - name: Publish to PyPI
74
+ uses: pypa/gh-action-pypi-publish@release/v1
75
+
76
+ github-release:
77
+ name: Create GitHub Release
78
+ needs: publish-pypi
79
+ runs-on: ubuntu-latest
80
+ permissions:
81
+ contents: write
82
+ steps:
83
+ - uses: actions/checkout@v4
84
+ - name: Download dist
85
+ uses: actions/download-artifact@v4
86
+ with:
87
+ name: dist
88
+ path: dist/
89
+ - name: Create Release
90
+ uses: softprops/action-gh-release@v2
91
+ with:
92
+ files: dist/*
93
+ generate_release_notes: true
94
+ draft: false
95
+ prerelease: ${{ contains(github.ref_name, 'rc') || contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }}
@@ -0,0 +1,75 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Distribution / packaging
7
+ .Python
8
+ build/
9
+ develop-eggs/
10
+ dist/
11
+ downloads/
12
+ eggs/
13
+ .eggs/
14
+ lib/
15
+ lib64/
16
+ parts/
17
+ sdist/
18
+ var/
19
+ wheels/
20
+ share/python-wheels/
21
+ *.egg-info/
22
+ .installed.cfg
23
+ *.egg
24
+ MANIFEST
25
+
26
+ # Unit test / coverage reports
27
+ htmlcov/
28
+ .tox/
29
+ .nox/
30
+ .coverage
31
+ .coverage.*
32
+ .cache
33
+ nosetests.xml
34
+ coverage.xml
35
+ *.cover
36
+ *.py,cover
37
+ .hypothesis/
38
+ .pytest_cache/
39
+ cover/
40
+
41
+ # Virtual environments
42
+ .venv/
43
+ venv/
44
+ ENV/
45
+ env/
46
+ .env
47
+
48
+ # IDE / editor
49
+ .idea/
50
+ .vscode/
51
+ *.swp
52
+ *.swo
53
+ *~
54
+
55
+ # OS
56
+ .DS_Store
57
+ Thumbs.db
58
+
59
+ # MkDocs
60
+ site/
61
+
62
+ # mypy / ruff
63
+ .mypy_cache/
64
+ .ruff_cache/
65
+ .dmypy.json
66
+ dmypy.json
67
+
68
+ # Type checking
69
+ .pyre/
70
+ .pytype/
71
+
72
+ # Secrets
73
+ *.pem
74
+ *.key
75
+ secrets.yaml
hotframe-0.0.1/LICENSE ADDED
@@ -0,0 +1,189 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship made available under
36
+ the License, as indicated by a copyright notice that is included in
37
+ or attached to the work (an example is provided in the Appendix below).
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean, as submitted to the Licensor for inclusion
48
+ in the Work by the copyright owner or by an individual or Legal Entity
49
+ authorized to submit on behalf of the copyright owner. For the purposes
50
+ of this definition, "submitted" means any form of electronic, verbal,
51
+ or written communication sent to the Licensor or its representatives,
52
+ including but not limited to communication on electronic mailing lists,
53
+ source code control systems, and issue tracking systems that are managed
54
+ by, or on behalf of, the Licensor for the purpose of discussing and
55
+ improving the Work, but excluding communication that is conspicuously
56
+ marked or designated in writing by the copyright owner as "Not a
57
+ Contribution."
58
+
59
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
60
+ whom a Contribution has been received by the Licensor and included
61
+ within the Work.
62
+
63
+ 2. Grant of Copyright License. Subject to the terms and conditions of
64
+ this License, each Contributor hereby grants to You a perpetual,
65
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
66
+ copyright license to reproduce, prepare Derivative Works of,
67
+ publicly display, publicly perform, sublicense, and distribute the
68
+ Work and such Derivative Works in Source or Object form.
69
+
70
+ 3. Grant of Patent License. Subject to the terms and conditions of
71
+ this License, each Contributor hereby grants to You a perpetual,
72
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
73
+ (except as stated in this section) patent license to make, have made,
74
+ use, offer to sell, sell, import, and otherwise transfer the Work,
75
+ where such license applies only to those patent claims licensable
76
+ by such Contributor that are necessarily infringed by their
77
+ Contribution(s) alone or by the combination of their Contribution(s)
78
+ with the Work to which such Contribution(s) was submitted. If You
79
+ institute patent litigation against any entity (including a cross-claim
80
+ or counterclaim in a lawsuit) alleging that the Work or any other
81
+ Contribution embodied in the Work constitutes direct or contributory
82
+ patent infringement, then any patent licenses granted to You under
83
+ this License for that Work shall terminate as of the date such
84
+ litigation is filed.
85
+
86
+ 4. Redistribution. You may reproduce and distribute copies of the
87
+ Work or Derivative Works thereof in any medium, with or without
88
+ modifications, and in Source or Object form, provided that You
89
+ meet the following conditions:
90
+
91
+ (a) You must give any other recipients of the Work or Derivative
92
+ Works a copy of this License; and
93
+
94
+ (b) You must cause any modified files to carry prominent notices
95
+ stating that You changed the files; and
96
+
97
+ (c) You must retain, in the Source form of any Derivative Works
98
+ that You distribute, all copyright, patent, trademark, and
99
+ attribution notices from the Source form of the Work,
100
+ excluding those notices that do not pertain to any part of
101
+ the Derivative Works; and
102
+
103
+ (d) If the Work includes a "NOTICE" text file as part of its
104
+ distribution, You must include a readable copy of the
105
+ attribution notices contained within such NOTICE file, in
106
+ at least one of the following places: within a NOTICE text
107
+ file distributed as part of the Derivative Works; within
108
+ the Source form or documentation, if provided along with the
109
+ Derivative Works; or, within a display generated by the
110
+ Derivative Works, if and wherever such third-party notices
111
+ normally appear. The contents of the NOTICE file are for
112
+ informational purposes only and do not modify the License.
113
+ You may add Your own attribution notices within Derivative
114
+ Works that You distribute, alongside or in addition to the
115
+ NOTICE text from the Work, provided that such additional
116
+ attribution notices cannot be construed as modifying the
117
+ License.
118
+
119
+ You may add Your own license statement for Your modifications and
120
+ may provide additional grant of rights to use, copy, modify, merge,
121
+ publish, distribute, sublicense, and/or sell copies of the Work,
122
+ subject to the terms and conditions of this License.
123
+
124
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
125
+ any Contribution intentionally submitted for inclusion in the Work
126
+ by You to the Licensor shall be under the terms and conditions of
127
+ this License, without any additional terms or conditions.
128
+ Notwithstanding the above, nothing herein shall supersede or modify
129
+ the terms of any separate license agreement you may have executed
130
+ with Licensor regarding such Contributions.
131
+
132
+ 6. Trademarks. This License does not grant permission to use the trade
133
+ names, trademarks, service marks, or product names of the Licensor,
134
+ except as required for reasonable and customary use in describing the
135
+ origin of the Work and reproducing the content of the NOTICE file.
136
+
137
+ 7. Disclaimer of Warranty. Unless required by applicable law or
138
+ agreed to in writing, Licensor provides the Work (and each
139
+ Contributor provides its Contributions) on an "AS IS" BASIS,
140
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
141
+ implied, including, without limitation, any warranties or conditions
142
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
143
+ PARTICULAR PURPOSE. You are solely responsible for determining the
144
+ appropriateness of using or reproducing the Work and assume any
145
+ risks associated with Your exercise of permissions under this License.
146
+
147
+ 8. Limitation of Liability. In no event and under no legal theory,
148
+ whether in tort (including negligence), contract, or otherwise,
149
+ unless required by applicable law (such as deliberate and grossly
150
+ negligent acts) or agreed to in writing, shall any Contributor be
151
+ liable to You for damages, including any direct, indirect, special,
152
+ incidental, or exemplary damages of any character arising as a
153
+ result of this License or out of the use or inability to use the
154
+ Work (including but not limited to damages for loss of goodwill,
155
+ work stoppage, computer failure or malfunction, or all other
156
+ commercial damages or losses), even if such Contributor has been
157
+ advised of the possibility of such damages.
158
+
159
+ 9. Accepting Warranty or Additional Liability. While redistributing
160
+ the Work or Derivative Works thereof, You may choose to offer,
161
+ and charge a fee for, acceptance of support, warranty, indemnity,
162
+ or other liability obligations and/or rights consistent with this
163
+ License. However, in accepting such obligations, You may offer only
164
+ conditions that are consistent with this License.
165
+
166
+ END OF TERMS AND CONDITIONS
167
+
168
+ APPENDIX: How to apply the Apache License to your work.
169
+
170
+ To apply the Apache License to your work, attach the following
171
+ boilerplate notice, with the fields enclosed by brackets "[]"
172
+ replaced with your own identifying information. (Don't include
173
+ the brackets!) The text should be enclosed in the appropriate
174
+ comment syntax for the file format in question. It also contains
175
+ double-dash sequences, which browsers may mangle in display:
176
+
177
+ Copyright 2026 ERPlora
178
+
179
+ Licensed under the Apache License, Version 2.0 (the "License");
180
+ you may not use this file except in compliance with the License.
181
+ You may obtain a copy of the License at
182
+
183
+ http://www.apache.org/licenses/LICENSE-2.0
184
+
185
+ Unless required by applicable law or agreed to in writing, software
186
+ distributed under the License is distributed on an "AS IS" BASIS,
187
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
188
+ See the License for the specific language governing permissions and
189
+ limitations under the License.