-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(python): add read, write, and more docs
- Loading branch information
Showing
27 changed files
with
599 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# API | ||
|
||
API documentation for **stacrs**. | ||
|
||
- [migrate](./migrate.md) | ||
- [search](./search.md) | ||
- [validate](./validate.md) | ||
- [write](./write.md) | ||
- [pystac](./pystac.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Migration | ||
|
||
::: stacrs.migrate | ||
::: stacrs.migrate_href |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# pystac | ||
|
||
These functions are only available if [pystac](https://pystac.readthedocs.io/) is available on your system. | ||
To install **pystac** and **stacrs**: | ||
|
||
```shell | ||
pip install 'stacrs[pystac]' | ||
``` | ||
|
||
::: stacrs.pystac.migrate | ||
::: stacrs.pystac.read | ||
::: stacrs.pystac.search | ||
::: stacrs.pystac.validate | ||
::: stacrs.pystac.write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Read | ||
|
||
::: stacrs.read |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Search | ||
|
||
::: stacrs.search | ||
::: stacrs.search_to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Validate | ||
|
||
::: stacrs.validate | ||
::: stacrs.validate_href |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Write | ||
|
||
::: stacrs.write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
from . import stacrs | ||
from .stacrs import ( | ||
migrate, | ||
migrate_href, | ||
read, | ||
search, | ||
search_to, | ||
validate, | ||
validate_href, | ||
write, | ||
) | ||
|
||
__doc__ = stacrs.__doc__ | ||
__all__ = [ | ||
"migrate", | ||
"migrate_href", | ||
"read", | ||
"search", | ||
"search_to", | ||
"validate", | ||
"validate_href", | ||
"write", | ||
] | ||
|
||
import importlib.util | ||
|
||
if importlib.util.find_spec("pystac") is not None: | ||
from . import pystac as pystac | ||
|
||
__all__.append("pystac") |
Empty file.
Oops, something went wrong.