Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Removed ENV_MAX_LIMIT environment variable; maximum limits are now handled by the default global limit environment variable. [#482](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/482)
- Changed the default and maximum pagination limits for collections/items endpoints. [#482](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/482)
- Removed the `rel=child` links to the collections from the landing page, as the listing was incomplete due to pagination. [#496](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/496)
- Changed to pyproject.toml file from setup.py [#505](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/505)

### Fixed

Expand Down
59 changes: 59 additions & 0 deletions stac_fastapi/core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "stac_fastapi_core"
description = "Core library for the Elasticsearch and Opensearch stac-fastapi backends."
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = []
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
]
keywords = [
"STAC",
"STAC-API",
"FastAPI",
"stac-fastapi",
"Elasticsearch",
"Opensearch",
]
dynamic = ["version"]
dependencies = [
"fastapi~=0.109.0",
"attrs>=23.2.0",
"pydantic>=2.4.1,<3.0.0",
"stac_pydantic~=3.3.0",
"stac-fastapi.types==6.0.0",
"stac-fastapi.api==6.0.0",
"stac-fastapi.extensions==6.0.0",
"orjson~=3.11.0",
"overrides~=7.4.0",
"geojson-pydantic~=1.0.0",
"pygeofilter~=0.3.1",
"jsonschema~=4.0.0",
"slowapi~=0.1.9",
]

[project.urls]
Homepage = "https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch"

[tool.hatch.version]
path = "stac_fastapi/core/version.py"

[tool.hatch.build.targets.sdist]
exclude = ["alembic", "tests", "scripts"]

[tool.hatch.build.targets.wheel]
only-include = ["stac_fastapi"]
2 changes: 0 additions & 2 deletions stac_fastapi/core/setup.cfg

This file was deleted.

47 changes: 0 additions & 47 deletions stac_fastapi/core/setup.py

This file was deleted.

71 changes: 71 additions & 0 deletions stac_fastapi/elasticsearch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "stac_fastapi_elasticsearch"
description = "An implementation of STAC API based on the FastAPI framework with Elasticsearch."
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = []
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
]
keywords = [
"STAC",
"STAC-API",
"FastAPI",
"Elasticsearch",
"stac-fastapi",
]
dynamic = ["version"]
dependencies = [
"stac-fastapi-core==6.5.1",
"sfeos-helpers==6.5.1",
"elasticsearch[async]~=8.19.1",
"uvicorn~=0.23.0",
"starlette>=0.35.0,<0.36.0",
]

[project.urls]
Homepage = "https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch"

[project.optional-dependencies]
dev = [
"pytest~=8.0",
"pytest-cov~=4.0.0",
"pytest-asyncio~=0.21.0",
"pre-commit~=3.0.0",
"ciso8601~=2.3.0",
"httpx>=0.24.0,<0.28.0",
]
docs = [
"mkdocs~=1.4.0",
"mkdocs-material~=9.0.0",
"pdocs~=1.2.0",
]
server = [
"uvicorn[standard]~=0.23.0",
]

[project.scripts]
stac-fastapi-elasticsearch = "stac_fastapi.elasticsearch.app:run"

[tool.hatch.version]
path = "stac_fastapi/elasticsearch/version.py"

[tool.hatch.build.targets.sdist]
exclude = ["alembic", "tests", "scripts"]

[tool.hatch.build.targets.wheel]
only-include = ["stac_fastapi"]
2 changes: 0 additions & 2 deletions stac_fastapi/elasticsearch/setup.cfg

This file was deleted.

59 changes: 0 additions & 59 deletions stac_fastapi/elasticsearch/setup.py

This file was deleted.

72 changes: 72 additions & 0 deletions stac_fastapi/opensearch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "stac_fastapi_opensearch"
description = "An implementation of STAC API based on the FastAPI framework with Opensearch."
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = []
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
]
keywords = [
"STAC",
"STAC-API",
"FastAPI",
"Opensearch",
"stac-fastapi",
]
dynamic = ["version"]
dependencies = [
"stac-fastapi-core==6.5.1",
"sfeos-helpers==6.5.1",
"opensearch-py~=2.8.0",
"opensearch-py[async]~=2.8.0",
"uvicorn~=0.23.0",
"starlette>=0.35.0,<0.36.0",
]

[project.urls]
Homepage = "https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch"

[project.optional-dependencies]
dev = [
"pytest~=8.0",
"pytest-cov~=4.0.0",
"pytest-asyncio~=0.21.0",
"pre-commit~=3.0.0",
"ciso8601~=2.3.0",
"httpx>=0.24.0,<0.28.0",
]
docs = [
"mkdocs~=1.4.0",
"mkdocs-material~=9.0.0",
"pdocs~=1.2.0",
]
server = [
"uvicorn[standard]~=0.23.0",
]

[project.scripts]
stac-fastapi-opensearch = "stac_fastapi.opensearch.app:run"

[tool.hatch.version]
path = "stac_fastapi/opensearch/version.py"

[tool.hatch.build.targets.sdist]
exclude = ["alembic", "tests", "scripts"]

[tool.hatch.build.targets.wheel]
only-include = ["stac_fastapi"]
2 changes: 0 additions & 2 deletions stac_fastapi/opensearch/setup.cfg

This file was deleted.

57 changes: 0 additions & 57 deletions stac_fastapi/opensearch/setup.py

This file was deleted.

Loading