titiler 0.11.1__py3-none-any.whl
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,196 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: titiler
|
|
3
|
+
Version: 0.11.1
|
|
4
|
+
Summary: A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL.
|
|
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>
|
|
11
|
+
License: MIT License
|
|
12
|
+
|
|
13
|
+
Copyright (c) 2019 Development Seed
|
|
14
|
+
|
|
15
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
16
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
17
|
+
in the Software without restriction, including without limitation the rights
|
|
18
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
19
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
20
|
+
furnished to do so, subject to the following conditions:
|
|
21
|
+
|
|
22
|
+
The above copyright notice and this permission notice shall be included in all
|
|
23
|
+
copies or substantial portions of the Software.
|
|
24
|
+
|
|
25
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
28
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
29
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
|
+
SOFTWARE.
|
|
32
|
+
License-File: LICENSE
|
|
33
|
+
Keywords: COG,Dynamic tile server,Fastapi,GDAL,MosaicJSON,OGC,Rasterio,STAC
|
|
34
|
+
Classifier: Intended Audience :: Information Technology
|
|
35
|
+
Classifier: Intended Audience :: Science/Research
|
|
36
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
41
|
+
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
42
|
+
Requires-Python: >=3.8
|
|
43
|
+
Requires-Dist: titiler-application==0.11.1
|
|
44
|
+
Requires-Dist: titiler-core==0.11.1
|
|
45
|
+
Requires-Dist: titiler-extensions==0.11.1
|
|
46
|
+
Requires-Dist: titiler-mosaic==0.11.1
|
|
47
|
+
Provides-Extra: dev
|
|
48
|
+
Requires-Dist: pre-commit; extra == 'dev'
|
|
49
|
+
Provides-Extra: docs
|
|
50
|
+
Requires-Dist: mkdocs; extra == 'docs'
|
|
51
|
+
Requires-Dist: mkdocs-jupyter; extra == 'docs'
|
|
52
|
+
Requires-Dist: mkdocs-material; extra == 'docs'
|
|
53
|
+
Requires-Dist: nbconvert; extra == 'docs'
|
|
54
|
+
Requires-Dist: pdocs; extra == 'docs'
|
|
55
|
+
Requires-Dist: pygments; extra == 'docs'
|
|
56
|
+
Description-Content-Type: text/markdown
|
|
57
|
+
|
|
58
|
+
<p align="center">
|
|
59
|
+
<img width="500" src="https://user-images.githubusercontent.com/10407788/172718020-c2378b7e-a0d4-406e-924c-8ffe54e61596.png"/>
|
|
60
|
+
<p align="center">A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL.</p>
|
|
61
|
+
</p>
|
|
62
|
+
|
|
63
|
+
<p align="center">
|
|
64
|
+
<a href="https://github.com/developmentseed/titiler/actions?query=workflow%3ACI" target="_blank">
|
|
65
|
+
<img src="https://github.com/developmentseed/titiler/workflows/CI/badge.svg" alt="Test">
|
|
66
|
+
</a>
|
|
67
|
+
<a href="https://codecov.io/gh/developmentseed/titiler" target="_blank">
|
|
68
|
+
<img src="https://codecov.io/gh/developmentseed/titiler/branch/main/graph/badge.svg" alt="Coverage">
|
|
69
|
+
</a>
|
|
70
|
+
<a href="https://pypi.org/project/titiler" target="_blank">
|
|
71
|
+
<img src="https://img.shields.io/pypi/v/titiler?color=%2334D058&label=pypi%20package" alt="Package version">
|
|
72
|
+
</a>
|
|
73
|
+
<a href="https://github.com/developmentseed/titiler/blob/main/LICENSE" target="_blank">
|
|
74
|
+
<img src="https://img.shields.io/github/license/developmentseed/titiler.svg" alt="Downloads">
|
|
75
|
+
</a>
|
|
76
|
+
<a href="https://mybinder.org/v2/gh/developmentseed/titiler/main" target="_blank">
|
|
77
|
+
<img src="https://mybinder.org/badge_logo.svg" alt="Downloads">
|
|
78
|
+
</a>
|
|
79
|
+
<a href="https://hub.docker.com/r/developmentseed/titiler" target="_blank">
|
|
80
|
+
<img src="https://img.shields.io/docker/v/developmentseed/titiler?color=%2334D058&label=docker%20hub" alt="Docker">
|
|
81
|
+
</a>
|
|
82
|
+
</p>
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
**Documentation**: <a href="https://devseed.com/titiler/" target="_blank">https://devseed.com/titiler/</a>
|
|
87
|
+
|
|
88
|
+
**Source Code**: <a href="https://github.com/developmentseed/titiler" target="_blank">https://github.com/developmentseed/titiler</a>
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
`Titiler`, pronounced **tee-tiler** (*ti* is the diminutive version of the french *petit* which means small), is a set of python modules that focus on creating FastAPI application for dynamic tiling.
|
|
93
|
+
|
|
94
|
+
Note: This project is the descendant of [`cogeo-tiler`](https://github.com/developmentseed/cogeo-tiler) and [`cogeo-mosaic-tiler`](https://github.com/developmentseed/cogeo-mosaic-tiler).
|
|
95
|
+
|
|
96
|
+
## Features
|
|
97
|
+
|
|
98
|
+
- Built on top of [FastAPI](https://fastapi.tiangolo.com)
|
|
99
|
+
- [Cloud Optimized GeoTIFF](http://www.cogeo.org/) support
|
|
100
|
+
- [SpatioTemporal Asset Catalog](https://stacspec.org) support
|
|
101
|
+
- Multiple projections support (see [TileMatrixSets](https://www.ogc.org/standards/tms)) via [`morecantile`](https://github.com/developmentseed/morecantile).
|
|
102
|
+
- JPEG / JP2 / PNG / WEBP / GTIFF / NumpyTile output format support
|
|
103
|
+
- OGC WMTS support
|
|
104
|
+
- Automatic OpenAPI documentation (FastAPI builtin)
|
|
105
|
+
- Virtual mosaic support (via [MosaicJSON](https://github.com/developmentseed/mosaicjson-spec/))
|
|
106
|
+
- Example of AWS Lambda / ECS deployment (via CDK)
|
|
107
|
+
|
|
108
|
+
## Packages
|
|
109
|
+
|
|
110
|
+
Starting with version `0.3.0`, the `TiTiler` python module has been split into a set of python namespace packages: `titiler.{package}`.
|
|
111
|
+
|
|
112
|
+
| Package | Version | Description
|
|
113
|
+
| ------- | ------- |-------------
|
|
114
|
+
[**titiler.core**](https://github.com/developmentseed/titiler/tree/main/src/titiler/core) | [](https://pypi.org/project/titiler.core) | The `Core` package contains libraries to help create a dynamic tiler for COG and STAC
|
|
115
|
+
[**titiler.extensions**](https://github.com/developmentseed/titiler/tree/main/src/titiler/extensions) | [](https://pypi.org/project/titiler.extensions) | TiTiler's extensions package. Contains extensions for Tiler Factories.
|
|
116
|
+
[**titiler.mosaic**](https://github.com/developmentseed/titiler/tree/main/src/titiler/mosaic) | [](https://pypi.org/project/titiler.mosaic) | The `mosaic` package contains libraries to help create a dynamic tiler for MosaicJSON (adds `cogeo-mosaic` requirement)
|
|
117
|
+
[**titiler.application**](https://github.com/developmentseed/titiler/tree/main/src/titiler/application) | [](https://pypi.org/project/titiler.application) | TiTiler's `demo` package. Contains a FastAPI application with full support of COG, STAC and MosaicJSON
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
## Installation
|
|
121
|
+
|
|
122
|
+
To install from PyPI and run:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
$ pip install -U pip
|
|
126
|
+
$ pip install uvicorn
|
|
127
|
+
$ pip install titiler.{package}
|
|
128
|
+
# e.g.,
|
|
129
|
+
# pip install titiler.core
|
|
130
|
+
# pip install titiler.extensions
|
|
131
|
+
# pip install titiler.mosaic
|
|
132
|
+
# pip install titiler.application (also installs core, extensions and mosaic)
|
|
133
|
+
$ uvicorn titiler.application.main:app
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
To install from sources and run for development:
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
$ git clone https://github.com/developmentseed/titiler.git
|
|
140
|
+
$ cd titiler
|
|
141
|
+
$ pip install -e src/titiler/core -e src/titiler/extensions -e src/titiler/mosaic -e src/titiler/application
|
|
142
|
+
$ pip install uvicorn
|
|
143
|
+
$ uvicorn titiler.application.main:app --reload
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Docker
|
|
147
|
+
|
|
148
|
+
Ready to use/deploy images can be found on Github registry.
|
|
149
|
+
|
|
150
|
+
- https://github.com/developmentseed/titiler/pkgs/container/titiler
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
docker run --name titiler \
|
|
154
|
+
-p 8000:8000 \
|
|
155
|
+
--env PORT=8000 \
|
|
156
|
+
--env WORKERS_PER_CORE=1 \
|
|
157
|
+
--rm -it ghcr.io/developmentseed/titiler:latest
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
- Built the docker locally
|
|
161
|
+
```
|
|
162
|
+
$ git clone https://github.com/developmentseed/titiler.git
|
|
163
|
+
$ cd titiler
|
|
164
|
+
|
|
165
|
+
$ docker-compose up --build titiler # or titiler-uvicorn
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Some options can be set via environment variables, see: https://github.com/tiangolo/uvicorn-gunicorn-docker#advanced-usage
|
|
169
|
+
|
|
170
|
+
## Project structure
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
src/titiler/ - titiler modules.
|
|
174
|
+
├── application/ - Titiler's `Application` package
|
|
175
|
+
├── extensions/ - Titiler's `Extensions` package
|
|
176
|
+
├── core/ - Titiler's `Core` package
|
|
177
|
+
└── mosaic/ - Titiler's `Mosaic` package
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## Contribution & Development
|
|
181
|
+
|
|
182
|
+
See [CONTRIBUTING.md](https://github.com/developmentseed/titiler/blob/main/CONTRIBUTING.md)
|
|
183
|
+
|
|
184
|
+
## License
|
|
185
|
+
|
|
186
|
+
See [LICENSE](https://github.com/developmentseed/titiler/blob/main/LICENSE)
|
|
187
|
+
|
|
188
|
+
## Authors
|
|
189
|
+
|
|
190
|
+
Created by [Development Seed](<http://developmentseed.org>)
|
|
191
|
+
|
|
192
|
+
See [contributors](https://github.com/developmentseed/titiler/graphs/contributors) for a listing of individual contributors.
|
|
193
|
+
|
|
194
|
+
## Changes
|
|
195
|
+
|
|
196
|
+
See [CHANGES.md](https://github.com/developmentseed/titiler/blob/main/CHANGES.md).
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
titiler-0.11.1.dist-info/METADATA,sha256=AE2OB5R3wGibFeaRUJs5b6l76FKH_sX_YH0t77NnVeM,9226
|
|
2
|
+
titiler-0.11.1.dist-info/WHEEL,sha256=Fd6mP6ydyRguakwUJ05oBE7fh2IPxgtDN9IwHJ9OqJQ,87
|
|
3
|
+
titiler-0.11.1.dist-info/licenses/LICENSE,sha256=JMWQqrPFT_ROFZt2NtEwJKicd2TYl_D0x22M4CkHhVU,1073
|
|
4
|
+
titiler-0.11.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Development Seed
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|