stackit-cost 0.2.0__tar.gz → 0.3.0__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 (25) hide show
  1. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/PKG-INFO +3 -4
  2. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/pyproject.toml +7 -7
  3. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/__init__.py +5 -6
  4. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/api/default_api.py +5 -5
  5. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/api_client.py +5 -6
  6. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/api_response.py +0 -1
  7. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/configuration.py +5 -6
  8. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/exceptions.py +5 -5
  9. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/__init__.py +5 -5
  10. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/auth_error_response.py +5 -5
  11. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/detailed_service_cost.py +5 -5
  12. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/error_response.py +5 -5
  13. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/project_cost.py +5 -6
  14. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/project_cost_with_detailed_services.py +5 -5
  15. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/project_cost_with_reports.py +5 -5
  16. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/project_cost_with_summarized_services.py +5 -5
  17. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/report_data.py +5 -5
  18. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/report_data_time_period.py +5 -5
  19. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/summarized_project_cost.py +5 -5
  20. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/models/summarized_service_cost.py +5 -5
  21. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/rest.py +5 -6
  22. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/.gitignore +0 -0
  23. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/README.md +0 -0
  24. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/api/__init__.py +0 -0
  25. {stackit_cost-0.2.0 → stackit_cost-0.3.0}/src/stackit/cost/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackit-cost
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: STACKIT Cost API
5
5
  Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
6
6
  Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
@@ -8,16 +8,15 @@ Author-email: STACKIT Developer Tools <developer-tools@stackit.cloud>
8
8
  Classifier: License :: OSI Approved :: Apache Software License
9
9
  Classifier: Operating System :: OS Independent
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.9
12
11
  Classifier: Programming Language :: Python :: 3.10
13
12
  Classifier: Programming Language :: Python :: 3.11
14
13
  Classifier: Programming Language :: Python :: 3.12
15
14
  Classifier: Programming Language :: Python :: 3.13
16
15
  Classifier: Programming Language :: Python :: 3.14
17
- Requires-Python: <4.0,>=3.9
16
+ Requires-Python: <4.0,>=3.10
18
17
  Requires-Dist: pydantic>=2.9.2
19
18
  Requires-Dist: python-dateutil>=2.9.0.post0
20
- Requires-Dist: requests>=2.32.3
19
+ Requires-Dist: requests>=2.33.0
21
20
  Requires-Dist: stackit-core>=0.0.1a
22
21
  Description-Content-Type: text/markdown
23
22
 
@@ -1,15 +1,14 @@
1
1
  [project]
2
2
  name = "stackit-cost"
3
- version = "v0.2.0"
3
+ version = "v0.3.0"
4
4
  description = "STACKIT Cost API"
5
5
  authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
6
- requires-python = ">=3.9,<4.0"
6
+ requires-python = ">=3.10,<4.0"
7
7
  readme = "README.md"
8
8
  classifiers = [
9
9
  "Programming Language :: Python :: 3",
10
10
  "License :: OSI Approved :: Apache Software License",
11
11
  "Operating System :: OS Independent",
12
- "Programming Language :: Python :: 3.9",
13
12
  "Programming Language :: Python :: 3.10",
14
13
  "Programming Language :: Python :: 3.11",
15
14
  "Programming Language :: Python :: 3.12",
@@ -18,7 +17,7 @@ classifiers = [
18
17
  ]
19
18
  dependencies = [
20
19
  "stackit-core>=0.0.1a",
21
- "requests>=2.32.3",
20
+ "requests>=2.33.0",
22
21
  "pydantic>=2.9.2",
23
22
  "python-dateutil>=2.9.0.post0",
24
23
  ]
@@ -29,8 +28,8 @@ Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
29
28
 
30
29
  [dependency-groups]
31
30
  dev = [
32
- "black>=24.8.0",
33
- "pytest>=8.3.3",
31
+ "black>=26.3.1",
32
+ "pytest>=9.1.1",
34
33
  "flake8>=5.0.3 ; python_full_version < '3.12'",
35
34
  "flake8>=6.0.1 ; python_full_version >= '3.12'",
36
35
  "flake8-black>=0.3.6",
@@ -102,7 +101,8 @@ show-source = false
102
101
  max-line-length = 120
103
102
  # E203,W503 and E704 are incompatible with the formatter black
104
103
  # W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
105
- ignore = ["E203", "W503", "E704", "W291"]
104
+ # fixing B042 in upstream exceptions.mustache would be a breaking change
105
+ ignore = ["E203", "W503", "E704", "W291", "B042"]
106
106
  inline-quotes = '"'
107
107
  docstring-quotes = '"""'
108
108
  multiline-quotes = '"""'
@@ -3,17 +3,16 @@
3
3
  # flake8: noqa
4
4
 
5
5
  """
6
- STACKIT Cost API
6
+ STACKIT Cost API
7
7
 
8
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
8
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
9
9
 
10
- The version of the OpenAPI document: 3.0
11
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+ The version of the OpenAPI document: 3.0
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
13
- Do not edit the class manually.
13
+ Do not edit the class manually.
14
14
  """ # noqa: E501
15
15
 
16
-
17
16
  __version__ = "1.0.0"
18
17
 
19
18
  # Define package exports
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from datetime import date
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  import datetime
@@ -36,7 +36,6 @@ from stackit.cost.exceptions import (
36
36
  ApiException,
37
37
  )
38
38
 
39
-
40
39
  RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
41
40
 
42
41
 
@@ -6,7 +6,6 @@ from typing import Generic, Mapping, Optional, TypeVar
6
6
 
7
7
  from pydantic import BaseModel, Field, StrictBytes, StrictInt
8
8
 
9
-
10
9
  T = TypeVar("T")
11
10
 
12
11
 
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  import sys
@@ -18,7 +18,6 @@ from typing_extensions import NotRequired
18
18
 
19
19
  import os
20
20
 
21
-
22
21
  ServerVariablesT = Dict[str, str]
23
22
 
24
23
 
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from typing import Any, Optional
@@ -2,14 +2,14 @@
2
2
 
3
3
  # flake8: noqa
4
4
  """
5
- STACKIT Cost API
5
+ STACKIT Cost API
6
6
 
7
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
8
8
 
9
- The version of the OpenAPI document: 3.0
10
- Generated by OpenAPI Generator (https://openapi-generator.tech)
9
+ The version of the OpenAPI document: 3.0
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
12
- Do not edit the class manually.
12
+ Do not edit the class manually.
13
13
  """ # noqa: E501
14
14
 
15
15
  # import models into model package
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -33,7 +33,6 @@ from stackit.cost.models.project_cost_with_summarized_services import (
33
33
  )
34
34
  from stackit.cost.models.summarized_project_cost import SummarizedProjectCost
35
35
 
36
-
37
36
  PROJECTCOST_ANY_OF_SCHEMAS = [
38
37
  "ProjectCostWithDetailedServices",
39
38
  "ProjectCostWithReports",
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from __future__ import annotations
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT Cost API
4
+ STACKIT Cost API
5
5
 
6
- The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
6
+ The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
7
7
 
8
- The version of the OpenAPI document: 3.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 3.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  import io
@@ -21,7 +21,6 @@ from stackit.core.configuration import Configuration
21
21
 
22
22
  from stackit.cost.exceptions import ApiException, ApiValueError
23
23
 
24
-
25
24
  RESTResponseType = requests.Response
26
25
 
27
26
 
File without changes
File without changes