lorexplore 0.1.0a1__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 (51) hide show
  1. lorexplore-0.1.0a1/.github/dependabot.yml +36 -0
  2. lorexplore-0.1.0a1/.github/workflows/ci.yml +79 -0
  3. lorexplore-0.1.0a1/.github/workflows/release.yml +133 -0
  4. lorexplore-0.1.0a1/.gitignore +231 -0
  5. lorexplore-0.1.0a1/CONTRIBUTING.md +31 -0
  6. lorexplore-0.1.0a1/LICENSE +116 -0
  7. lorexplore-0.1.0a1/NOTICE +8 -0
  8. lorexplore-0.1.0a1/PKG-INFO +227 -0
  9. lorexplore-0.1.0a1/README.md +183 -0
  10. lorexplore-0.1.0a1/SECURITY.md +23 -0
  11. lorexplore-0.1.0a1/cliff.toml +30 -0
  12. lorexplore-0.1.0a1/evals/__init__.py +1 -0
  13. lorexplore-0.1.0a1/evals/tier_a.py +555 -0
  14. lorexplore-0.1.0a1/evals/tier_b/__init__.py +8 -0
  15. lorexplore-0.1.0a1/evals/tier_b/dspy_modules.py +157 -0
  16. lorexplore-0.1.0a1/evals/tier_b/inspect_task.py +82 -0
  17. lorexplore-0.1.0a1/evals/tier_b/metrics.py +333 -0
  18. lorexplore-0.1.0a1/evals/tier_b/run_tier_b.py +242 -0
  19. lorexplore-0.1.0a1/pyproject.toml +156 -0
  20. lorexplore-0.1.0a1/scripts/check_licenses.py +166 -0
  21. lorexplore-0.1.0a1/scripts/compute_next_version.py +305 -0
  22. lorexplore-0.1.0a1/src/lorexplore/__init__.py +32 -0
  23. lorexplore-0.1.0a1/src/lorexplore/cli.py +465 -0
  24. lorexplore-0.1.0a1/src/lorexplore/cli_format.py +212 -0
  25. lorexplore-0.1.0a1/src/lorexplore/docs_miner.py +197 -0
  26. lorexplore-0.1.0a1/src/lorexplore/engine/__init__.py +52 -0
  27. lorexplore-0.1.0a1/src/lorexplore/engine/code_mixin.py +575 -0
  28. lorexplore-0.1.0a1/src/lorexplore/engine/common.py +119 -0
  29. lorexplore-0.1.0a1/src/lorexplore/engine/governance_mixin.py +478 -0
  30. lorexplore-0.1.0a1/src/lorexplore/engine/history_mixin.py +486 -0
  31. lorexplore-0.1.0a1/src/lorexplore/engine/sync_mixin.py +242 -0
  32. lorexplore-0.1.0a1/src/lorexplore/git_miner.py +410 -0
  33. lorexplore-0.1.0a1/src/lorexplore/mcp_server.py +270 -0
  34. lorexplore-0.1.0a1/src/lorexplore/models.py +155 -0
  35. lorexplore-0.1.0a1/src/lorexplore/pagerank.py +180 -0
  36. lorexplore-0.1.0a1/src/lorexplore/parser.py +698 -0
  37. lorexplore-0.1.0a1/src/lorexplore/store/__init__.py +201 -0
  38. lorexplore-0.1.0a1/src/lorexplore/store/code_mixin.py +247 -0
  39. lorexplore-0.1.0a1/src/lorexplore/store/history_mixin.py +363 -0
  40. lorexplore-0.1.0a1/src/lorexplore/store/schema.py +227 -0
  41. lorexplore-0.1.0a1/src/lorexplore/store/search_mixin.py +263 -0
  42. lorexplore-0.1.0a1/src/lorexplore/ts_parser.py +517 -0
  43. lorexplore-0.1.0a1/src/lorexplore/ts_queries.py +256 -0
  44. lorexplore-0.1.0a1/tests/test_engine_branches.py +281 -0
  45. lorexplore-0.1.0a1/tests/test_eval_tier_a.py +332 -0
  46. lorexplore-0.1.0a1/tests/test_eval_tier_b.py +182 -0
  47. lorexplore-0.1.0a1/tests/test_fuzz_hypothesis.py +158 -0
  48. lorexplore-0.1.0a1/tests/test_lorexplore.py +782 -0
  49. lorexplore-0.1.0a1/tests/test_polyglot_treesitter.py +257 -0
  50. lorexplore-0.1.0a1/tests/test_release_versioning.py +160 -0
  51. lorexplore-0.1.0a1/tests/test_unit_coverage.py +483 -0
@@ -0,0 +1,36 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ day: "monday"
8
+ time: "06:00"
9
+ timezone: "UTC"
10
+ commit-message:
11
+ prefix: "chore(deps)"
12
+ groups:
13
+ github-actions:
14
+ patterns:
15
+ - "*"
16
+
17
+ - package-ecosystem: "uv"
18
+ directory: "/"
19
+ schedule:
20
+ interval: "weekly"
21
+ day: "monday"
22
+ time: "06:00"
23
+ timezone: "UTC"
24
+ commit-message:
25
+ prefix: "chore(deps)"
26
+ groups:
27
+ python-runtime-minor-patch:
28
+ dependency-type: "production"
29
+ update-types:
30
+ - "minor"
31
+ - "patch"
32
+ python-dev-minor-patch:
33
+ dependency-type: "development"
34
+ update-types:
35
+ - "minor"
36
+ - "patch"
@@ -0,0 +1,79 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ schedule:
8
+ - cron: "0 6 * * 1"
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ static-and-compliance:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18
+ - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
19
+ with:
20
+ enable-cache: true
21
+ - run: uv sync --group dev
22
+ - name: Ruff lint, format & cyclomatic complexity check
23
+ run: |
24
+ uv run ruff check src tests evals scripts
25
+ uv run ruff format --check src tests evals scripts
26
+ - name: Cognitive complexity scan (complexipy <= 15)
27
+ run: uv run complexipy
28
+ - name: Mypy strict type check
29
+ run: uv run mypy --config-file pyproject.toml -n auto src evals scripts
30
+ - name: Bandit SAST scan
31
+ run: uv run bandit -c pyproject.toml -r src scripts -q
32
+ - name: Runtime permissive license allowlist
33
+ run: uv run python scripts/check_licenses.py
34
+ - name: Export runtime requirements for CVE audit
35
+ run: uv pip compile pyproject.toml -o requirements-audit.txt
36
+ - name: Dependency CVE audit (pip-audit)
37
+ uses: pypa/gh-action-pip-audit@1220774d901786e6f652ae159f7b6bc8fea6d266 # v1.1.0
38
+ with:
39
+ inputs: requirements-audit.txt
40
+
41
+ typecheck-ty-advisory:
42
+ runs-on: ubuntu-latest
43
+ continue-on-error: true
44
+ steps:
45
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
46
+ - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
47
+ - run: uv sync --group dev
48
+ - name: Advisory Astral ty check (beta)
49
+ run: uvx ty check src
50
+
51
+ test-matrix:
52
+ strategy:
53
+ fail-fast: false
54
+ matrix:
55
+ os: [ubuntu-latest, macos-latest, windows-latest]
56
+ python-version: ["3.11", "3.13", "3.14"]
57
+ runs-on: ${{ matrix.os }}
58
+ steps:
59
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
60
+ - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
61
+ with:
62
+ python-version: ${{ matrix.python-version }}
63
+ enable-cache: true
64
+ - run: uv sync --group dev
65
+ - name: Run unit, polyglot, Tier A/B & Hypothesis fuzz tests
66
+ run: uv run pytest --cov=lorexplore --cov-branch --cov-fail-under=90 tests/
67
+
68
+ perf-and-mem-gate:
69
+ runs-on: ubuntu-latest
70
+ steps:
71
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
72
+ - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
73
+ with:
74
+ enable-cache: true
75
+ - run: uv sync --group dev
76
+ - name: Tier A latency (<=50 ms p95) & Peak RSS (<=150 MB) gate
77
+ run: uv run pytest -v tests/test_eval_tier_a.py
78
+ - name: CLI cold-start import hygiene check
79
+ run: uv run pytest -v -k "lazy_group or defers_treesitter" tests/
@@ -0,0 +1,133 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+ inputs:
9
+ promote:
10
+ description: "Release channel or explicit SemVer bump"
11
+ required: true
12
+ default: "auto"
13
+ type: choice
14
+ options:
15
+ - auto
16
+ - alpha
17
+ - beta
18
+ - rc
19
+ - stable
20
+ - patch
21
+ - minor
22
+ - major
23
+
24
+ concurrency:
25
+ group: release-main
26
+ cancel-in-progress: false
27
+
28
+ permissions:
29
+ contents: read
30
+
31
+ jobs:
32
+ plan-and-build:
33
+ runs-on: ubuntu-latest
34
+ outputs:
35
+ should_release: ${{ steps.plan.outputs.should_release }}
36
+ next_tag: ${{ steps.plan.outputs.next_tag }}
37
+ next_version: ${{ steps.plan.outputs.next_version }}
38
+ prerelease: ${{ steps.plan.outputs.prerelease }}
39
+ steps:
40
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
41
+ with:
42
+ fetch-depth: 0
43
+ - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
44
+ - name: Compute next release version
45
+ id: plan
46
+ env:
47
+ PROMOTE_MODE: ${{ inputs.promote || 'auto' }}
48
+ run: |
49
+ uv run --no-project python scripts/compute_next_version.py \
50
+ --promote "${PROMOTE_MODE}" \
51
+ --github-output "${GITHUB_OUTPUT}"
52
+ - name: Tag locally, build wheel & sdist, and smoke-test via uvx
53
+ if: steps.plan.outputs.should_release == 'true'
54
+ env:
55
+ NEXT_TAG: ${{ steps.plan.outputs.next_tag }}
56
+ NEXT_VERSION: ${{ steps.plan.outputs.next_version }}
57
+ run: |
58
+ git tag "${NEXT_TAG}"
59
+ uv build
60
+ VERSION_OUT="$(uvx --from dist/*.whl lorexplore --version)"
61
+ echo "${VERSION_OUT}"
62
+ echo "${VERSION_OUT}" | grep -Fq "${NEXT_VERSION}"
63
+ - name: Generate CycloneDX SBOM from runtime environment
64
+ if: steps.plan.outputs.should_release == 'true'
65
+ run: |
66
+ uv sync --no-dev
67
+ uvx --from cyclonedx-bom cyclonedx-py environment .venv/bin/python --of JSON --output-file sbom.json
68
+ - name: Generate release notes via git-cliff
69
+ if: steps.plan.outputs.should_release == 'true'
70
+ env:
71
+ NEXT_TAG: ${{ steps.plan.outputs.next_tag }}
72
+ run: |
73
+ uvx git-cliff --latest --strip header -o release_notes.md
74
+ if [ ! -s release_notes.md ]; then
75
+ printf 'Release %s\n' "${NEXT_TAG}" > release_notes.md
76
+ fi
77
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
78
+ if: steps.plan.outputs.should_release == 'true'
79
+ with:
80
+ name: release-dist
81
+ path: |
82
+ dist/*
83
+ sbom.json
84
+ release_notes.md
85
+
86
+ publish-pypi:
87
+ needs: plan-and-build
88
+ if: needs.plan-and-build.outputs.should_release == 'true'
89
+ runs-on: ubuntu-latest
90
+ environment:
91
+ name: pypi
92
+ url: https://pypi.org/p/lorexplore
93
+ permissions:
94
+ id-token: write
95
+ steps:
96
+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
97
+ with:
98
+ name: release-dist
99
+ path: dist-bundle
100
+ - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
101
+ - name: Publish via PyPI OIDC Trusted Publishing
102
+ run: uv publish dist-bundle/dist/*
103
+
104
+ github-release:
105
+ needs:
106
+ - plan-and-build
107
+ - publish-pypi
108
+ if: needs.plan-and-build.outputs.should_release == 'true'
109
+ runs-on: ubuntu-latest
110
+ permissions:
111
+ contents: write
112
+ steps:
113
+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
114
+ with:
115
+ name: release-dist
116
+ path: dist-bundle
117
+ - name: Create GitHub Release & tag with SBOM and notes
118
+ env:
119
+ GH_TOKEN: ${{ github.token }}
120
+ NEXT_TAG: ${{ needs.plan-and-build.outputs.next_tag }}
121
+ IS_PRERELEASE: ${{ needs.plan-and-build.outputs.prerelease }}
122
+ run: |
123
+ PRERELEASE_FLAG=""
124
+ if [ "${IS_PRERELEASE}" = "true" ]; then
125
+ PRERELEASE_FLAG="--prerelease"
126
+ fi
127
+ gh release create "${NEXT_TAG}" \
128
+ --repo "${GITHUB_REPOSITORY}" \
129
+ --target "${GITHUB_SHA}" \
130
+ dist-bundle/dist/* dist-bundle/sbom.json \
131
+ ${PRERELEASE_FLAG} \
132
+ --title "${NEXT_TAG}" \
133
+ --notes-file dist-bundle/release_notes.md
@@ -0,0 +1,231 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ # Pipfile.lock
97
+
98
+ # uv
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ # poetry.lock
110
+ # poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ # pdm.lock
117
+ # pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ # pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi/*
127
+ !.pixi/config.toml
128
+
129
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130
+ __pypackages__/
131
+
132
+ # Celery stuff
133
+ celerybeat-schedule*
134
+ celerybeat.pid
135
+
136
+ # Redis
137
+ *.rdb
138
+ *.aof
139
+ *.pid
140
+
141
+ # RabbitMQ
142
+ mnesia/
143
+ rabbitmq/
144
+ rabbitmq-data/
145
+
146
+ # ActiveMQ
147
+ activemq-data/
148
+
149
+ # SageMath parsed files
150
+ *.sage.py
151
+
152
+ # Environments
153
+ .env
154
+ .envrc
155
+ .venv
156
+ env/
157
+ venv/
158
+ ENV/
159
+ env.bak/
160
+ venv.bak/
161
+
162
+ # Conda environments
163
+ conda-meta/
164
+
165
+ # Spyder project settings
166
+ .spyderproject
167
+ .spyproject
168
+
169
+ # Rope project settings
170
+ .ropeproject
171
+
172
+ # mkdocs/Zensical documentation
173
+ /site
174
+
175
+ # mypy
176
+ .mypy_cache/
177
+ .dmypy.json
178
+ dmypy.json
179
+
180
+ # Pyre type checker
181
+ .pyre/
182
+
183
+ # pytype static type analyzer
184
+ .pytype/
185
+
186
+ # Cython debug symbols
187
+ cython_debug/
188
+
189
+ # PyCharm
190
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
191
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
192
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
193
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
194
+ # .idea/
195
+
196
+ # Abstra
197
+ # Abstra is an AI-powered process automation framework.
198
+ # Ignore directories containing user credentials, local state, and settings.
199
+ # Learn more at https://abstra.io/docs
200
+ .abstra/
201
+
202
+ # Visual Studio Code
203
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
204
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
205
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
206
+ # could uncomment the following to ignore the entire vscode folder
207
+ # .vscode/
208
+ # Temporary file for partial code execution
209
+ tempCodeRunnerFile.py
210
+
211
+ # Ruff stuff:
212
+ .ruff_cache/
213
+
214
+ # PyPI configuration file
215
+ .pypirc
216
+
217
+ # Marimo
218
+ marimo/_static/
219
+ marimo/_lsp/
220
+ __marimo__/
221
+
222
+ # Streamlit
223
+ .streamlit/secrets.toml
224
+
225
+ # lorexplore local index & eval artifacts
226
+ *.db
227
+ *.db-wal
228
+ *.db-shm
229
+ sbom.json
230
+ release_notes.md
231
+ requirements-audit.txt
@@ -0,0 +1,31 @@
1
+ # Contributing to lorexplore
2
+
3
+ ## Local Setup
4
+
5
+ ```bash
6
+ uv sync --group dev
7
+ uv run lxp sync
8
+ uv run lxp install-hooks
9
+ ```
10
+
11
+ ## Verification Gates
12
+
13
+ Every pull request must pass:
14
+
15
+ ```bash
16
+ uv run ruff check src tests evals scripts
17
+ uv run ruff format --check src tests evals scripts
18
+ uv run complexipy
19
+ uv run mypy --config-file pyproject.toml -n auto src evals scripts
20
+ uv run bandit -c pyproject.toml -r src scripts -q
21
+ uv run python scripts/check_licenses.py
22
+ uv run pytest --cov=lorexplore --cov-branch --cov-fail-under=90 tests/
23
+ ```
24
+
25
+ ## Conventions
26
+
27
+ - **Commits:** Use [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, `docs:`, `refactor:`, `test:`, `chore:`). Include Lore trailers (`Directive:`, `Rejected:`) for architectural decisions.
28
+ - **Dependencies:** Core runtime dependencies must use strictly permissive OSI licenses (`MIT`, `Apache-2.0`, `BSD-2-Clause`, `BSD-3-Clause`, `ISC`, `PSF-2.0`). `scripts/check_licenses.py` enforces this in CI.
29
+ - **Merges:** Prefer standard merge commits over squash merges to preserve commit-level development archaeology.
30
+ - **Releases:** Merges to `main` containing `feat:`, `fix:`, `perf:`, or breaking (`!:`) commits automatically build, publish to PyPI via OIDC Trusted Publishing, and tag a GitHub Release (`docs:`, `test:`, `chore:`, `ci:` merges skip publishing). Use the **Release** workflow's manual dispatch (`alpha` / `beta` / `rc` / `stable` / `major`) to promote channels.
31
+ - **Licensing:** Contributions are licensed under `Apache-2.0`.
@@ -0,0 +1,116 @@
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, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
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.
43
+
44
+ "Contribution" shall mean any work of authorship, including
45
+ the original version of the Work and any modifications or additions
46
+ to that Work or Derivative Works thereof, that is intentionally
47
+ submitted to Licensor for inclusion in the Work by the copyright owner
48
+ or by an individual or Legal Entity authorized to submit on behalf of
49
+ the copyright owner.
50
+
51
+ "Contributor" shall mean Licensor and any individual or Legal Entity
52
+ on behalf of whom a Contribution has been received by Licensor and
53
+ subsequently incorporated within the Work.
54
+
55
+ 2. Grant of Copyright License. Subject to the terms and conditions of
56
+ this License, each Contributor hereby grants to You a perpetual,
57
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
58
+ copyright license to reproduce, prepare Derivative Works of,
59
+ publicly display, publicly perform, sublicense, and distribute the
60
+ Work and such Derivative Works in Source or Object form.
61
+
62
+ 3. Grant of Patent License. Subject to the terms and conditions of
63
+ this License, each Contributor hereby grants to You a perpetual,
64
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
65
+ (except as stated in this section) patent license to make, have made,
66
+ use, offer to sell, sell, import, and otherwise transfer the Work.
67
+
68
+ 4. Redistribution. You may reproduce and distribute copies of the
69
+ Work or Derivative Works thereof in any medium, with or without
70
+ modifications, and in Source or Object form, provided that You
71
+ meet the following conditions:
72
+ (a) You must give any other recipients of the Work or Derivative Works
73
+ a copy of this License; and
74
+ (b) You must cause any modified files to carry prominent notices
75
+ stating that You changed the files; and
76
+ (c) You must retain, in the Source form of any Derivative Works
77
+ that You distribute, all copyright, patent, trademark, and
78
+ attribution notices from the Source form of the Work; and
79
+ (d) If the Work includes a "NOTICE" text file as part of its
80
+ distribution, then any Derivative Works that You distribute must
81
+ include a readable copy of the attribution notices contained
82
+ within such NOTICE file.
83
+
84
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
85
+ any Contribution intentionally submitted for inclusion in the Work
86
+ by You to the Licensor shall be under the terms and conditions of
87
+ this License, without any additional terms or conditions.
88
+
89
+ 6. Trademarks. This License does not grant permission to use the trade
90
+ names, trademarks, service marks, or product names of the Licensor.
91
+
92
+ 7. Disclaimer of Warranty. Unless required by applicable law or
93
+ agreed to in writing, Licensor provides the Work on an "AS IS" BASIS,
94
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
95
+ implied, including, without limitation, any warranties or conditions
96
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A
97
+ PARTICULAR PURPOSE.
98
+
99
+ 8. Limitation of Liability. In no event and under no legal theory,
100
+ whether in tort (including negligence), contract, or otherwise,
101
+ shall any Contributor be liable to You for damages arising as a
102
+ result of this License or out of the use or directly or indirectly
103
+ from the inability to use the Work.
104
+
105
+ 9. Accepting Warranty or Additional Liability. While redistributing
106
+ the Work or Derivative Works thereof, You may choose to offer,
107
+ and charge a fee for, acceptance of support, warranty, indemnity,
108
+ or other liability obligations consistent with this License.
109
+
110
+ Copyright 2026 Andrew Burnett
111
+
112
+ Licensed under the Apache License, Version 2.0 (the "License");
113
+ you may not use this file except in compliance with the License.
114
+ You may obtain a copy of the License at
115
+
116
+ http://www.apache.org/licenses/LICENSE-2.0
@@ -0,0 +1,8 @@
1
+ lorexplore
2
+ Copyright 2026 Andrew Burnett
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this software except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0