Skip to content

Commit 55833aa

Browse files
authored
feat: add pystapi-client (#21)
1 parent ded02f0 commit 55833aa

File tree

16 files changed

+827
-87
lines changed

16 files changed

+827
-87
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description = "Monorepo for Satellite Tasking API (STAPI) Specification Python p
55
readme = "README.md"
66
requires-python = ">=3.10"
77
dependencies = [
8+
"pystapi-client",
89
"pystapi-validator",
910
"stapi-pydantic",
1011
"stapi-fastapi"
@@ -30,9 +31,10 @@ docs = [
3031
default-groups = ["dev", "docs"]
3132

3233
[tool.uv.workspace]
33-
members = ["pystapi-validator", "stapi-pydantic", "stapi-fastapi"]
34+
members = ["pystapi-validator", "stapi-pydantic", "pystapi-client", "stapi-fastapi"]
3435

3536
[tool.uv.sources]
37+
pystapi-client.workspace = true
3638
pystapi-validator.workspace = true
3739
stapi-pydantic.workspace = true
3840
stapi-fastapi.workspace = true
@@ -59,6 +61,7 @@ max-complexity = 8 # default 10
5961
[tool.mypy]
6062
strict = true
6163
files = [
64+
"pystapi-client/src/pystapi_client/**/*.py",
6265
"pystapi-validator/src/pystapi_validator/**/*.py",
6366
"stapi-pydantic/src/stapi_pydantic/**/*.py",
6467
"stapi-fastapi/src/stapi_fastapi/**/*.py"

pystapi-client/README.md

Whitespace-only changes.

pystapi-client/pyproject.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[project]
2+
name = "pystapi-client"
3+
version = "0.0.1"
4+
description = "Python library for searching Satellite Tasking API (STAPI) APIs."
5+
readme = "README.md"
6+
authors = [
7+
{ name = "Kaveh Karimi-Asli", email = "[email protected]" },
8+
{ name = "Philip Weiss", email = "[email protected]" }
9+
]
10+
maintainers = [{ name = "Pete Gadomski", email = "[email protected]" }]
11+
keywords = ["stapi"]
12+
license = { text = "MIT" }
13+
requires-python = ">=3.10"
14+
dependencies = [
15+
"httpx>=0.28.1",
16+
"stapi-pydantic",
17+
"python-dateutil>=2.8.2",
18+
]
19+
20+
[project.scripts]
21+
stapi-client = "pystapi_client.cli:cli"
22+
23+
[tool.uv.sources]
24+
stapi-pydantic = { workspace = true }
25+
26+
[build-system]
27+
requires = ["hatchling"]
28+
build-backend = "hatchling.build"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
__all__ = [
2+
"Client",
3+
"ConformanceClasses",
4+
]
5+
6+
from pystapi_client.client import Client
7+
from pystapi_client.conformance import ConformanceClasses

0 commit comments

Comments
 (0)