Skip to content
Open
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 .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"extensions/sar": "1.0.0-rc.0",
"extensions/sat": "1.0.0-rc.0",
"extensions/scientific": "1.0.0-rc.0",
"extensions/ssys": "1.1.1-rc.0",
"extensions/storage": "2.0.0-rc.0",
"extensions/table": "1.2.0-rc.0",
"extensions/timestamps": "1.1.0-rc.0",
Expand Down
2 changes: 2 additions & 0 deletions core/pystac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
import pystac.extensions.sar
import pystac.extensions.sat
import pystac.extensions.scientific
import pystac.extensions.ssys
import pystac.extensions.storage
import pystac.extensions.table
import pystac.extensions.timestamps
Expand All @@ -133,6 +134,7 @@
pystac.extensions.sar.SAR_EXTENSION_HOOKS,
pystac.extensions.sat.SAT_EXTENSION_HOOKS,
pystac.extensions.scientific.SCIENTIFIC_EXTENSION_HOOKS,
pystac.extensions.ssys.SSYS_EXTENSION_HOOKS,
pystac.extensions.storage.STORAGE_EXTENSION_HOOKS,
pystac.extensions.table.TABLE_EXTENSION_HOOKS,
pystac.extensions.timestamps.TIMESTAMPS_EXTENSION_HOOKS,
Expand Down
11 changes: 11 additions & 0 deletions core/pystac/extensions/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from pystac.extensions.sar import SarExtension
from pystac.extensions.sat import SatExtension
from pystac.extensions.scientific import ScientificExtension
from pystac.extensions.ssys import SolSysExtension
from pystac.extensions.storage import StorageExtension
from pystac.extensions.table import TableExtension
from pystac.extensions.timestamps import TimestampsExtension
Expand Down Expand Up @@ -61,6 +62,7 @@
"sar",
"sat",
"sci",
"ssys",
"storage",
"table",
"timestamps",
Expand All @@ -85,6 +87,7 @@
SarExtension.name: SarExtension,
SatExtension.name: SatExtension,
ScientificExtension.name: ScientificExtension,
SolSysExtension.name: SolSysExtension,
StorageExtension.name: StorageExtension,
TableExtension.name: TableExtension,
TimestampsExtension.name: TimestampsExtension,
Expand Down Expand Up @@ -172,6 +175,10 @@ def render(self) -> dict[str, Render]:
def sci(self) -> ScientificExtension[Collection]:
return ScientificExtension.ext(self.stac_object)

@property
def ssys(self) -> SolSysExtension[Collection]:
return SolSysExtension.ext(self.stac_object)

@property
def storage(self) -> StorageExtension[Collection]:
return StorageExtension.ext(self.stac_object)
Expand Down Expand Up @@ -268,6 +275,10 @@ def sat(self) -> SatExtension[Item]:
def sci(self) -> ScientificExtension[Item]:
return ScientificExtension.ext(self.stac_object)

@property
def ssys(self) -> SolSysExtension[Item]:
return SolSysExtension.ext(self.stac_object)

@property
def storage(self) -> StorageExtension[Item]:
return StorageExtension.ext(self.stac_object)
Expand Down
1 change: 1 addition & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ PySTAC provides support for the following STAC Extensions:
* :mod:`SAR <pystac.extensions.sar>`
* :mod:`Satellite <pystac.extensions.sat>`
* :mod:`Scientific Citation <pystac.extensions.scientific>`
* :mod:`Solar System<pystac.extensions.ssys>`
* :mod:`Table <pystac.extensions.table>`
* :mod:`Timestamps <pystac.extensions.timestamps>`
* :mod:`Versioning Indicators <pystac.extensions.version>`
Expand Down
6 changes: 6 additions & 0 deletions docs/api/extensions/ssys.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pystac.extensions.ssys
======================

.. automodule:: pystac.extensions.ssys
:members:
:undoc-members:
13 changes: 13 additions & 0 deletions extensions/ssys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# pystac-ext-ssys

[PySTAC](https://pypi.org/project/pystac/) extension package for the [Solar System Extension](https://github.com/stac-extensions/ssys).
This extension provides fields for describing the data of planetary bodies, including the target bodies, the local time and the target class of the body.

## Supported versions

- [v1.1.1](https://stac-extensions.github.io/ssys/v1.1.1/schema.json)

## Versioning

This package's version corresponds to the version of the extension specification it targets.
When we release updates to the package code without changing the target extension version, we use [post releases](https://packaging.python.org/en/latest/discussions/versioning/#post-releases), e.g. `1.0.0.post1`.
36 changes: 36 additions & 0 deletions extensions/ssys/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[project]
name = "pystac-ext-ssys"
description = "Point Cloud extension for PySTAC"
readme = "README.md"
version = "1.1.1"
authors = []
maintainers = []
keywords = ["pystac", "imagery", "raster", "catalog", "STAC", "ssys"]
license = { text = "Apache-2.0" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
dependencies = ["pystac-core"]

[project.urls]
Documentation = "https://pystac.readthedocs.io"
Repository = "https://github.com/stac-utils/pystac"
Issues = "https://github.com/stac-utils/pystac/issues"
Changelog = "https://github.com/stac-utils/pystac/blob/main/CHANGELOG.md"
Discussions = "https://github.com/radiantearth/stac-spec/discussions/categories/stac-software"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["pystac"]
Empty file.
Loading
Loading