Skip to content

Commit

Permalink
Capitalization consistency: STAC
Browse files Browse the repository at this point in the history
  • Loading branch information
tylere committed Mar 5, 2024
1 parent 2cd3061 commit b4d0ed1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

PgSTAC provides functionality for STAC Filters, CQL2 search, and utilities to help manage the indexing and partitioning of STAC Collections and Items.

PgSTAC is used in production to scale to hundreds of millions of STAC items. PgSTAC implements core data models and functions to provide a STAC API from a PostgreSQL database. PgSTAC is entirely within the database and does not provide an HTTP-facing API. The [Stac FastAPI](https://github.com/stac-utils/stac-fastapi) PgSTAC backend and [Franklin](https://github.com/azavea/franklin) can be used to expose a PgSTAC catalog. Integrating PgSTAC with any other language with PostgreSQL drivers is also possible.
PgSTAC is used in production to scale to hundreds of millions of STAC items. PgSTAC implements core data models and functions to provide a STAC API from a PostgreSQL database. PgSTAC is entirely within the database and does not provide an HTTP-facing API. The [STAC FastAPI](https://github.com/stac-utils/stac-fastapi) PgSTAC backend and [Franklin](https://github.com/azavea/franklin) can be used to expose a PgSTAC catalog. Integrating PgSTAC with any other language with PostgreSQL drivers is also possible.

PgSTAC Documentation: https://stac-utils.github.io/pgstac/pgstac

Expand Down
6 changes: 3 additions & 3 deletions src/pypgstac/python/pypgstac/db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Base library for database interaction with PgStac."""
"""Base library for database interaction with PgSTAC."""
import atexit
import logging
import time
Expand Down Expand Up @@ -53,7 +53,7 @@ class Settings(BaseSettings):


class PgstacDB:
"""Base class for interacting with PgStac Database."""
"""Base class for interacting with PgSTAC Database."""

def __init__(
self,
Expand Down Expand Up @@ -299,5 +299,5 @@ def func(self, function_name: str, *args: Any) -> Generator:
return self.query(base_query, cleaned_args)

def search(self, query: Union[dict, str, psycopg.types.json.Jsonb] = "{}") -> str:
"""Search PgStac."""
"""Search PgSTAC."""
return dumps(next(self.func("search", query))[0])
8 changes: 4 additions & 4 deletions src/pypgstac/python/pypgstac/pypgstac.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class PgstacCLI:
"""CLI for PgStac."""
"""CLI for PgSTAC."""

def __init__(
self,
Expand All @@ -22,7 +22,7 @@ def __init__(
debug: bool = False,
usequeue: bool = False,
):
"""Initialize PgStac CLI."""
"""Initialize PgSTAC CLI."""
if version:
sys.exit(0)

Expand Down Expand Up @@ -52,11 +52,11 @@ def pgready(self) -> None:
self._db.wait()

def search(self, query: str) -> str:
"""Search PgStac."""
"""Search PgSTAC."""
return self._db.search(query)

def migrate(self, toversion: Optional[str] = None) -> str:
"""Migrate PgStac Database."""
"""Migrate PgSTAC Database."""
migrator = Migrate(self._db)
return migrator.run_migration(toversion=toversion)

Expand Down

0 comments on commit b4d0ed1

Please sign in to comment.