factory tipg.factory ¶ tipg.factory: router factories. Endpoints dataclass ¶ Bases: EndpointsFactory OGC Features and Tiles Endpoints Factory. conforms_to property ¶ conforms_to: List[str] Endpoints conformances. links ¶ links(request: Request) -> List[Link] List of available links. register_routes ¶ register_routes() Register factory Routes. EndpointsFactory dataclass ¶ Endpoints Factory. conforms_to abstractmethod property ¶ conforms_to: List[str] Endpoints conformances. _conformance_route ¶ _conformance_route() Register Conformance (/conformance) route. _landing_route ¶ _landing_route() Register Landing (/) and Conformance (/conformance) routes. links abstractmethod ¶ links(request: Request) -> List[Link] Register factory Routes. register_routes abstractmethod ¶ register_routes() Register factory Routes. url_for ¶ url_for(request: Request, name: str, **path_params: Any) -> str Return full url (with prefix) for a specific handler. OGCFeaturesFactory dataclass ¶ Bases: EndpointsFactory OGC Features Endpoints Factory. conforms_to property ¶ conforms_to: List[str] Factory conformances. links ¶ links(request: Request) -> List[Link] OGC Features API links. register_routes ¶ register_routes() Register OGC Features endpoints. OGCTilesFactory dataclass ¶ Bases: EndpointsFactory OGC Tiles Endpoints Factory. conforms_to property ¶ conforms_to: List[str] Factory conformances. links ¶ links(request: Request) -> List[Link] OGC Tiles API links. register_routes ¶ register_routes() Register OGC Tiles endpoints. create_csv_rows ¶ create_csv_rows(data: Iterable[Dict]) -> Generator[str, None, None] Creates an iterator that returns lines of csv from an iterable of dicts. create_html_response ¶ create_html_response( request: Request, data: Any, templates: Jinja2Templates, template_name: str, title: Optional[str] = None, router_prefix: Optional[str] = None, **kwargs: Any ) -> _TemplateResponse Create Template response.