sceneio 0.2.0__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.
- sceneio-0.2.0/.github/run_sanitized_tests.py +28 -0
- sceneio-0.2.0/.github/workflows/ci.yml +67 -0
- sceneio-0.2.0/.github/workflows/publish.yml +73 -0
- sceneio-0.2.0/.github/workflows/sanitizers.yml +46 -0
- sceneio-0.2.0/.gitignore +8 -0
- sceneio-0.2.0/.python-version +1 -0
- sceneio-0.2.0/CMakeLists.txt +143 -0
- sceneio-0.2.0/LICENSE +201 -0
- sceneio-0.2.0/PKG-INFO +194 -0
- sceneio-0.2.0/README.md +170 -0
- sceneio-0.2.0/bench/BASELINE.md +294 -0
- sceneio-0.2.0/bench/bench_io.py +1542 -0
- sceneio-0.2.0/docs/core_architecture.md +119 -0
- sceneio-0.2.0/docs/coverage_roadmap.md +250 -0
- sceneio-0.2.0/docs/format_coverage.md +133 -0
- sceneio-0.2.0/docs/formats_survey.md +333 -0
- sceneio-0.2.0/docs/io_implementation_plan.md +314 -0
- sceneio-0.2.0/docs/io_optimization_plan.md +397 -0
- sceneio-0.2.0/pyproject.toml +105 -0
- sceneio-0.2.0/src/cpp/codecs/bundler.cpp +567 -0
- sceneio-0.2.0/src/cpp/codecs/colmap.cpp +347 -0
- sceneio-0.2.0/src/cpp/codecs/colmap_txt.cpp +724 -0
- sceneio-0.2.0/src/cpp/codecs/exr.cpp +238 -0
- sceneio-0.2.0/src/cpp/codecs/flo.cpp +197 -0
- sceneio-0.2.0/src/cpp/codecs/hdr.cpp +119 -0
- sceneio-0.2.0/src/cpp/codecs/jpeg.cpp +142 -0
- sceneio-0.2.0/src/cpp/codecs/las.cpp +337 -0
- sceneio-0.2.0/src/cpp/codecs/netpbm.cpp +365 -0
- sceneio-0.2.0/src/cpp/codecs/npy_npz.cpp +595 -0
- sceneio-0.2.0/src/cpp/codecs/nvm.cpp +576 -0
- sceneio-0.2.0/src/cpp/codecs/openmvg.cpp +1359 -0
- sceneio-0.2.0/src/cpp/codecs/pfm.cpp +221 -0
- sceneio-0.2.0/src/cpp/codecs/ply_gaussian.cpp +266 -0
- sceneio-0.2.0/src/cpp/codecs/png.cpp +258 -0
- sceneio-0.2.0/src/cpp/codecs/pose_text.cpp +279 -0
- sceneio-0.2.0/src/cpp/codecs/splat.cpp +136 -0
- sceneio-0.2.0/src/cpp/codecs/spz.cpp +399 -0
- sceneio-0.2.0/src/cpp/codecs/transforms_json.cpp +466 -0
- sceneio-0.2.0/src/cpp/codecs/webp.cpp +284 -0
- sceneio-0.2.0/src/cpp/codecs/xyz.cpp +528 -0
- sceneio-0.2.0/src/cpp/io/common.hpp +535 -0
- sceneio-0.2.0/src/cpp/io/gzip.hpp +56 -0
- sceneio-0.2.0/src/cpp/io/json_metadata_guard.hpp +64 -0
- sceneio-0.2.0/src/cpp/module.cpp +116 -0
- sceneio-0.2.0/src/cpp/records/depth_map.cpp +163 -0
- sceneio-0.2.0/src/cpp/records/depth_map.hpp +64 -0
- sceneio-0.2.0/src/cpp/records/gaussian_cloud.cpp +38 -0
- sceneio-0.2.0/src/cpp/records/gaussian_cloud.hpp +33 -0
- sceneio-0.2.0/src/cpp/records/image.cpp +137 -0
- sceneio-0.2.0/src/cpp/records/image.hpp +49 -0
- sceneio-0.2.0/src/cpp/records/point_cloud.cpp +139 -0
- sceneio-0.2.0/src/cpp/records/point_cloud.hpp +51 -0
- sceneio-0.2.0/src/cpp/records/posed_view_set.cpp +78 -0
- sceneio-0.2.0/src/cpp/records/posed_view_set.hpp +33 -0
- sceneio-0.2.0/src/cpp/records/reconstruction.cpp +55 -0
- sceneio-0.2.0/src/cpp/records/reconstruction.hpp +62 -0
- sceneio-0.2.0/src/cpp/records/tensor_dict.cpp +156 -0
- sceneio-0.2.0/src/cpp/records/tensor_dict.hpp +177 -0
- sceneio-0.2.0/src/cpp/third_party/lodepng/COMMIT.txt +1 -0
- sceneio-0.2.0/src/cpp/third_party/lodepng/lodepng.cpp +7244 -0
- sceneio-0.2.0/src/cpp/third_party/lodepng/lodepng.h +2188 -0
- sceneio-0.2.0/src/cpp/third_party/stb/COMMIT.txt +16 -0
- sceneio-0.2.0/src/cpp/third_party/stb/stb_config.h +19 -0
- sceneio-0.2.0/src/cpp/third_party/stb/stb_image.h +7997 -0
- sceneio-0.2.0/src/cpp/third_party/stb/stb_image_write.h +1728 -0
- sceneio-0.2.0/src/cpp/third_party/stb/stb_impl.cpp +12 -0
- sceneio-0.2.0/src/cpp/third_party/tinyexr/COMMIT.txt +30 -0
- sceneio-0.2.0/src/cpp/third_party/tinyexr/exr_reader.hh +191 -0
- sceneio-0.2.0/src/cpp/third_party/tinyexr/streamreader.hh +171 -0
- sceneio-0.2.0/src/cpp/third_party/tinyexr/tinyexr.h +11746 -0
- sceneio-0.2.0/src/cpp/third_party/tinyexr/tinyexr_impl.cpp +13 -0
- sceneio-0.2.0/src/sceneio/__init__.py +210 -0
- sceneio-0.2.0/src/sceneio/_mapped_array.py +33 -0
- sceneio-0.2.0/src/sceneio/blobstore.py +65 -0
- sceneio-0.2.0/src/sceneio/colmap_db.py +524 -0
- sceneio-0.2.0/src/sceneio/data/__init__.py +84 -0
- sceneio-0.2.0/src/sceneio/data/_validation.py +116 -0
- sceneio-0.2.0/src/sceneio/data/calibration.py +224 -0
- sceneio-0.2.0/src/sceneio/data/dense.py +122 -0
- sceneio-0.2.0/src/sceneio/data/features.py +292 -0
- sceneio-0.2.0/src/sceneio/data/pointcloud.py +89 -0
- sceneio-0.2.0/src/sceneio/data/priors.py +53 -0
- sceneio-0.2.0/src/sceneio/data/transforms.py +228 -0
- sceneio-0.2.0/src/sceneio/data/views.py +190 -0
- sceneio-0.2.0/src/sceneio/errors.py +19 -0
- sceneio-0.2.0/src/sceneio/formats/__init__.py +40 -0
- sceneio-0.2.0/src/sceneio/formats/datatypes.py +115 -0
- sceneio-0.2.0/src/sceneio/formats/registry.py +144 -0
- sceneio-0.2.0/src/sceneio/imagesource.py +46 -0
- sceneio-0.2.0/src/sceneio/io/__init__.py +223 -0
- sceneio-0.2.0/src/sceneio/io/_inspection.py +1104 -0
- sceneio-0.2.0/src/sceneio/io/registry.py +532 -0
- sceneio-0.2.0/src/sceneio/mapping/__init__.py +270 -0
- sceneio-0.2.0/src/sceneio/mapping_input.py +87 -0
- sceneio-0.2.0/src/sceneio/matching/__init__.py +130 -0
- sceneio-0.2.0/src/sceneio/points_binary.py +129 -0
- sceneio-0.2.0/src/sceneio/testing/__init__.py +265 -0
- sceneio-0.2.0/src/sceneio/testing/parity.py +52 -0
- sceneio-0.2.0/tests/codecs/test_bundler.py +705 -0
- sceneio-0.2.0/tests/codecs/test_colmap.py +130 -0
- sceneio-0.2.0/tests/codecs/test_colmap_txt.py +548 -0
- sceneio-0.2.0/tests/codecs/test_exr.py +230 -0
- sceneio-0.2.0/tests/codecs/test_flo.py +276 -0
- sceneio-0.2.0/tests/codecs/test_hdr.py +154 -0
- sceneio-0.2.0/tests/codecs/test_jpeg.py +176 -0
- sceneio-0.2.0/tests/codecs/test_las.py +209 -0
- sceneio-0.2.0/tests/codecs/test_netpbm.py +361 -0
- sceneio-0.2.0/tests/codecs/test_npy_npz.py +548 -0
- sceneio-0.2.0/tests/codecs/test_nvm.py +669 -0
- sceneio-0.2.0/tests/codecs/test_openmvg.py +1194 -0
- sceneio-0.2.0/tests/codecs/test_pfm.py +114 -0
- sceneio-0.2.0/tests/codecs/test_ply.py +110 -0
- sceneio-0.2.0/tests/codecs/test_png.py +271 -0
- sceneio-0.2.0/tests/codecs/test_pose_text.py +458 -0
- sceneio-0.2.0/tests/codecs/test_splat.py +251 -0
- sceneio-0.2.0/tests/codecs/test_spz.py +303 -0
- sceneio-0.2.0/tests/codecs/test_transforms_json.py +477 -0
- sceneio-0.2.0/tests/codecs/test_webp.py +180 -0
- sceneio-0.2.0/tests/codecs/test_xyz.py +590 -0
- sceneio-0.2.0/tests/records/test_depth_map.py +417 -0
- sceneio-0.2.0/tests/records/test_image.py +300 -0
- sceneio-0.2.0/tests/records/test_point_cloud.py +377 -0
- sceneio-0.2.0/tests/records/test_tensor_dict.py +362 -0
- sceneio-0.2.0/tests/test_colmap_db_contract.py +159 -0
- sceneio-0.2.0/tests/test_conformance_kits.py +364 -0
- sceneio-0.2.0/tests/test_contract_surface.py +47 -0
- sceneio-0.2.0/tests/test_data_calibration.py +182 -0
- sceneio-0.2.0/tests/test_data_dense.py +134 -0
- sceneio-0.2.0/tests/test_data_features.py +272 -0
- sceneio-0.2.0/tests/test_data_pointcloud_priors.py +149 -0
- sceneio-0.2.0/tests/test_data_transforms.py +181 -0
- sceneio-0.2.0/tests/test_data_views.py +200 -0
- sceneio-0.2.0/tests/test_formats_datatypes.py +89 -0
- sceneio-0.2.0/tests/test_formats_registry.py +86 -0
- sceneio-0.2.0/tests/test_import_guards.py +147 -0
- sceneio-0.2.0/tests/test_io_api.py +225 -0
- sceneio-0.2.0/tests/test_io_mmap.py +1838 -0
- sceneio-0.2.0/tests/test_io_parallel.py +268 -0
- sceneio-0.2.0/tests/test_io_partial.py +995 -0
- sceneio-0.2.0/tests/test_io_zero_copy.py +416 -0
- sceneio-0.2.0/tests/test_mapping_contracts.py +234 -0
- sceneio-0.2.0/tests/test_mapping_input.py +38 -0
- sceneio-0.2.0/tests/test_matching_contracts.py +46 -0
- sceneio-0.2.0/tests/test_points_binary.py +40 -0
- sceneio-0.2.0/uv.lock +261 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""Run pytest and ask LSan for leaks before CPython's shutdown teardown."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import ctypes
|
|
6
|
+
import gc
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
import pytest
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def main() -> int:
|
|
13
|
+
test_status = int(pytest.main(sys.argv[1:]))
|
|
14
|
+
gc.collect()
|
|
15
|
+
|
|
16
|
+
# CPython and extension modules retain process-lifetime registries that are
|
|
17
|
+
# dismantled after main returns. Checking here avoids those shutdown-only
|
|
18
|
+
# false positives without suppressing allocator or capsule stack frames.
|
|
19
|
+
leak_check = ctypes.CDLL(None).__lsan_do_recoverable_leak_check
|
|
20
|
+
leak_check.restype = ctypes.c_int
|
|
21
|
+
leaks = leak_check()
|
|
22
|
+
if leaks:
|
|
23
|
+
print("LeakSanitizer reported test-lifetime leaks.", file=sys.stderr)
|
|
24
|
+
return test_status or int(bool(leaks))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
if __name__ == "__main__":
|
|
28
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, phase0-nanobind-core]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
13
|
+
cancel-in-progress: true
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
test:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
timeout-minutes: 20
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
- uses: astral-sh/setup-uv@v7
|
|
22
|
+
- name: Install
|
|
23
|
+
# [test] pulls the parity oracles (gsply, pycolmap) so the codec parity
|
|
24
|
+
# suites actually run in CI instead of skipping; builds the _core ext.
|
|
25
|
+
run: |
|
|
26
|
+
uv venv --seed
|
|
27
|
+
uv pip install -e ".[dev,test]"
|
|
28
|
+
- name: Install CPU Torch interop oracle
|
|
29
|
+
# Torch remains test-only and outside SceneIO's extras/runtime surface.
|
|
30
|
+
# One required Linux lane exercises writable DLPack/from_numpy behavior.
|
|
31
|
+
run: uv pip install torch --index https://download.pytorch.org/whl/cpu
|
|
32
|
+
- name: Ruff
|
|
33
|
+
run: .venv/bin/ruff check src tests
|
|
34
|
+
- name: Test
|
|
35
|
+
run: .venv/bin/python -m pytest -q
|
|
36
|
+
- name: Benchmark harness smoke (all 23 codecs)
|
|
37
|
+
run: .venv/bin/python bench/bench_io.py --runs 1 --scale 0.001 --json "${{ runner.temp }}/sceneio-benchmark.json"
|
|
38
|
+
- name: I/O throughput and memory regression guard
|
|
39
|
+
run: .venv/bin/python bench/bench_io.py --runs 5 --require-o4-gains --require-o5-inspect-gains --require-o5-partial-gains --json "${{ runner.temp }}/sceneio-benchmark-guard.json"
|
|
40
|
+
- name: Upload benchmark smoke results
|
|
41
|
+
if: always()
|
|
42
|
+
uses: actions/upload-artifact@v4
|
|
43
|
+
with:
|
|
44
|
+
name: sceneio-benchmark-results
|
|
45
|
+
path: ${{ runner.temp }}/sceneio-benchmark*.json
|
|
46
|
+
|
|
47
|
+
mmap-platform:
|
|
48
|
+
name: mmap (${{ matrix.os }})
|
|
49
|
+
runs-on: ${{ matrix.os }}
|
|
50
|
+
timeout-minutes: 25
|
|
51
|
+
strategy:
|
|
52
|
+
fail-fast: false
|
|
53
|
+
matrix:
|
|
54
|
+
os: [windows-latest, macos-latest]
|
|
55
|
+
steps:
|
|
56
|
+
- uses: actions/checkout@v4
|
|
57
|
+
- uses: astral-sh/setup-uv@v7
|
|
58
|
+
- name: Install
|
|
59
|
+
run: |
|
|
60
|
+
uv venv --seed
|
|
61
|
+
uv pip install -e ".[dev,test]"
|
|
62
|
+
- name: Cross-platform mmap, partial-read, zero-copy, file-sink, and locked-file tests
|
|
63
|
+
run: .venv/Scripts/python.exe -m pytest -q tests/test_io_mmap.py tests/test_io_partial.py tests/test_io_zero_copy.py tests/test_io_parallel.py
|
|
64
|
+
if: runner.os == 'Windows'
|
|
65
|
+
- name: Cross-platform mmap, partial-read, zero-copy, and file-sink tests
|
|
66
|
+
run: .venv/bin/python -m pytest -q tests/test_io_mmap.py tests/test_io_partial.py tests/test_io_zero_copy.py tests/test_io_parallel.py
|
|
67
|
+
if: runner.os != 'Windows'
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
# Compiled sceneio ships as abi3 wheels (one per platform) + an sdist.
|
|
4
|
+
# A `v*.*.*` tag builds and PUBLISHES; a manual run builds only (dry run).
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
tags: ["v*.*.*"]
|
|
8
|
+
workflow_dispatch: {}
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
concurrency:
|
|
14
|
+
group: release-${{ github.ref }}
|
|
15
|
+
cancel-in-progress: false
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
wheels:
|
|
19
|
+
name: wheels (${{ matrix.os }})
|
|
20
|
+
runs-on: ${{ matrix.os }}
|
|
21
|
+
strategy:
|
|
22
|
+
fail-fast: false
|
|
23
|
+
matrix:
|
|
24
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v4
|
|
27
|
+
# Builds cp312 abi3 wheels per [tool.cibuildwheel] and runs the smoke
|
|
28
|
+
# test-command against each. Bump the pin as cibuildwheel releases.
|
|
29
|
+
- name: Build + smoke-test wheels
|
|
30
|
+
uses: pypa/cibuildwheel@v2.21.3
|
|
31
|
+
- uses: actions/upload-artifact@v4
|
|
32
|
+
with:
|
|
33
|
+
name: wheels-${{ matrix.os }}
|
|
34
|
+
path: wheelhouse/*.whl
|
|
35
|
+
|
|
36
|
+
sdist:
|
|
37
|
+
name: sdist
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v4
|
|
41
|
+
- uses: astral-sh/setup-uv@v7
|
|
42
|
+
- run: uv build --sdist
|
|
43
|
+
- uses: actions/upload-artifact@v4
|
|
44
|
+
with:
|
|
45
|
+
name: sdist
|
|
46
|
+
path: dist/*.tar.gz
|
|
47
|
+
|
|
48
|
+
publish:
|
|
49
|
+
name: publish to PyPI
|
|
50
|
+
needs: [wheels, sdist]
|
|
51
|
+
# Only a real tag push publishes; workflow_dispatch stops after the build.
|
|
52
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
|
53
|
+
runs-on: ubuntu-latest
|
|
54
|
+
environment: pypi
|
|
55
|
+
permissions:
|
|
56
|
+
id-token: write
|
|
57
|
+
steps:
|
|
58
|
+
- uses: actions/checkout@v4
|
|
59
|
+
- name: Verify tag matches package version
|
|
60
|
+
run: |
|
|
61
|
+
TAG="${GITHUB_REF#refs/tags/v}"
|
|
62
|
+
VER=$(python3 -c "import tomllib, pathlib; print(tomllib.loads(pathlib.Path('pyproject.toml').read_text())['project']['version'])")
|
|
63
|
+
echo "tag=$TAG pyproject=$VER"
|
|
64
|
+
test "$TAG" = "$VER" || { echo "::error::tag v$TAG != pyproject version $VER"; exit 1; }
|
|
65
|
+
- uses: actions/download-artifact@v4
|
|
66
|
+
with:
|
|
67
|
+
path: dist
|
|
68
|
+
merge-multiple: true
|
|
69
|
+
- name: List artifacts
|
|
70
|
+
run: ls -R dist
|
|
71
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
72
|
+
with:
|
|
73
|
+
packages-dir: dist
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
name: Sanitizers
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, phase0-nanobind-core]
|
|
6
|
+
pull_request:
|
|
7
|
+
schedule:
|
|
8
|
+
- cron: "23 5 * * *"
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: sanitizers-${{ github.ref }}
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
asan-ubsan-lsan:
|
|
20
|
+
name: ASan + UBSan + LSan
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
timeout-minutes: 35
|
|
23
|
+
env:
|
|
24
|
+
CMAKE_ARGS: -DSCENEIO_ENABLE_SANITIZERS=ON
|
|
25
|
+
PYTHONMALLOC: malloc
|
|
26
|
+
ASAN_OPTIONS: detect_leaks=1:leak_check_at_exit=0:check_initialization_order=1:strict_string_checks=1:halt_on_error=1
|
|
27
|
+
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1
|
|
28
|
+
SCENEIO_MMAP_FUZZ_CASES: ${{ github.event_name == 'schedule' && '100' || '3' }}
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v4
|
|
31
|
+
- uses: astral-sh/setup-uv@v7
|
|
32
|
+
- name: Install instrumented extension and test oracles
|
|
33
|
+
run: |
|
|
34
|
+
uv venv --seed
|
|
35
|
+
uv pip install -e ".[dev,test]"
|
|
36
|
+
# gsply's Numba/LLVM JIT and pycolmap's native type registry retain
|
|
37
|
+
# process-lifetime objects that obscure LSan results. Their parity
|
|
38
|
+
# tests remain enabled in normal CI; exclude only those unsanitized
|
|
39
|
+
# external stacks from this memory-safety lane.
|
|
40
|
+
uv pip uninstall gsply numba llvmlite pycolmap
|
|
41
|
+
- name: Run full suite under sanitizers
|
|
42
|
+
run: |
|
|
43
|
+
# The host Python executable does not link libstdc++; preload it after
|
|
44
|
+
# ASan so ASan can install its __cxa_throw interceptor before _core.
|
|
45
|
+
export LD_PRELOAD="$(gcc -print-file-name=libasan.so):$(gcc -print-file-name=libstdc++.so.6)"
|
|
46
|
+
.venv/bin/python .github/run_sanitized_tests.py -q
|
sceneio-0.2.0/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.12
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.15...3.31)
|
|
2
|
+
project(sceneio_core LANGUAGES C CXX)
|
|
3
|
+
|
|
4
|
+
if(NOT CMAKE_CXX_STANDARD)
|
|
5
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
6
|
+
endif()
|
|
7
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
8
|
+
|
|
9
|
+
# Opt-in sanitizer build used by .github/workflows/sanitizers.yml. Defining the
|
|
10
|
+
# flags globally instruments both _core and the vendored C/C++ codec libraries;
|
|
11
|
+
# ASan includes LSan on Linux, while UBSan covers undefined behavior.
|
|
12
|
+
option(SCENEIO_ENABLE_SANITIZERS "Build SceneIO and vendored codecs with ASan/UBSan/LSan" OFF)
|
|
13
|
+
if(SCENEIO_ENABLE_SANITIZERS)
|
|
14
|
+
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
|
|
15
|
+
add_compile_options(-fsanitize=address,undefined -fno-omit-frame-pointer
|
|
16
|
+
-fno-sanitize-recover=all)
|
|
17
|
+
add_link_options(-fsanitize=address,undefined)
|
|
18
|
+
else()
|
|
19
|
+
message(FATAL_ERROR
|
|
20
|
+
"SCENEIO_ENABLE_SANITIZERS supports Linux GCC/Clang (ASan includes LSan)")
|
|
21
|
+
endif()
|
|
22
|
+
endif()
|
|
23
|
+
|
|
24
|
+
# Python (scikit-build-core provides the hints for the target interpreter).
|
|
25
|
+
find_package(Python 3.12 REQUIRED COMPONENTS Interpreter Development.Module)
|
|
26
|
+
find_package(Threads REQUIRED)
|
|
27
|
+
|
|
28
|
+
# Locate the pip-installed nanobind and load its CMake package.
|
|
29
|
+
execute_process(
|
|
30
|
+
COMMAND "${Python_EXECUTABLE}" -m nanobind --cmake_dir
|
|
31
|
+
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
32
|
+
OUTPUT_VARIABLE nanobind_ROOT)
|
|
33
|
+
find_package(nanobind CONFIG REQUIRED)
|
|
34
|
+
|
|
35
|
+
# STABLE_ABI -> a single abi3 wheel across CPython >= 3.12 (D1/D4 in
|
|
36
|
+
# docs/io_implementation_plan.md); NB_STATIC links nanobind statically so the
|
|
37
|
+
# wheel has no extra runtime .so/.dll to ship.
|
|
38
|
+
# miniz (MIT) — gzip inflate/deflate for the SPZ codec. The amalgamated
|
|
39
|
+
# release is just miniz.c + miniz.h; build it as a small static library.
|
|
40
|
+
include(FetchContent)
|
|
41
|
+
FetchContent_Declare(miniz
|
|
42
|
+
URL https://github.com/richgel999/miniz/releases/download/3.0.2/miniz-3.0.2.zip)
|
|
43
|
+
FetchContent_MakeAvailable(miniz)
|
|
44
|
+
add_library(miniz_static STATIC ${miniz_SOURCE_DIR}/miniz.c)
|
|
45
|
+
target_include_directories(miniz_static PUBLIC ${miniz_SOURCE_DIR})
|
|
46
|
+
set_property(TARGET miniz_static PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
47
|
+
|
|
48
|
+
# nlohmann/json (MIT), header-only — for the transforms.json codec.
|
|
49
|
+
FetchContent_Declare(nlohmann_json
|
|
50
|
+
URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
|
|
51
|
+
set(JSON_BuildTests OFF CACHE INTERNAL "")
|
|
52
|
+
set(JSON_Install OFF CACHE INTERNAL "")
|
|
53
|
+
FetchContent_MakeAvailable(nlohmann_json)
|
|
54
|
+
|
|
55
|
+
# zstd (BSD) — for the SPZ v4 (NGSP) container. Build only the static lib.
|
|
56
|
+
set(ZSTD_BUILD_SHARED OFF CACHE BOOL "" FORCE)
|
|
57
|
+
set(ZSTD_BUILD_STATIC ON CACHE BOOL "" FORCE)
|
|
58
|
+
set(ZSTD_BUILD_PROGRAMS OFF CACHE BOOL "" FORCE)
|
|
59
|
+
set(ZSTD_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
|
60
|
+
set(ZSTD_BUILD_CONTRIB OFF CACHE BOOL "" FORCE)
|
|
61
|
+
set(ZSTD_LEGACY_SUPPORT OFF CACHE BOOL "" FORCE)
|
|
62
|
+
FetchContent_Declare(zstd
|
|
63
|
+
URL https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz
|
|
64
|
+
SOURCE_SUBDIR build/cmake)
|
|
65
|
+
FetchContent_MakeAvailable(zstd)
|
|
66
|
+
set_property(TARGET libzstd_static PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
67
|
+
|
|
68
|
+
# fast_float (Apache-2.0 / MIT / BSL, header-only) — portable + fast float
|
|
69
|
+
# parsing for the text codecs. std::from_chars<double> is unavailable on
|
|
70
|
+
# manylinux2014 (GCC 10) and older libc++ (macOS), so the wheels would not
|
|
71
|
+
# build with it; fast_float::from_chars is a drop-in that works on all three.
|
|
72
|
+
FetchContent_Declare(fast_float
|
|
73
|
+
URL https://github.com/fastfloat/fast_float/archive/refs/tags/v6.1.6.tar.gz)
|
|
74
|
+
FetchContent_MakeAvailable(fast_float)
|
|
75
|
+
|
|
76
|
+
# lodepng (zlib license) — PNG codec. Vendored in-repo at
|
|
77
|
+
# src/cpp/third_party/lodepng (COMMIT.txt pins the source); it has its own
|
|
78
|
+
# self-contained inflate/deflate (lodepng_*-prefixed, no miniz interaction), so
|
|
79
|
+
# it builds as a tiny static lib with no external deps. LODEPNG_NO_COMPILE_DISK
|
|
80
|
+
# drops the fopen paths (bytes-only API); hidden visibility keeps its symbols out
|
|
81
|
+
# of _core's export table.
|
|
82
|
+
add_library(lodepng_static STATIC src/cpp/third_party/lodepng/lodepng.cpp)
|
|
83
|
+
target_include_directories(lodepng_static PUBLIC src/cpp/third_party/lodepng)
|
|
84
|
+
target_compile_definitions(lodepng_static PUBLIC LODEPNG_NO_COMPILE_DISK)
|
|
85
|
+
set_property(TARGET lodepng_static PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
86
|
+
set_property(TARGET lodepng_static PROPERTY CXX_VISIBILITY_PRESET hidden)
|
|
87
|
+
|
|
88
|
+
# libwebp (BSD) — WebP codec, built from source (all its command-line tools OFF so
|
|
89
|
+
# only the core encode/decode static libs compile). Link the in-tree `webp` target
|
|
90
|
+
# (NOT `WebP::webp`, which only exists via find_package — the fast_float alias
|
|
91
|
+
# lesson); it pulls in `sharpyuv` itself.
|
|
92
|
+
foreach(_wopt WEBP_BUILD_ANIM_UTILS WEBP_BUILD_CWEBP WEBP_BUILD_DWEBP WEBP_BUILD_GIF2WEBP
|
|
93
|
+
WEBP_BUILD_IMG2WEBP WEBP_BUILD_VWEBP WEBP_BUILD_WEBPINFO WEBP_BUILD_WEBPMUX
|
|
94
|
+
WEBP_BUILD_LIBWEBPMUX WEBP_BUILD_EXTRAS WEBP_BUILD_FUZZTEST)
|
|
95
|
+
set(${_wopt} OFF CACHE BOOL "" FORCE)
|
|
96
|
+
endforeach()
|
|
97
|
+
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE) # static webp linked into _core
|
|
98
|
+
FetchContent_Declare(libwebp
|
|
99
|
+
URL https://github.com/webmproject/libwebp/archive/refs/tags/v1.5.0.tar.gz)
|
|
100
|
+
FetchContent_MakeAvailable(libwebp)
|
|
101
|
+
set_property(TARGET webp PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
102
|
+
set_property(TARGET sharpyuv PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
103
|
+
|
|
104
|
+
nanobind_add_module(_core STABLE_ABI NB_STATIC
|
|
105
|
+
src/cpp/module.cpp
|
|
106
|
+
src/cpp/records/reconstruction.cpp
|
|
107
|
+
src/cpp/records/gaussian_cloud.cpp
|
|
108
|
+
src/cpp/records/posed_view_set.cpp
|
|
109
|
+
src/cpp/records/tensor_dict.cpp
|
|
110
|
+
src/cpp/records/image.cpp
|
|
111
|
+
src/cpp/records/point_cloud.cpp
|
|
112
|
+
src/cpp/records/depth_map.cpp
|
|
113
|
+
src/cpp/codecs/pfm.cpp
|
|
114
|
+
src/cpp/codecs/colmap.cpp
|
|
115
|
+
src/cpp/codecs/ply_gaussian.cpp
|
|
116
|
+
src/cpp/codecs/spz.cpp
|
|
117
|
+
src/cpp/codecs/transforms_json.cpp
|
|
118
|
+
src/cpp/codecs/pose_text.cpp
|
|
119
|
+
src/cpp/codecs/npy_npz.cpp
|
|
120
|
+
src/cpp/codecs/netpbm.cpp
|
|
121
|
+
src/cpp/codecs/colmap_txt.cpp
|
|
122
|
+
src/cpp/codecs/xyz.cpp
|
|
123
|
+
src/cpp/codecs/flo.cpp
|
|
124
|
+
src/cpp/codecs/bundler.cpp
|
|
125
|
+
src/cpp/codecs/nvm.cpp
|
|
126
|
+
src/cpp/codecs/openmvg.cpp
|
|
127
|
+
src/cpp/codecs/splat.cpp
|
|
128
|
+
src/cpp/codecs/png.cpp
|
|
129
|
+
src/cpp/codecs/jpeg.cpp
|
|
130
|
+
src/cpp/codecs/hdr.cpp
|
|
131
|
+
src/cpp/codecs/exr.cpp
|
|
132
|
+
src/cpp/codecs/las.cpp
|
|
133
|
+
src/cpp/codecs/webp.cpp
|
|
134
|
+
src/cpp/third_party/stb/stb_impl.cpp
|
|
135
|
+
src/cpp/third_party/tinyexr/tinyexr_impl.cpp)
|
|
136
|
+
target_include_directories(_core PRIVATE src/cpp ${zstd_SOURCE_DIR}/lib ${fast_float_SOURCE_DIR}/include
|
|
137
|
+
src/cpp/third_party/stb src/cpp/third_party/tinyexr ${libwebp_SOURCE_DIR}
|
|
138
|
+
${libwebp_SOURCE_DIR}/src)
|
|
139
|
+
target_link_libraries(_core PRIVATE miniz_static nlohmann_json::nlohmann_json
|
|
140
|
+
libzstd_static lodepng_static webp Threads::Threads)
|
|
141
|
+
|
|
142
|
+
# Land the extension inside the importable `sceneio` package as sceneio._core.
|
|
143
|
+
install(TARGETS _core LIBRARY DESTINATION sceneio)
|
sceneio-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
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
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 the sfmapi authors
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|