hydroserverpy 1.4.0b4__py3-none-any.whl → 1.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hydroserverpy might be problematic. Click here for more details.
- hydroserverpy-1.4.1.dist-info/METADATA +66 -0
- {hydroserverpy-1.4.0b4.dist-info → hydroserverpy-1.4.1.dist-info}/RECORD +6 -6
- hydroserverpy-1.4.0b4.dist-info/METADATA +0 -19
- {hydroserverpy-1.4.0b4.dist-info → hydroserverpy-1.4.1.dist-info}/WHEEL +0 -0
- {hydroserverpy-1.4.0b4.dist-info → hydroserverpy-1.4.1.dist-info}/licenses/LICENSE +0 -0
- {hydroserverpy-1.4.0b4.dist-info → hydroserverpy-1.4.1.dist-info}/top_level.txt +0 -0
- {hydroserverpy-1.4.0b4.dist-info → hydroserverpy-1.4.1.dist-info}/zip-safe +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hydroserverpy
|
|
3
|
+
Version: 1.4.1
|
|
4
|
+
Summary: A Python client for managing HydroServer data
|
|
5
|
+
Requires-Python: <4,>=3.9
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Requires-Dist: requests>=2
|
|
9
|
+
Requires-Dist: pydantic>=2.6
|
|
10
|
+
Requires-Dist: pydantic[email]>=2.6
|
|
11
|
+
Requires-Dist: pandas>=2.2
|
|
12
|
+
Requires-Dist: numpy>=2.0
|
|
13
|
+
Requires-Dist: pyyaml>=5
|
|
14
|
+
Requires-Dist: simplejson>=3
|
|
15
|
+
Requires-Dist: crontab>=1
|
|
16
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
17
|
+
Requires-Dist: croniter>=2.0.1
|
|
18
|
+
Requires-Dist: jmespath>=1.0.1
|
|
19
|
+
Provides-Extra: docs
|
|
20
|
+
Requires-Dist: sphinx_autodoc_typehints; extra == "docs"
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
|
|
23
|
+
# HydroServer Python Client
|
|
24
|
+
|
|
25
|
+
The hydroserverpy Python package provides an interface for managing HydroServer data and metadata, loading observations, and performing data quality control. This guide will go over how to install the package and connect to a HydroServer instance. Full hydroserverpy documentation and examples can be found [here](https://hydroserver2.github.io/hydroserver/how-to/hydroserverpy/hydroserverpy-examples.html).
|
|
26
|
+
|
|
27
|
+
## Installation
|
|
28
|
+
|
|
29
|
+
You can install the package via pip:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pip install hydroserverpy
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Connecting to HydroServer
|
|
36
|
+
|
|
37
|
+
To connect to HydroServer, you need to initialize the client with the instance of HydroServer you're using and your user credentials if you want to access and modify your own data. If you don't provide authentication credentials you can read public data, but you will not be able to create or modify any data.
|
|
38
|
+
|
|
39
|
+
### Example: Anonymous User
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
from hydroserverpy import HydroServer
|
|
43
|
+
|
|
44
|
+
# Initialize HydroServer connection.
|
|
45
|
+
hs_api = HydroServer(
|
|
46
|
+
host='https://playground.hydroserver.org'
|
|
47
|
+
)
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Example: Basic Authentication
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from hydroserverpy import HydroServer
|
|
54
|
+
|
|
55
|
+
# Initialize HydroServer connection with credentials.
|
|
56
|
+
hs_api = HydroServer(
|
|
57
|
+
host='https://playground.hydroserver.org',
|
|
58
|
+
email='user@example.com',
|
|
59
|
+
password='******'
|
|
60
|
+
)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Funding and Acknowledgements
|
|
64
|
+
|
|
65
|
+
Funding for this project was provided by the National Oceanic & Atmospheric Administration (NOAA), awarded to the Cooperative Institute for Research to Operations in Hydrology (CIROH) through the NOAA Cooperative Agreement with The University of Alabama (NA22NWS4320003). Utah State University is a founding member of CIROH and receives funding under subaward from the University of Alabama. Additional funding and support have been provided by the State of Utah Division of Water Rights, the World Meteorological Organization, and the Utah Water Research laboratory at Utah State University.
|
|
66
|
+
|
|
@@ -61,9 +61,9 @@ hydroserverpy/api/services/sta/thing.py,sha256=Hyo3zTghSs7IIdsOGRu35i9w-aGOYlK9b
|
|
|
61
61
|
hydroserverpy/api/services/sta/unit.py,sha256=NFToSAIGTwDfwYWe8Q-I_f5xsw_GYzFEkMnhSJ-ChvE,2178
|
|
62
62
|
hydroserverpy/quality/__init__.py,sha256=GGBMkFSXciJLYrbV-NraFrj_mXWCy_GTcy9KKrKXU4c,84
|
|
63
63
|
hydroserverpy/quality/service.py,sha256=U02UfLKVmFvr5ySiH0n0JYzUIabq5uprrHIiwcqBlqY,13879
|
|
64
|
-
hydroserverpy-1.4.
|
|
65
|
-
hydroserverpy-1.4.
|
|
66
|
-
hydroserverpy-1.4.
|
|
67
|
-
hydroserverpy-1.4.
|
|
68
|
-
hydroserverpy-1.4.
|
|
69
|
-
hydroserverpy-1.4.
|
|
64
|
+
hydroserverpy-1.4.1.dist-info/licenses/LICENSE,sha256=xVqFxDw3QOEJukakL7gQCqIMTQ1dlSCTo6Oc1otNW80,1508
|
|
65
|
+
hydroserverpy-1.4.1.dist-info/METADATA,sha256=2gL1FFOCPKeB7S-gzJ7wURCgYB9l5Q4F3uvPgFWLjT4,2582
|
|
66
|
+
hydroserverpy-1.4.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
67
|
+
hydroserverpy-1.4.1.dist-info/top_level.txt,sha256=Zf37hrncXLOYvXhgCrf5mZdeq81G9fShdE2LfYbtb7w,14
|
|
68
|
+
hydroserverpy-1.4.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
69
|
+
hydroserverpy-1.4.1.dist-info/RECORD,,
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: hydroserverpy
|
|
3
|
-
Version: 1.4.0b4
|
|
4
|
-
Requires-Python: <4,>=3.9
|
|
5
|
-
License-File: LICENSE
|
|
6
|
-
Requires-Dist: requests>=2
|
|
7
|
-
Requires-Dist: pydantic>=2.6
|
|
8
|
-
Requires-Dist: pydantic[email]>=2.6
|
|
9
|
-
Requires-Dist: pandas>=2.2
|
|
10
|
-
Requires-Dist: numpy>=2.0
|
|
11
|
-
Requires-Dist: pyyaml>=5
|
|
12
|
-
Requires-Dist: simplejson>=3
|
|
13
|
-
Requires-Dist: crontab>=1
|
|
14
|
-
Requires-Dist: python-dateutil>=2.8.2
|
|
15
|
-
Requires-Dist: croniter>=2.0.1
|
|
16
|
-
Requires-Dist: jmespath>=1.0.1
|
|
17
|
-
Provides-Extra: docs
|
|
18
|
-
Requires-Dist: sphinx_autodoc_typehints; extra == "docs"
|
|
19
|
-
Dynamic: license-file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|