Skip to content

Commit 3121252

Browse files
authored
Merge pull request #389 from ASFHyP3/develop
Release v7.7.4
2 parents 50d6dbe + 6dd3b8a commit 3121252

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/)
77
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [7.7.4]
10+
11+
### Added
12+
* Added Connect to the HyP3 API section to the README
13+
914
## [7.7.3]
1015

1116
### Added

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@ An instance of the `HyP3` class will be needed to interact with the external HyP
5858
>>> job.download_files()
5959
```
6060

61+
### Connect to the HyP3 API
62+
63+
Create a connection to the HyP3 API using the `HyP3` class:
64+
```
65+
import hyp3_sdk as sdk
66+
hyp3 = sdk.HyP3()
67+
```
68+
69+
This connects to the [HyP3 Basic](https://hyp3-docs.asf.alaska.edu/about/hyp3_basic/) deployment by default. To connect to an
70+
alternate deployment such as [HyP3+](https://hyp3-docs.asf.alaska.edu/about/hyp3_plus/), specify the corresponding `api_url`:
71+
```
72+
hyp3_plus = sdk.HyP3(api_url='https://hyp3-plus.asf.alaska.edu')
73+
```
74+
6175
### Submitting Jobs
6276

6377
`hyp3` has member functions for submitting new jobs:

requirements-static.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ruff==0.13.1
1+
ruff==0.14.1
22
mypy==1.18.2

0 commit comments

Comments
 (0)