LCPDelta 2.2.0__tar.gz → 2.2.2__tar.gz

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.
Files changed (50) hide show
  1. {lcpdelta-2.2.0/lcpdelta_python_package/src/LCPDelta.egg-info → lcpdelta-2.2.2}/PKG-INFO +4 -3
  2. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/README.md +2 -1
  3. {lcpdelta-2.2.0 → lcpdelta-2.2.2/lcpdelta_python_package/src/LCPDelta.egg-info}/PKG-INFO +4 -3
  4. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/common/constants.py +5 -5
  5. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/flextrack/api_helper.py +2 -2
  6. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/pyproject.toml +3 -3
  7. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/LICENSE +0 -0
  8. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/LICENSE-Apache +0 -0
  9. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/LCPDelta.egg-info/SOURCES.txt +0 -0
  10. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/LCPDelta.egg-info/dependency_links.txt +0 -0
  11. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/LCPDelta.egg-info/requires.txt +0 -0
  12. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/LCPDelta.egg-info/top_level.txt +0 -0
  13. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/__init__.py +0 -0
  14. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/common/__init__.py +0 -0
  15. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/common/api_endpoints.py +0 -0
  16. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/common/api_helper_base.py +0 -0
  17. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/common/credentials_holder.py +0 -0
  18. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/common/http/exceptions.py +0 -0
  19. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/common/http/retry_policies.py +0 -0
  20. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/common/response_objects/usage_info.py +0 -0
  21. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/__init__.py +0 -0
  22. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/api_helper.py +0 -0
  23. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/base_endpoints.py +0 -0
  24. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/chart_helper.py +0 -0
  25. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/configs/__init__.py +0 -0
  26. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/configs/base_endpoints_default.py +0 -0
  27. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/configs/base_endpoints_dev.py +0 -0
  28. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/dps_helper.py +0 -0
  29. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/enums.py +0 -0
  30. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/helpers.py +0 -0
  31. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/loader.py +0 -0
  32. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/multi_series_dps_helper.py +0 -0
  33. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/ancillary_service.py +0 -0
  34. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/bm_service.py +0 -0
  35. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/carbon_calculator_service.py +0 -0
  36. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/contract_evolution_service.py +0 -0
  37. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/day_ahead_service.py +0 -0
  38. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/epex_service.py +0 -0
  39. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/hof_service.py +0 -0
  40. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/index_service.py +0 -0
  41. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/leaderboard_service.py +0 -0
  42. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/news_table_service.py +0 -0
  43. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/niv_evolution_service.py +0 -0
  44. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/nordpool_service.py +0 -0
  45. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/plant_service.py +0 -0
  46. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/enact/services/series_service.py +0 -0
  47. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/flextrack/__init__.py +0 -0
  48. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/flextrack/services/exporter_service.py +0 -0
  49. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/lcpdelta_python_package/src/lcp_delta/global_helpers.py +0 -0
  50. {lcpdelta-2.2.0 → lcpdelta-2.2.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LCPDelta
3
- Version: 2.2.0
3
+ Version: 2.2.2
4
4
  Summary: LCPDelta Python Package
5
5
  Author-email: LCP Delta <enact.helpdesk@lcp.uk.com>
6
6
  Project-URL: Homepage, https://portal.lcpdelta.com/
@@ -8,7 +8,7 @@ Keywords: LCPDelta,Enact,Flextrack,Storetrack
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: Other/Proprietary License
10
10
  Classifier: Operating System :: OS Independent
11
- Requires-Python: >=3.9
11
+ Requires-Python: >=3.11
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  License-File: LICENSE-Apache
@@ -42,7 +42,7 @@ The LCPDelta Python package provides streamlined access to data available from t
42
42
  It contains helper methods for requesting data from our API endpoints or subscribing to push groups, all of which are detailed on our [**developer documentation site**][Api_Docs].
43
43
 
44
44
  ### Installation
45
- The Python package requires Python 3.9 or greater, and can be installed via:
45
+ The Python package requires Python 3.11 or greater, and can be installed via:
46
46
 
47
47
  ```
48
48
  pip install LCPDelta
@@ -69,6 +69,7 @@ flextrack_api_helper = flextrack.APIHelper(username, public_api_key)
69
69
 
70
70
  From here, you can call any of the available helper methods to retrieve data in one call or listen for pushes. The following example makes use of Enact's Series Data endpoint:
71
71
  ```python
72
+ from datetime import date
72
73
 
73
74
  from_date = date(2023,10,1)
74
75
  to_date = date(2024,10,1)
@@ -4,7 +4,7 @@ The LCPDelta Python package provides streamlined access to data available from t
4
4
  It contains helper methods for requesting data from our API endpoints or subscribing to push groups, all of which are detailed on our [**developer documentation site**][Api_Docs].
5
5
 
6
6
  ### Installation
7
- The Python package requires Python 3.9 or greater, and can be installed via:
7
+ The Python package requires Python 3.11 or greater, and can be installed via:
8
8
 
9
9
  ```
10
10
  pip install LCPDelta
@@ -31,6 +31,7 @@ flextrack_api_helper = flextrack.APIHelper(username, public_api_key)
31
31
 
32
32
  From here, you can call any of the available helper methods to retrieve data in one call or listen for pushes. The following example makes use of Enact's Series Data endpoint:
33
33
  ```python
34
+ from datetime import date
34
35
 
35
36
  from_date = date(2023,10,1)
36
37
  to_date = date(2024,10,1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LCPDelta
3
- Version: 2.2.0
3
+ Version: 2.2.2
4
4
  Summary: LCPDelta Python Package
5
5
  Author-email: LCP Delta <enact.helpdesk@lcp.uk.com>
6
6
  Project-URL: Homepage, https://portal.lcpdelta.com/
@@ -8,7 +8,7 @@ Keywords: LCPDelta,Enact,Flextrack,Storetrack
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: Other/Proprietary License
10
10
  Classifier: Operating System :: OS Independent
11
- Requires-Python: >=3.9
11
+ Requires-Python: >=3.11
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  License-File: LICENSE-Apache
@@ -42,7 +42,7 @@ The LCPDelta Python package provides streamlined access to data available from t
42
42
  It contains helper methods for requesting data from our API endpoints or subscribing to push groups, all of which are detailed on our [**developer documentation site**][Api_Docs].
43
43
 
44
44
  ### Installation
45
- The Python package requires Python 3.9 or greater, and can be installed via:
45
+ The Python package requires Python 3.11 or greater, and can be installed via:
46
46
 
47
47
  ```
48
48
  pip install LCPDelta
@@ -69,6 +69,7 @@ flextrack_api_helper = flextrack.APIHelper(username, public_api_key)
69
69
 
70
70
  From here, you can call any of the available helper methods to retrieve data in one call or listen for pushes. The following example makes use of Enact's Series Data endpoint:
71
71
  ```python
72
+ from datetime import date
72
73
 
73
74
  from_date = date(2023,10,1)
74
75
  to_date = date(2024,10,1)
@@ -1,16 +1,16 @@
1
- MAIN_BASE_URL = "https://enactapifd.lcp.uk.com"
1
+ MAIN_BASE_URL = "https://enact.lcp.com/api"
2
2
  MAIN_BASE_URL_DEV = "https://enact-backupapi-one.lcp.uk.com"
3
3
 
4
- EPEX_BASE_URL = "https://enact-epex.azurefd.net"
4
+ EPEX_BASE_URL = "https://enact.lcp.com/epexgb"
5
5
  EPEX_BASE_URL_DEV = "https://enact-backupapi-two.lcp.uk.com"
6
6
 
7
- SERIES_BASE_URL = "https://enact-functionapp-siteapi.azurewebsites.net"
7
+ SERIES_BASE_URL = "https://enact.lcp.com/series"
8
8
  SERIES_BASE_URL_DEV = "https://enact-functionapp-siteapi-staging.azurewebsites.net"
9
9
 
10
- PUSH_SERVICE_BASE_URL = "https://enact-signalrhub.azurewebsites.net"
10
+ PUSH_SERVICE_BASE_URL = "https://enact.lcp.com/signalr"
11
11
  PUSH_SERVICE_BASE_URL_DEV = "https://enact-signalrhub-staging.azurewebsites.net"
12
12
 
13
- FREE_API_BASE_URL = "https://enact-carboncalculatorpremium-prd-ukd-func.azurewebsites.net"
13
+ FREE_API_BASE_URL = "https://enact.lcp.com/free"
14
14
 
15
15
  MAIN_FD_BYPASS_LOOKUP_URL = f"{MAIN_BASE_URL}/enactApi/url/getBaseUrl"
16
16
  EPEX_FD_BYPASS_LOOKUP_URL = f"{EPEX_BASE_URL}/epexApi/url/getBaseUrl"
@@ -50,7 +50,7 @@ class APIHelper(APIHelperBase):
50
50
  Returns:
51
51
  Response: The response object containing the series data.
52
52
  """
53
- endpoint = "https://enact-staticchartapi.azurewebsites.net/FLEXTrackAPI/Exporter/Data"
53
+ endpoint = "https://enact.lcp.com/staticchart/FLEXTrackAPI/Exporter/Data"
54
54
  request_body = exporter_service.generate_request(
55
55
  date_from,
56
56
  date_to,
@@ -80,7 +80,7 @@ class APIHelper(APIHelperBase):
80
80
  weighting_metric: list[str] = None,
81
81
  ) -> pd.DataFrame:
82
82
  """An asynchronous version of `get_exporter_data`."""
83
- endpoint = "https://enact-staticchartapi.azurewebsites.net/FLEXTrackAPI/Exporter/Data"
83
+ endpoint = "https://enact.lcp.com/staticchart/FLEXTrackAPI/Exporter/Data"
84
84
  request_body = exporter_service.generate_request(
85
85
  date_from,
86
86
  date_to,
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "LCPDelta"
7
- version = "2.2.0"
7
+ version = "2.2.2"
8
8
  authors = [
9
9
  { name="LCP Delta", email="enact.helpdesk@lcp.uk.com" },
10
10
  ]
11
11
  description = "LCPDelta Python Package"
12
12
  readme = "README.md"
13
- requires-python = ">=3.9"
13
+ requires-python = ">=3.11"
14
14
  keywords = ["LCPDelta", "Enact", "Flextrack", "Storetrack"]
15
15
  classifiers = [
16
16
  "Programming Language :: Python :: 3",
@@ -52,7 +52,7 @@ dev = [
52
52
  [tool.ruff]
53
53
  src = ["lcpdelta_python_package/src"]
54
54
  line-length = 120
55
- target-version = "2.2.0"
55
+ target-version = "2.2.2"
56
56
 
57
57
  [tool.ruff.lint.extend-per-file-ignores]
58
58
  "__init__.py" = ["E402", "F401"]
File without changes
File without changes
File without changes