windborne 1.0.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.2
2
+ Name: windborne
3
+ Version: 1.0.0
4
+ Summary: A Python library for interacting with WindBorne Data and Forecasts API
5
+ Author-email: WindBorne Systems <data@windbornesystems.com>
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Requires-Python: >=3.6
9
+ Description-Content-Type: text/markdown
10
+ Requires-Dist: requests
11
+ Requires-Dist: boto3>=1.10.0
12
+ Requires-Dist: PyJWT
13
+ Requires-Dist: numpy
14
+ Requires-Dist: xarray
15
+ Requires-Dist: pandas
16
+ Requires-Dist: netCDF4
17
+
18
+ # WindBorne API
19
+ A Python library for interacting with the WindBorne API to fetch and process observations and forecasts data.
20
+ ## - [Data API](https://windbornesystems.com/docs/api/pip_data)
21
+ ## - [Forecasts API](https://windbornesystems.com/docs/api/pip_forecasts)
22
+ ## - [Command Line Interface](https://windbornesystems.com/docs/api/cli)
23
+
24
+ ## Further information and help request
25
+ If you encounter issues or have questions, please ask your WindBorne Systems contact.
@@ -0,0 +1,8 @@
1
+ # WindBorne API
2
+ A Python library for interacting with the WindBorne API to fetch and process observations and forecasts data.
3
+ ## - [Data API](https://windbornesystems.com/docs/api/pip_data)
4
+ ## - [Forecasts API](https://windbornesystems.com/docs/api/pip_forecasts)
5
+ ## - [Command Line Interface](https://windbornesystems.com/docs/api/cli)
6
+
7
+ ## Further information and help request
8
+ If you encounter issues or have questions, please ask your WindBorne Systems contact.
@@ -0,0 +1,29 @@
1
+ [build-system]
2
+ requires = ["setuptools>=40.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "windborne"
7
+ version = "1.0.0"
8
+ description = "A Python library for interacting with WindBorne Data and Forecasts API"
9
+ readme = {file = "README.md", content-type = "text/markdown"}
10
+ authors = [
11
+ {name = "WindBorne Systems", email = "data@windbornesystems.com"}
12
+ ]
13
+ requires-python = ">=3.6"
14
+ dependencies = [
15
+ "requests",
16
+ "boto3>=1.10.0",
17
+ "PyJWT",
18
+ "numpy",
19
+ "xarray",
20
+ "pandas",
21
+ "netCDF4"
22
+ ]
23
+ classifiers = [
24
+ "Programming Language :: Python :: 3",
25
+ "License :: OSI Approved :: MIT License"
26
+ ]
27
+
28
+ [project.scripts]
29
+ windborne = "windborne.cli:main"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,76 @@
1
+ # Import key functions and classes for easier access when users import the package
2
+
3
+ # Import Utils functions
4
+ from .utils import (
5
+ convert_to_netcdf,
6
+ sync_to_s3
7
+ )
8
+
9
+ # Import Data API functions
10
+ from .data_api import (
11
+ get_observations,
12
+ get_super_observations,
13
+
14
+ poll_super_observations,
15
+ poll_observations,
16
+
17
+ get_flying_missions,
18
+ get_mission_launch_site,
19
+ get_predicted_path,
20
+ )
21
+
22
+ # Import Forecasts API functions
23
+ from .forecasts_api import (
24
+ get_point_forecasts,
25
+ get_initialization_times,
26
+
27
+ get_temperature_2m,
28
+ get_dewpoint_2m,
29
+ get_wind_u_10m, get_wind_v_10m,
30
+ get_pressure_msl,
31
+ get_500hpa_wind_u, get_500hpa_wind_v,
32
+ get_500hpa_geopotential, get_850hpa_geopotential,
33
+ get_500hpa_temperature, get_850hpa_temperature,
34
+
35
+ get_historical_temperature_2m,
36
+ get_historical_500hpa_geopotential,
37
+ get_historical_500hpa_wind_u, get_historical_500hpa_wind_v,
38
+
39
+ get_tropical_cyclones
40
+ )
41
+
42
+ # Define what should be available when users import *
43
+ __all__ = [
44
+ "convert_to_netcdf",
45
+ "sync_to_s3",
46
+
47
+ "get_observations",
48
+ "get_super_observations",
49
+ "poll_super_observations",
50
+ "poll_observations",
51
+
52
+ "get_flying_missions",
53
+ "get_mission_launch_site",
54
+ "get_predicted_path",
55
+
56
+ "get_point_forecasts",
57
+ "get_initialization_times",
58
+
59
+ "get_temperature_2m",
60
+ "get_dewpoint_2m",
61
+ "get_wind_u_10m",
62
+ "get_wind_v_10m",
63
+ "get_500hpa_wind_u",
64
+ "get_500hpa_wind_v",
65
+ "get_pressure_msl",
66
+ "get_500hpa_geopotential",
67
+ "get_850hpa_geopotential",
68
+ "get_500hpa_temperature",
69
+ "get_850hpa_temperature",
70
+
71
+ "get_historical_temperature_2m",
72
+ "get_historical_500hpa_geopotential",
73
+ "get_historical_500hpa_wind_u",
74
+ "get_historical_500hpa_wind_v",
75
+ "get_tropical_cyclones"
76
+ ]