synmax-api-python-client 4.2.1__py3-none-any.whl → 4.4.0__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.
- synmax/hyperion/hyperion_client.py +7 -0
- synmax/hyperion/v4/hyperion_client.py +1 -0
- synmax/hyperion/v4/hyperion_client.pyi +64 -0
- synmax/hyperion/v4/openapi.yaml +1280 -0
- {synmax_api_python_client-4.2.1.dist-info → synmax_api_python_client-4.4.0.dist-info}/METADATA +1 -1
- {synmax_api_python_client-4.2.1.dist-info → synmax_api_python_client-4.4.0.dist-info}/RECORD +8 -6
- {synmax_api_python_client-4.2.1.dist-info → synmax_api_python_client-4.4.0.dist-info}/WHEEL +0 -0
- {synmax_api_python_client-4.2.1.dist-info → synmax_api_python_client-4.4.0.dist-info}/top_level.txt +0 -0
|
@@ -81,6 +81,13 @@ class HyperionApiClient(object):
|
|
|
81
81
|
def fetch_tils_expanded(self) -> pandas.DataFrame:
|
|
82
82
|
return self.api_client_sync.get(f"{self._base_uri}/v3/tils_expanded", return_json=True)
|
|
83
83
|
|
|
84
|
+
def fetch_til_wells(self) -> pandas.DataFrame:
|
|
85
|
+
return self.api_client_sync.get(f"{self._base_uri}/v3/til_wells", return_json=True)
|
|
86
|
+
|
|
87
|
+
def fetch_til_wells_expanded(self) -> pandas.DataFrame:
|
|
88
|
+
return self.api_client_sync.get(f"{self._base_uri}/v3/til_wells_expanded", return_json=True)
|
|
89
|
+
|
|
90
|
+
|
|
84
91
|
def fetch_forecast_run_dates(self) -> pandas.DataFrame:
|
|
85
92
|
return self.api_client_sync.get(
|
|
86
93
|
f"{self._base_uri}/v3/shorttermforecasthistorydates", return_json=True
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
from typing import Literal, Union
|
|
2
|
+
from synmax.openapi.client import Result
|
|
3
|
+
from datetime import date
|
|
4
|
+
class HyperionApiClient:
|
|
5
|
+
def well_completion(self,aggregate_by: list[Literal['county', 'date_completion_start', 'date_completion_end', 'operator', 'region_natgas', 'state_code', 'sub_region_natgas']] = ...,completion_class: Union[list[Literal['oil', 'gas', 'TBD']], Literal['oil', 'gas', 'TBD']] = ...,county: Union[list[str], str] = ...,date_completion_start_min: date = ...,date_completion_start_max: date = ...,date_completion_end_min: date = ...,date_completion_end_max: date = ...,operator: Union[list[str], str] = ...,region_natgas: Union[list[str], str] = ...,state_code: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
6
|
+
"""Well completions. Well level frac jobs by date"""
|
|
7
|
+
...
|
|
8
|
+
def daily_fracked_feet(self,date_frac_min: date = ...,date_frac_max: date = ...,region_natgas: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
9
|
+
"""Fracked feet per day averaged by subregion."""
|
|
10
|
+
...
|
|
11
|
+
def daily_production(self,aggregate_by: list[Literal['date_prod', 'region_natgas', 'sub_region_natgas']] = ...,date_prod_min: date = ...,date_prod_max: date = ...,region_natgas: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
12
|
+
"""Returns the daily gas production model for the lower 48, informed from pipeline scrapes, state data, and our short-term production forecast."""
|
|
13
|
+
...
|
|
14
|
+
def dry_gas_factors(self,date_factor_min: date = ...,date_factor_max: date = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
15
|
+
"""Monthly dry gas factors by natgas subregion"""
|
|
16
|
+
...
|
|
17
|
+
def ducs_by_operator(self,aggregate_by: list[Literal['county', 'date_observed', 'operator', 'region_natgas', 'state_code', 'sub_region_natgas']] = ...,county: Union[list[str], str] = ...,date_observed_min: date = ...,date_observed_max: date = ...,operator: Union[list[str], str] = ...,region_natgas: Union[list[str], str] = ...,state_code: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
18
|
+
"""Count of drilled but uncompleted wells by county and operator"""
|
|
19
|
+
...
|
|
20
|
+
def long_term_forecast(self,aggregate_by: list[Literal['date_prod', 'region_natgas', 'sub_region_natgas']] = ...,date_prod_min: date = ...,date_prod_max: date = ...,region_natgas: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
21
|
+
"""Long-term production forecasts for gas production of the lower 48 for the next 12 months."""
|
|
22
|
+
...
|
|
23
|
+
def fetch_operator_classification(self) -> Result:
|
|
24
|
+
"""Whether well operator is public or private company."""
|
|
25
|
+
...
|
|
26
|
+
def production_by_well(self,aggregate_by: list[Literal['date_prod', 'county', 'operator', 'region_natgas', 'state_code', 'sub_region_natgas']] = ...,county: Union[list[str], str] = ...,date_prod_min: date = ...,date_prod_max: date = ...,operator: Union[list[str], str] = ...,production_month: Union[list[int], int] = ...,region_natgas: Union[list[str], str] = ...,state_code: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...,well_id: Union[list[str], str] = ...) -> Result:
|
|
27
|
+
"""Well level monthly oil and gas production."""
|
|
28
|
+
...
|
|
29
|
+
def fetch_regions(self) -> Result:
|
|
30
|
+
"""Region lookup data"""
|
|
31
|
+
...
|
|
32
|
+
def rigs(self,aggregate_by: list[Literal['date_observed', 'region_natgas', 'sub_region_natgas', 'county', 'operator', 'state_code']] = ...,date_observed_min: date = ...,date_observed_max: date = ...,region_natgas: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...,county: Union[list[str], str] = ...,operator: Union[list[str], str] = ...,state_code: Union[list[str], str] = ...,rig_class: Union[list[Literal['oil', 'gas', 'TBD']], Literal['oil', 'gas', 'TBD']] = ...) -> Result:
|
|
33
|
+
"""Returns location specific to a wellpad and its operating dates."""
|
|
34
|
+
...
|
|
35
|
+
def short_term_forecast(self,aggregate_by: list[Literal['county', 'date_prod', 'operator', 'region_natgas', 'state_code', 'sub_region_natgas']] = ...,county: Union[list[str], str] = ...,date_prod_min: date = ...,date_prod_max: date = ...,operator: Union[list[str], str] = ...,region_natgas: Union[list[str], str] = ...,state_code: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...,well_id: Union[list[str], str] = ...) -> Result:
|
|
36
|
+
"""Returns short-term, monthly gas production forecasts for well APIs."""
|
|
37
|
+
...
|
|
38
|
+
def short_term_forecast_declines(self,aggregate_by: list[Literal['county', 'date_prod', 'first_production_month', 'modeled', 'operator', 'production_month', 'region_natgas', 'state_code', 'state_reported', 'sub_region_natgas']] = ...,aggregation_type: Literal['average', 'count', 'sum'] = ...,county: Union[list[str], str] = ...,date_prod_min: date = ...,date_prod_max: date = ...,first_production_month_min: date = ...,first_production_month_max: date = ...,modeled: bool = ...,operator: Union[list[str], str] = ...,production_month: Union[list[int], int] = ...,region_natgas: Union[list[str], str] = ...,state_code: Union[list[str], str] = ...,state_reported: bool = ...,sub_region_natgas: Union[list[str], str] = ...,well_id: Union[list[str], str] = ...) -> Result:
|
|
39
|
+
"""Long term well declines at a monthly rate."""
|
|
40
|
+
...
|
|
41
|
+
def short_term_forecast_history(self,aggregate_by: list[Literal['county', 'date_prod', 'operator', 'region_natgas', 'state_code', 'sub_region_natgas']] = ...,county: Union[list[str], str] = ...,date_forecast_run: date,date_prod_min: date = ...,date_prod_max: date = ...,operator: Union[list[str], str] = ...,region_natgas: Union[list[str], str] = ...,state_code: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...,well_id: Union[list[str], str] = ...) -> Result:
|
|
42
|
+
"""Monthly production backcasts by well."""
|
|
43
|
+
...
|
|
44
|
+
def fetch_forecast_run_dates(self) -> Result:
|
|
45
|
+
"""Forecast run dates"""
|
|
46
|
+
...
|
|
47
|
+
def short_term_forecast_aggregated_history(self,date_forecast_run: date = ...,date_prod_min: date = ...,date_prod_max: date = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
48
|
+
"""Subregion aggregated histories of all shorttermforecasts."""
|
|
49
|
+
...
|
|
50
|
+
def fetch_tils(self) -> Result:
|
|
51
|
+
"""TIL monitoring data."""
|
|
52
|
+
...
|
|
53
|
+
def wells(self,aggregate_by: list[Literal['county', 'date_first_production', 'date_spud', 'operator', 'region_natgas', 'state_code', 'sub_region_natgas']] = ...,county: Union[list[str], str] = ...,date_spud_min: date = ...,date_spud_max: date = ...,date_first_production_min: date = ...,date_first_production_max: date = ...,depth_min: float = ...,depth_max: float = ...,horizontal_length_min: float = ...,horizontal_length_max: float = ...,operator: Union[list[str], str] = ...,region_natgas: Union[list[str], str] = ...,state_code: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
54
|
+
"""Well level details. Well level data derived from all sources."""
|
|
55
|
+
...
|
|
56
|
+
def frac_crews(self,aggregate_by: list[Literal['county', 'date_frac', 'operator', 'region_natgas', 'service_company', 'state_code', 'sub_region_natgas']] = ...,county: Union[list[str], str] = ...,date_frac_min: date = ...,date_frac_max: date = ...,frac_class: Union[list[Literal['oil', 'gas', 'TBD']], Literal['oil', 'gas', 'TBD']] = ...,operator: Union[list[str], str] = ...,region_natgas: Union[list[str], str] = ...,service_company: list[str] = ...,state_code: Union[list[str], str] = ...,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
57
|
+
"""Frac crew location by wellpad and date"""
|
|
58
|
+
...
|
|
59
|
+
def lower_48_total_stf(self) -> Result:
|
|
60
|
+
"""Aggregated STF for lower 48, including plug regions"""
|
|
61
|
+
...
|
|
62
|
+
def beta_complete_report_date(self,sub_region_natgas: Union[list[str], str] = ...) -> Result:
|
|
63
|
+
"""Get most recent date for which reported data in this subregion is considered complete."""
|
|
64
|
+
...
|