-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: more work on the python library
- Loading branch information
Showing
5 changed files
with
95 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 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). | ||
|
||
## [0.0.1] - 2024-08-28 | ||
|
||
Initial release. | ||
|
||
[0.0.1]: https://github.com/stac-utils/stac-rs/releases/tag/python-v0.0.1 |
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,23 @@ | ||
# stacrs | ||
|
||
A Python package for working with [STAC](https://stacspec.org/), using Rust under the hood. | ||
|
||
## Usage | ||
|
||
Install via **pip**: | ||
|
||
```shell | ||
pip install stacrs | ||
``` | ||
|
||
Then: | ||
|
||
```python | ||
import stacrs | ||
|
||
stacrs.validate_href("https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0/examples/simple-item.json") | ||
``` | ||
|
||
## Other info | ||
|
||
This crate is part of the [stac-rs](https://github.com/stac-utils/stac-rs) monorepo, see its README for contributing and license information. |
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 |
---|---|---|
|
@@ -4,13 +4,27 @@ build-backend = "maturin" | |
|
||
[project] | ||
name = "stacrs" | ||
description = "Work with STAC, using Rust under the hood" | ||
readme = "README.md" | ||
authors = [{ name = "Pete Gadomski", email = "[email protected]" }] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Science/Research", | ||
"Natural Language :: English", | ||
"Programming Language :: Rust", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"License :: OSI Approved :: Apache Software License", | ||
"License :: OSI Approved :: MIT License", | ||
"Typing :: Typed", | ||
] | ||
keywords = ["stac", "geospatial"] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Repository = "https://github.com/stac-utils/stac-rs/tree/main/python" | ||
Issues = "https://github.com/stac-utils/stac-rs/issues" | ||
|
||
[tool.maturin] | ||
features = ["pyo3/extension-module"] |