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
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Install
run: scripts/install --dev
- name: Copy env file
run: cp .env.local .env
run: uv sync --all-extras
- name: Lint
run: scripts/lint
- name: Test
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.0.1] - 2025-03-11

Initial release.

[unreleased]: https://github.com/gadomski/antimeridian/compare/v0.0.1...HEAD
[0.0.1]: https://github.com/gadomski/antimeridian/releases/tag/v0.0.1

<!-- markdownlint-disable-file MD024 -->
16 changes: 15 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,25 @@ dependencies = [
"stac-fastapi-types>=5.0.2",
"stacrs==0.5.9",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 1 - Planning",
]

[project.optional-dependencies]
lambda = ["mangum==0.19.0"]
serve = ["uvicorn>=0.34.0"]

[project.urls]
Documentation = "https://stac-utils.github.io/stac-fastapi-geoparquet"
Github = "https://github.com/stac-utils/stac-fastapi-geoparquet"
Issues = "https://github.com/stac-utils/stac-fastapi-geoparquet/issues"
Changelog = "https://github.com/stac-utils/stac-fastapi-geoparquet/blob/main/CHANGELOG.md"

[dependency-groups]
dev = [
"boto3>=1.37.11",
Expand Down Expand Up @@ -50,7 +64,7 @@ default-groups = ["dev", "validate", "deploy"]
[tool.mypy]
strict = true
files = ["src/**/*.py", "infrastructure/**/*.py"]
exclude = ["infrastructure/aws/cdk.out/.*"]
exclude = ["infrastructure/aws/cdk.out/.*", ".venv/*"]
plugins = "pydantic.mypy"

[[tool.mypy.overrides]]
Expand Down
12 changes: 6 additions & 6 deletions src/stac_fastapi/geoparquet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ class State(TypedDict):

def create_api(settings: Settings | None = None) -> StacApi:
if settings is None:
settings = Settings()
settings = Settings(
stac_fastapi_landing_id="stac-fastapi-geoparquet",
stac_fastapi_title="stac-geoparquet-geoparquet",
stac_fastapi_description="A stac-fastapi server backend by stac-geoparquet",
)

if settings.stac_fastapi_geoparquet_href.endswith(".toml"):
with open(settings.stac_fastapi_geoparquet_href, "rb") as f:
Expand Down Expand Up @@ -86,11 +90,7 @@ async def lifespan(app: FastAPI) -> AsyncIterator[State]:
}

api = StacApi(
settings=Settings(
stac_fastapi_landing_id="stac-fastapi-geoparquet",
stac_fastapi_title="stac-geoparquet-geoparquet",
stac_fastapi_description="A stac-fastapi server backend by stac-geoparquet",
),
settings=settings,
client=Client(),
app=FastAPI(
lifespan=lifespan,
Expand Down