titiler.application 0.24.2__tar.gz → 0.26.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.
@@ -0,0 +1,111 @@
1
+ node_modules
2
+
3
+ # Lambda deployment package
4
+ package.zip
5
+
6
+ # Byte-compiled / optimized / DLL files
7
+ __pycache__/
8
+ *.py[cod]
9
+ *$py.class
10
+
11
+ # C extensions
12
+ *.so
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ env/
17
+ build/
18
+ develop-eggs/
19
+ dist/
20
+ downloads/
21
+ eggs/
22
+ .eggs/
23
+ lib/
24
+ lib64/
25
+ parts/
26
+ sdist/
27
+ var/
28
+ wheels/
29
+ *.egg-info/
30
+ .installed.cfg
31
+ *.egg
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ .hypothesis/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+
62
+ # Flask stuff:
63
+ instance/
64
+ .webassets-cache
65
+
66
+ # Scrapy stuff:
67
+ .scrapy
68
+
69
+ # Sphinx documentation
70
+ docs/_build/
71
+
72
+ # PyBuilder
73
+ target/
74
+
75
+ # Jupyter Notebook
76
+ .ipynb_checkpoints
77
+
78
+ # pyenv
79
+ .python-version
80
+
81
+ # celery beat schedule file
82
+ celerybeat-schedule
83
+
84
+ # SageMath parsed files
85
+ *.sage.py
86
+
87
+ # dotenv
88
+ .env
89
+
90
+ # virtualenv
91
+ .venv
92
+ venv/
93
+ ENV/
94
+
95
+ # Spyder project settings
96
+ .spyderproject
97
+ .spyproject
98
+
99
+ # Rope project settings
100
+ .ropeproject
101
+
102
+ # mkdocs documentation
103
+ /site
104
+
105
+ # mypy
106
+ .mypy_cache/
107
+
108
+ cdk.out/
109
+ deployment/k8s/titiler/values-test.yaml
110
+
111
+ .vscode/
@@ -1,39 +1,32 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: titiler-application
3
- Version: 0.24.2
3
+ Version: 0.26.0
4
4
  Summary: A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL.
5
- Keywords: COG,STAC,MosaicJSON,Fastapi,Dynamic tile server,GDAL,Rasterio,OGC
6
- Author-Email: Vincent Sarago <vincent@developmentseed.com>
5
+ Project-URL: Homepage, https://developmentseed.org/titiler/
6
+ Project-URL: Documentation, https://developmentseed.org/titiler/
7
+ Project-URL: Issues, https://github.com/developmentseed/titiler/issues
8
+ Project-URL: Source, https://github.com/developmentseed/titiler
9
+ Project-URL: Changelog, https://developmentseed.org/titiler/release-notes/
10
+ Author-email: Vincent Sarago <vincent@developmentseed.com>
7
11
  License: MIT
12
+ License-File: LICENSE
13
+ Keywords: COG,Dynamic tile server,Fastapi,GDAL,MosaicJSON,OGC,Rasterio,STAC
8
14
  Classifier: Intended Audience :: Information Technology
9
15
  Classifier: Intended Audience :: Science/Research
10
16
  Classifier: License :: OSI Approved :: MIT License
11
17
  Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.10
13
18
  Classifier: Programming Language :: Python :: 3.11
14
19
  Classifier: Programming Language :: Python :: 3.12
15
20
  Classifier: Programming Language :: Python :: 3.13
16
21
  Classifier: Topic :: Scientific/Engineering :: GIS
17
- Project-URL: Homepage, https://developmentseed.org/titiler/
18
- Project-URL: Documentation, https://developmentseed.org/titiler/
19
- Project-URL: Issues, https://github.com/developmentseed/titiler/issues
20
- Project-URL: Source, https://github.com/developmentseed/titiler
21
- Project-URL: Changelog, https://developmentseed.org/titiler/release-notes/
22
- Requires-Python: >=3.10
23
- Requires-Dist: titiler.core[telemetry]==0.24.2
24
- Requires-Dist: titiler.extensions[cogeo,stac]==0.24.2
25
- Requires-Dist: titiler.mosaic==0.24.2
26
- Requires-Dist: starlette-cramjam<0.6,>=0.4
22
+ Requires-Python: >=3.11
27
23
  Requires-Dist: pydantic-settings~=2.0
28
- Provides-Extra: test
29
- Requires-Dist: pytest; extra == "test"
30
- Requires-Dist: pytest-cov; extra == "test"
31
- Requires-Dist: pytest-asyncio; extra == "test"
32
- Requires-Dist: httpx; extra == "test"
33
- Requires-Dist: brotlipy; extra == "test"
34
- Requires-Dist: boto3; extra == "test"
24
+ Requires-Dist: starlette-cramjam<0.6,>=0.4
25
+ Requires-Dist: titiler-core[telemetry]==0.26.0
26
+ Requires-Dist: titiler-extensions[cogeo,stac]==0.26.0
27
+ Requires-Dist: titiler-mosaic==0.26.0
35
28
  Provides-Extra: server
36
- Requires-Dist: uvicorn[standard]>=0.12.0; extra == "server"
29
+ Requires-Dist: uvicorn[standard]>=0.12.0; extra == 'server'
37
30
  Description-Content-Type: text/markdown
38
31
 
39
32
  ## titiler.application
@@ -2,10 +2,11 @@
2
2
  name = "titiler-application"
3
3
  description = "A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL."
4
4
  readme = "README.md"
5
- requires-python = ">=3.10"
5
+ requires-python = ">=3.11"
6
6
  authors = [
7
- { name = "Vincent Sarago", email = "vincent@developmentseed.com" },
7
+ {name = "Vincent Sarago", email = "vincent@developmentseed.com"},
8
8
  ]
9
+ license = {text = "MIT"}
9
10
  keywords = [
10
11
  "COG",
11
12
  "STAC",
@@ -21,26 +22,26 @@ classifiers = [
21
22
  "Intended Audience :: Science/Research",
22
23
  "License :: OSI Approved :: MIT License",
23
24
  "Programming Language :: Python :: 3",
24
- "Programming Language :: Python :: 3.10",
25
25
  "Programming Language :: Python :: 3.11",
26
26
  "Programming Language :: Python :: 3.12",
27
27
  "Programming Language :: Python :: 3.13",
28
28
  "Topic :: Scientific/Engineering :: GIS",
29
29
  ]
30
- dynamic = []
30
+ dynamic = ["version"]
31
31
  dependencies = [
32
- "titiler.core[telemetry]==0.24.2",
33
- "titiler.extensions[cogeo,stac]==0.24.2",
34
- "titiler.mosaic==0.24.2",
32
+ "titiler-core[telemetry]==0.26.0",
33
+ "titiler-extensions[cogeo,stac]==0.26.0",
34
+ "titiler-mosaic==0.26.0",
35
35
  "starlette-cramjam>=0.4,<0.6",
36
36
  "pydantic-settings~=2.0",
37
37
  ]
38
- version = "0.24.2"
39
-
40
- [project.license]
41
- text = "MIT"
42
38
 
43
39
  [project.optional-dependencies]
40
+ server = [
41
+ "uvicorn[standard]>=0.12.0",
42
+ ]
43
+
44
+ [dependency-groups]
44
45
  test = [
45
46
  "pytest",
46
47
  "pytest-cov",
@@ -49,9 +50,6 @@ test = [
49
50
  "brotlipy",
50
51
  "boto3",
51
52
  ]
52
- server = [
53
- "uvicorn[standard]>=0.12.0",
54
- ]
55
53
 
56
54
  [project.urls]
57
55
  Homepage = "https://developmentseed.org/titiler/"
@@ -60,22 +58,15 @@ Issues = "https://github.com/developmentseed/titiler/issues"
60
58
  Source = "https://github.com/developmentseed/titiler"
61
59
  Changelog = "https://developmentseed.org/titiler/release-notes/"
62
60
 
63
- [build-system]
64
- requires = [
65
- "pdm-backend",
66
- ]
67
- build-backend = "pdm.backend"
68
-
69
- [tool.pdm.version]
70
- source = "file"
61
+ [tool.hatch.version]
71
62
  path = "titiler/application/__init__.py"
72
63
 
73
- [tool.pdm.build]
74
- includes = [
75
- "titiler/application",
76
- ]
77
- excludes = [
78
- "tests/",
79
- "**/.mypy_cache",
80
- "**/.DS_Store",
81
- ]
64
+ [tool.hatch.build.targets.sdist]
65
+ only-include = ["titiler"]
66
+
67
+ [tool.hatch.build.targets.wheel]
68
+ only-include = ["titiler"]
69
+
70
+ [build-system]
71
+ requires = ["hatchling"]
72
+ build-backend = "hatchling.build"
@@ -1,3 +1,3 @@
1
1
  """titiler.application"""
2
2
 
3
- __version__ = "0.24.2"
3
+ __version__ = "0.26.0"
@@ -42,6 +42,7 @@ from titiler.extensions import (
42
42
  stacViewerExtension,
43
43
  )
44
44
  from titiler.mosaic.errors import MOSAIC_STATUS_CODES
45
+ from titiler.mosaic.extensions import MosaicJSONExtension
45
46
  from titiler.mosaic.factory import MosaicTilerFactory
46
47
 
47
48
  logging.getLogger("botocore.credentials").disabled = True
@@ -170,6 +171,9 @@ if not api_settings.disable_stac:
170
171
  if not api_settings.disable_mosaic:
171
172
  mosaic = MosaicTilerFactory(
172
173
  router_prefix="/mosaicjson",
174
+ extensions=[
175
+ MosaicJSONExtension(),
176
+ ],
173
177
  enable_telemetry=api_settings.telemetry_enabled,
174
178
  templates=titiler_templates,
175
179
  )