stac-fastapi-elasticsearch 5.0.0a0__tar.gz → 5.0.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.
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/PKG-INFO +1 -1
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/setup.py +2 -2
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi/elasticsearch/app.py +1 -1
- stac_fastapi_elasticsearch-5.0.0a1/stac_fastapi/elasticsearch/version.py +2 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi_elasticsearch.egg-info/PKG-INFO +1 -1
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi_elasticsearch.egg-info/requires.txt +2 -2
- stac_fastapi_elasticsearch-5.0.0a0/stac_fastapi/elasticsearch/version.py +0 -2
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/README.md +0 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/setup.cfg +0 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi/elasticsearch/__init__.py +0 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi/elasticsearch/config.py +4 -4
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi/elasticsearch/database_logic.py +0 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi_elasticsearch.egg-info/SOURCES.txt +0 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi_elasticsearch.egg-info/dependency_links.txt +0 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi_elasticsearch.egg-info/entry_points.txt +0 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi_elasticsearch.egg-info/not-zip-safe +0 -0
- {stac_fastapi_elasticsearch-5.0.0a0 → stac_fastapi_elasticsearch-5.0.0a1}/stac_fastapi_elasticsearch.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: stac_fastapi_elasticsearch
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.0a1
|
|
4
4
|
Summary: An implementation of STAC API based on the FastAPI framework with both Elasticsearch and Opensearch.
|
|
5
5
|
Home-page: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch
|
|
6
6
|
License: MIT
|
|
@@ -6,8 +6,8 @@ with open("README.md") as f:
|
|
|
6
6
|
desc = f.read()
|
|
7
7
|
|
|
8
8
|
install_requires = [
|
|
9
|
-
"stac-fastapi-core==5.0.
|
|
10
|
-
"sfeos-helpers==5.0.
|
|
9
|
+
"stac-fastapi-core==5.0.0a1",
|
|
10
|
+
"sfeos-helpers==5.0.0a1",
|
|
11
11
|
"elasticsearch[async]~=8.18.0",
|
|
12
12
|
"uvicorn~=0.23.0",
|
|
13
13
|
"starlette>=0.35.0,<0.36.0",
|
|
@@ -106,7 +106,7 @@ post_request_model = create_post_request_model(search_extensions)
|
|
|
106
106
|
api = StacApi(
|
|
107
107
|
title=os.getenv("STAC_FASTAPI_TITLE", "stac-fastapi-elasticsearch"),
|
|
108
108
|
description=os.getenv("STAC_FASTAPI_DESCRIPTION", "stac-fastapi-elasticsearch"),
|
|
109
|
-
api_version=os.getenv("STAC_FASTAPI_VERSION", "5.0.
|
|
109
|
+
api_version=os.getenv("STAC_FASTAPI_VERSION", "5.0.0a1"),
|
|
110
110
|
settings=settings,
|
|
111
111
|
extensions=extensions,
|
|
112
112
|
client=CoreClient(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: stac-fastapi-elasticsearch
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.0a1
|
|
4
4
|
Summary: An implementation of STAC API based on the FastAPI framework with both Elasticsearch and Opensearch.
|
|
5
5
|
Home-page: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch
|
|
6
6
|
License: MIT
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -52,6 +52,10 @@ def _es_config() -> Dict[str, Any]:
|
|
|
52
52
|
if http_compress:
|
|
53
53
|
config["http_compress"] = True
|
|
54
54
|
|
|
55
|
+
# Handle authentication
|
|
56
|
+
if (u := os.getenv("ES_USER")) and (p := os.getenv("ES_PASS")):
|
|
57
|
+
config["http_auth"] = (u, p)
|
|
58
|
+
|
|
55
59
|
# Explicitly exclude SSL settings when not using SSL
|
|
56
60
|
if not use_ssl:
|
|
57
61
|
return config
|
|
@@ -64,10 +68,6 @@ def _es_config() -> Dict[str, Any]:
|
|
|
64
68
|
if config["verify_certs"]:
|
|
65
69
|
config["ca_certs"] = os.getenv("CURL_CA_BUNDLE", certifi.where())
|
|
66
70
|
|
|
67
|
-
# Handle authentication
|
|
68
|
-
if (u := os.getenv("ES_USER")) and (p := os.getenv("ES_PASS")):
|
|
69
|
-
config["http_auth"] = (u, p)
|
|
70
|
-
|
|
71
71
|
return config
|
|
72
72
|
|
|
73
73
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|