marktmentor 0.1.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.
Files changed (208) hide show
  1. marktmentor/CONTRIBUTING.md +125 -0
  2. marktmentor/README.md +226 -0
  3. marktmentor/__init__.py +521 -0
  4. marktmentor/_default_clients.py +30 -0
  5. marktmentor/client.py +328 -0
  6. marktmentor/core/__init__.py +132 -0
  7. marktmentor/core/api_error.py +23 -0
  8. marktmentor/core/client_wrapper.py +146 -0
  9. marktmentor/core/datetime_utils.py +70 -0
  10. marktmentor/core/file.py +96 -0
  11. marktmentor/core/force_multipart.py +18 -0
  12. marktmentor/core/http_client.py +1047 -0
  13. marktmentor/core/http_response.py +63 -0
  14. marktmentor/core/http_sse/__init__.py +42 -0
  15. marktmentor/core/http_sse/_api.py +480 -0
  16. marktmentor/core/http_sse/_decoders.py +99 -0
  17. marktmentor/core/http_sse/_exceptions.py +32 -0
  18. marktmentor/core/http_sse/_models.py +42 -0
  19. marktmentor/core/jsonable_encoder.py +170 -0
  20. marktmentor/core/logging.py +107 -0
  21. marktmentor/core/pagination.py +165 -0
  22. marktmentor/core/parse_error.py +36 -0
  23. marktmentor/core/pydantic_utilities.py +540 -0
  24. marktmentor/core/query_encoder.py +58 -0
  25. marktmentor/core/remove_none_from_dict.py +11 -0
  26. marktmentor/core/request_options.py +43 -0
  27. marktmentor/core/serialization.py +347 -0
  28. marktmentor/environment.py +7 -0
  29. marktmentor/errors/__init__.py +59 -0
  30. marktmentor/errors/bad_request_error.py +10 -0
  31. marktmentor/errors/conflict_error.py +10 -0
  32. marktmentor/errors/forbidden_error.py +10 -0
  33. marktmentor/errors/not_found_error.py +11 -0
  34. marktmentor/errors/payment_required_error.py +11 -0
  35. marktmentor/errors/service_unavailable_error.py +10 -0
  36. marktmentor/errors/too_many_requests_error.py +10 -0
  37. marktmentor/errors/unauthorized_error.py +10 -0
  38. marktmentor/niches/__init__.py +82 -0
  39. marktmentor/niches/client.py +1116 -0
  40. marktmentor/niches/raw_client.py +2385 -0
  41. marktmentor/niches/types/__init__.py +80 -0
  42. marktmentor/niches/types/get_niches_request_market.py +5 -0
  43. marktmentor/niches/types/get_niches_request_period.py +5 -0
  44. marktmentor/niches/types/list_niches_request_market.py +5 -0
  45. marktmentor/niches/types/list_niches_request_period.py +5 -0
  46. marktmentor/niches/types/list_niches_request_sort.py +7 -0
  47. marktmentor/niches/types/product_distributions_niches_request_period.py +5 -0
  48. marktmentor/niches/types/products_niches_request_market.py +5 -0
  49. marktmentor/niches/types/products_niches_request_period.py +5 -0
  50. marktmentor/niches/types/products_niches_request_sort.py +7 -0
  51. marktmentor/niches/types/review_history_niches_request_interval.py +5 -0
  52. marktmentor/niches/types/review_history_niches_request_market.py +5 -0
  53. marktmentor/niches/types/review_history_niches_request_period.py +5 -0
  54. marktmentor/niches/types/reviews_niches_request_market.py +5 -0
  55. marktmentor/niches/types/reviews_niches_request_period.py +5 -0
  56. marktmentor/niches/types/reviews_niches_request_sort.py +5 -0
  57. marktmentor/organization/__init__.py +4 -0
  58. marktmentor/organization/client.py +104 -0
  59. marktmentor/organization/raw_client.py +199 -0
  60. marktmentor/products/__init__.py +109 -0
  61. marktmentor/products/client.py +1508 -0
  62. marktmentor/products/raw_client.py +3494 -0
  63. marktmentor/products/types/__init__.py +107 -0
  64. marktmentor/products/types/category_rankings_products_request_interval.py +5 -0
  65. marktmentor/products/types/category_rankings_products_request_market.py +5 -0
  66. marktmentor/products/types/category_rankings_products_request_period.py +5 -0
  67. marktmentor/products/types/get_products_request_market.py +5 -0
  68. marktmentor/products/types/get_products_request_period.py +5 -0
  69. marktmentor/products/types/keyword_rankings_products_request_interval.py +5 -0
  70. marktmentor/products/types/keyword_rankings_products_request_market.py +5 -0
  71. marktmentor/products/types/keyword_rankings_products_request_period.py +5 -0
  72. marktmentor/products/types/keywords_products_request_market.py +5 -0
  73. marktmentor/products/types/keywords_products_request_period.py +5 -0
  74. marktmentor/products/types/list_products_request_market.py +5 -0
  75. marktmentor/products/types/list_products_request_period.py +5 -0
  76. marktmentor/products/types/list_products_request_sort.py +7 -0
  77. marktmentor/products/types/reviews_products_request_market.py +5 -0
  78. marktmentor/products/types/reviews_products_request_period.py +5 -0
  79. marktmentor/products/types/reviews_products_request_sort.py +5 -0
  80. marktmentor/products/types/sales_history_products_request_interval.py +5 -0
  81. marktmentor/products/types/sales_history_products_request_market.py +5 -0
  82. marktmentor/products/types/sales_history_products_request_period.py +5 -0
  83. marktmentor/products/types/sellers_products_request_market.py +5 -0
  84. marktmentor/products/types/sellers_products_request_period.py +5 -0
  85. marktmentor/products/types/visibility_history_products_request_interval.py +5 -0
  86. marktmentor/products/types/visibility_history_products_request_market.py +5 -0
  87. marktmentor/products/types/visibility_history_products_request_period.py +5 -0
  88. marktmentor/reference/__init__.py +4 -0
  89. marktmentor/reference/client.py +353 -0
  90. marktmentor/reference/raw_client.py +764 -0
  91. marktmentor/reference.md +2847 -0
  92. marktmentor/store/__init__.py +49 -0
  93. marktmentor/store/client.py +478 -0
  94. marktmentor/store/raw_client.py +977 -0
  95. marktmentor/store/types/__init__.py +47 -0
  96. marktmentor/store/types/inventory_store_request_stock_state.py +5 -0
  97. marktmentor/store/types/overview_store_request_country.py +5 -0
  98. marktmentor/store/types/products_store_request_country.py +5 -0
  99. marktmentor/store/types/products_store_request_sort.py +7 -0
  100. marktmentor/tests/conftest.py +21 -0
  101. marktmentor/tests/test_aiohttp_autodetect.py +113 -0
  102. marktmentor/types/__init__.py +332 -0
  103. marktmentor/types/allowance_error.py +29 -0
  104. marktmentor/types/allowance_error_code.py +7 -0
  105. marktmentor/types/brand.py +22 -0
  106. marktmentor/types/brand_list_response.py +33 -0
  107. marktmentor/types/bundle_usage.py +82 -0
  108. marktmentor/types/category.py +61 -0
  109. marktmentor/types/category_item.py +22 -0
  110. marktmentor/types/category_list_response.py +22 -0
  111. marktmentor/types/category_path_item.py +22 -0
  112. marktmentor/types/category_ranking.py +23 -0
  113. marktmentor/types/category_rankings_response.py +23 -0
  114. marktmentor/types/category_response.py +20 -0
  115. marktmentor/types/commission_bracket.py +40 -0
  116. marktmentor/types/current_period.py +33 -0
  117. marktmentor/types/dimensions.py +40 -0
  118. marktmentor/types/distribution_bucket.py +29 -0
  119. marktmentor/types/distribution_data.py +37 -0
  120. marktmentor/types/free_tier_usage.py +50 -0
  121. marktmentor/types/keyword_item.py +24 -0
  122. marktmentor/types/keyword_markets.py +27 -0
  123. marktmentor/types/keyword_metrics.py +24 -0
  124. marktmentor/types/keyword_ranking.py +28 -0
  125. marktmentor/types/keyword_rankings_response.py +23 -0
  126. marktmentor/types/keyword_response.py +24 -0
  127. marktmentor/types/listing_changes.py +25 -0
  128. marktmentor/types/niche_detail.py +47 -0
  129. marktmentor/types/niche_detail_response.py +22 -0
  130. marktmentor/types/niche_distributions_response.py +21 -0
  131. marktmentor/types/niche_history_data.py +20 -0
  132. marktmentor/types/niche_history_response.py +23 -0
  133. marktmentor/types/niche_item.py +45 -0
  134. marktmentor/types/niche_list_response.py +24 -0
  135. marktmentor/types/niche_markets.py +27 -0
  136. marktmentor/types/niche_metrics.py +25 -0
  137. marktmentor/types/niche_period.py +21 -0
  138. marktmentor/types/oauth_scope.py +5 -0
  139. marktmentor/types/organization.py +20 -0
  140. marktmentor/types/pagination.py +24 -0
  141. marktmentor/types/period.py +26 -0
  142. marktmentor/types/period_ratings.py +25 -0
  143. marktmentor/types/period_reviews.py +41 -0
  144. marktmentor/types/product_detail.py +115 -0
  145. marktmentor/types/product_detail_response.py +29 -0
  146. marktmentor/types/product_detail_response_market.py +5 -0
  147. marktmentor/types/product_distributions.py +22 -0
  148. marktmentor/types/product_item.py +104 -0
  149. marktmentor/types/product_list_response.py +31 -0
  150. marktmentor/types/product_list_response_market.py +5 -0
  151. marktmentor/types/product_market_metrics.py +44 -0
  152. marktmentor/types/product_markets.py +27 -0
  153. marktmentor/types/public_api_error.py +20 -0
  154. marktmentor/types/rank_markets.py +26 -0
  155. marktmentor/types/rank_point.py +22 -0
  156. marktmentor/types/rating_count.py +24 -0
  157. marktmentor/types/research_error.py +22 -0
  158. marktmentor/types/review_history_point.py +33 -0
  159. marktmentor/types/review_item.py +49 -0
  160. marktmentor/types/review_list_response.py +24 -0
  161. marktmentor/types/review_summary.py +50 -0
  162. marktmentor/types/review_summary_response.py +21 -0
  163. marktmentor/types/review_topic.py +20 -0
  164. marktmentor/types/sales_history_markets.py +27 -0
  165. marktmentor/types/sales_history_metrics.py +21 -0
  166. marktmentor/types/sales_history_point.py +22 -0
  167. marktmentor/types/sales_history_response.py +23 -0
  168. marktmentor/types/seller_item.py +29 -0
  169. marktmentor/types/seller_markets.py +27 -0
  170. marktmentor/types/seller_metrics.py +45 -0
  171. marktmentor/types/seller_response.py +31 -0
  172. marktmentor/types/seller_summary_markets.py +27 -0
  173. marktmentor/types/seller_summary_metrics.py +40 -0
  174. marktmentor/types/store_change.py +29 -0
  175. marktmentor/types/store_error.py +21 -0
  176. marktmentor/types/store_filters.py +19 -0
  177. marktmentor/types/store_inventory_counts.py +27 -0
  178. marktmentor/types/store_inventory_filters.py +24 -0
  179. marktmentor/types/store_inventory_pagination.py +28 -0
  180. marktmentor/types/store_inventory_response.py +46 -0
  181. marktmentor/types/store_inventory_response_counts_scope.py +5 -0
  182. marktmentor/types/store_inventory_row.py +53 -0
  183. marktmentor/types/store_inventory_row_stock_state.py +5 -0
  184. marktmentor/types/store_kpi.py +43 -0
  185. marktmentor/types/store_overview_response.py +52 -0
  186. marktmentor/types/store_performance_product_performance_item.py +179 -0
  187. marktmentor/types/store_performance_return_costs_breakdown.py +46 -0
  188. marktmentor/types/store_performance_sales_costs_breakdown.py +38 -0
  189. marktmentor/types/store_previous_kpi.py +29 -0
  190. marktmentor/types/store_products_filters.py +25 -0
  191. marktmentor/types/store_products_pagination.py +39 -0
  192. marktmentor/types/store_products_response.py +46 -0
  193. marktmentor/types/unauthorized_error_body.py +19 -0
  194. marktmentor/types/usage.py +56 -0
  195. marktmentor/types/usage_credential.py +5 -0
  196. marktmentor/types/usage_organization.py +20 -0
  197. marktmentor/types/usage_plan.py +5 -0
  198. marktmentor/types/visibility_history_response.py +23 -0
  199. marktmentor/types/visibility_markets.py +27 -0
  200. marktmentor/types/visibility_metrics.py +26 -0
  201. marktmentor/types/visibility_point.py +22 -0
  202. marktmentor/usage/__init__.py +4 -0
  203. marktmentor/usage/client.py +104 -0
  204. marktmentor/usage/raw_client.py +195 -0
  205. marktmentor-0.1.0.dist-info/METADATA +39 -0
  206. marktmentor-0.1.0.dist-info/RECORD +208 -0
  207. marktmentor-0.1.0.dist-info/WHEEL +4 -0
  208. marktmentor-0.1.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,125 @@
1
+ # Contributing
2
+
3
+ Thanks for your interest in contributing to this SDK! This document provides guidelines for contributing to the project.
4
+
5
+ ## Getting Started
6
+
7
+ ### Prerequisites
8
+
9
+ - Python 3.9+
10
+ - pip
11
+ - poetry
12
+
13
+ ### Installation
14
+
15
+ Install the project dependencies:
16
+
17
+ ```bash
18
+ poetry install
19
+ ```
20
+
21
+ ### Building
22
+
23
+ Build the project:
24
+
25
+ ```bash
26
+ poetry build
27
+ ```
28
+
29
+ ### Testing
30
+
31
+ Run the test suite:
32
+
33
+ ```bash
34
+ poetry run pytest
35
+ ```
36
+
37
+ ### Linting and Formatting
38
+
39
+ Check code style:
40
+
41
+ ```bash
42
+ poetry run ruff check .
43
+ poetry run ruff format .
44
+ ```
45
+
46
+ ### Type Checking
47
+
48
+ Run the type checker:
49
+
50
+ ```bash
51
+ poetry run mypy .
52
+ ```
53
+
54
+ ## About Generated Code
55
+
56
+ **Important**: Most files in this SDK are automatically generated by [Fern](https://buildwithfern.com) from the API definition. Direct modifications to generated files will be overwritten the next time the SDK is generated.
57
+
58
+ ### Generated Files
59
+
60
+ The following directories contain generated code:
61
+ - `src/` - API client classes and types
62
+ - Most Python files in the project
63
+
64
+ ### How to Customize
65
+
66
+ If you need to customize the SDK, you have two options:
67
+
68
+ #### Option 1: Use `.fernignore`
69
+
70
+ For custom code that should persist across SDK regenerations:
71
+
72
+ 1. Create a `.fernignore` file in the project root
73
+ 2. Add file patterns for files you want to preserve (similar to `.gitignore` syntax)
74
+ 3. Add your custom code to those files
75
+
76
+ Files listed in `.fernignore` will not be overwritten when the SDK is regenerated.
77
+
78
+ For more information, see the [Fern documentation on custom code](https://buildwithfern.com/learn/sdks/overview/custom-code).
79
+
80
+ #### Option 2: Contribute to the Generator
81
+
82
+ If you want to change how code is generated for all users of this SDK:
83
+
84
+ 1. The Python SDK generator lives in the [Fern repository](https://github.com/fern-api/fern)
85
+ 2. Generator code is located at `generators/python-v2/`
86
+ 3. Follow the [Fern contributing guidelines](https://github.com/fern-api/fern/blob/main/CONTRIBUTING.md)
87
+ 4. Submit a pull request with your changes to the generator
88
+
89
+ This approach is best for:
90
+ - Bug fixes in generated code
91
+ - New features that would benefit all users
92
+ - Improvements to code generation patterns
93
+
94
+ ## Making Changes
95
+
96
+ ### Workflow
97
+
98
+ 1. Create a new branch for your changes
99
+ 2. Make your modifications
100
+ 3. Run tests to ensure nothing breaks: `poetry run pytest`
101
+ 4. Run linting and formatting: `poetry run ruff check .` and `poetry run ruff format .`
102
+ 5. Run type checking: `poetry run mypy .`
103
+ 6. Build the project: `poetry build`
104
+ 7. Commit your changes with a clear commit message
105
+ 8. Push your branch and create a pull request
106
+
107
+ ### Commit Messages
108
+
109
+ Write clear, descriptive commit messages that explain what changed and why.
110
+
111
+ ### Code Style
112
+
113
+ This project uses automated code formatting and linting. Run `poetry run ruff format .` and `poetry run ruff check .` before committing to ensure your code meets the project's style guidelines.
114
+
115
+ ## Questions or Issues?
116
+
117
+ If you have questions or run into issues:
118
+
119
+ 1. Check the [Fern documentation](https://buildwithfern.com)
120
+ 2. Search existing [GitHub issues](https://github.com/fern-api/fern/issues)
121
+ 3. Open a new issue if your question hasn't been addressed
122
+
123
+ ## License
124
+
125
+ By contributing to this project, you agree that your contributions will be licensed under the same license as the project.
marktmentor/README.md ADDED
@@ -0,0 +1,226 @@
1
+ # MarktMentor Python Library
2
+
3
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=MarktMentor%2FPython)
4
+ [![pypi](https://img.shields.io/pypi/v/marktmentor)](https://pypi.python.org/pypi/marktmentor)
5
+
6
+ The MarktMentor Python library provides convenient access to the MarktMentor APIs from Python.
7
+
8
+ ## Table of Contents
9
+
10
+ - [Installation](#installation)
11
+ - [Reference](#reference)
12
+ - [Usage](#usage)
13
+ - [Environments](#environments)
14
+ - [Async Client](#async-client)
15
+ - [Exception Handling](#exception-handling)
16
+ - [Pagination](#pagination)
17
+ - [Advanced](#advanced)
18
+ - [Access Raw Response Data](#access-raw-response-data)
19
+ - [Retries](#retries)
20
+ - [Timeouts](#timeouts)
21
+ - [Custom Client](#custom-client)
22
+ - [Contributing](#contributing)
23
+
24
+ ## Installation
25
+
26
+ ```sh
27
+ pip install marktmentor
28
+ ```
29
+
30
+ ## Reference
31
+
32
+ A full reference for this library is available [here](./reference.md).
33
+
34
+ ## Usage
35
+
36
+ Instantiate and use the client with the following:
37
+
38
+ ```python
39
+ from marktmentor import MarktMentor
40
+
41
+ client = MarktMentor(
42
+ token="<token>",
43
+ )
44
+
45
+ client.products.list(
46
+ brand="Kambukka",
47
+ ean="5407005143414",
48
+ search="drinkfles",
49
+ )
50
+ ```
51
+
52
+ ## Environments
53
+
54
+ This SDK allows you to configure different environments for API requests.
55
+
56
+ ```python
57
+ from marktmentor import MarktMentor
58
+ from marktmentor.environment import MarktMentorEnvironment
59
+
60
+ client = MarktMentor(
61
+ environment=MarktMentorEnvironment.PRODUCTION,
62
+ )
63
+ ```
64
+
65
+ ## Async Client
66
+
67
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
68
+
69
+ ```python
70
+ import asyncio
71
+
72
+ from marktmentor import AsyncMarktMentor
73
+
74
+ client = AsyncMarktMentor(
75
+ token="<token>",
76
+ )
77
+
78
+
79
+ async def main() -> None:
80
+ await client.products.list(
81
+ brand="Kambukka",
82
+ ean="5407005143414",
83
+ search="drinkfles",
84
+ )
85
+
86
+
87
+ asyncio.run(main())
88
+ ```
89
+
90
+ ## Exception Handling
91
+
92
+ When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
93
+ will be thrown.
94
+
95
+ ```python
96
+ from marktmentor.core.api_error import ApiError
97
+
98
+ try:
99
+ client.products.list(...)
100
+ except ApiError as e:
101
+ print(e.status_code)
102
+ print(e.body)
103
+ ```
104
+
105
+ ## Pagination
106
+
107
+ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used as generators for the underlying object.
108
+
109
+ ```python
110
+ from marktmentor import MarktMentor
111
+
112
+ client = MarktMentor(
113
+ token="<token>",
114
+ )
115
+
116
+ client.products.list(
117
+ brand="Kambukka",
118
+ ean="5407005143414",
119
+ search="drinkfles",
120
+ )
121
+ ```
122
+
123
+ ```python
124
+ # You can also iterate through pages and access the typed response per page
125
+ pager = client.products.list(...)
126
+ for page in pager.iter_pages():
127
+ print(page.response) # access the typed response for each page
128
+ for item in page:
129
+ print(item)
130
+ ```
131
+
132
+ ## Advanced
133
+
134
+ ### Access Raw Response Data
135
+
136
+ The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
137
+ The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
138
+
139
+ ```python
140
+ from marktmentor import MarktMentor
141
+
142
+ client = MarktMentor(
143
+ ...,
144
+ )
145
+ pager = client.products.list(...)
146
+ print(pager.response) # access the typed response for the first page
147
+ for item in pager:
148
+ print(item) # access the underlying object(s)
149
+ for page in pager.iter_pages():
150
+ print(page.response) # access the typed response for each page
151
+ for item in page:
152
+ print(item) # access the underlying object(s)
153
+ ```
154
+
155
+ ### Retries
156
+
157
+ The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
158
+ as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
159
+ retry limit (default: 2).
160
+
161
+ Which status codes are retried depends on the `retryStatusCodes` generator configuration:
162
+
163
+ **`legacy`** (current default): retries on
164
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
165
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
166
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
167
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (All server errors, including 500)
168
+
169
+ **`recommended`**: retries on
170
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
171
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
172
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
173
+ - [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
174
+ - [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
175
+ - [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
176
+
177
+ Use the `max_retries` request option to configure this behavior.
178
+
179
+ ```python
180
+ client.products.list(..., request_options={
181
+ "max_retries": 1
182
+ })
183
+ ```
184
+
185
+ ### Timeouts
186
+
187
+ The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
188
+
189
+ ```python
190
+ from marktmentor import MarktMentor
191
+
192
+ client = MarktMentor(..., timeout=20.0)
193
+
194
+ # Override timeout for a specific method
195
+ client.products.list(..., request_options={
196
+ "timeout": 1
197
+ })
198
+ ```
199
+
200
+ ### Custom Client
201
+
202
+ You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
203
+ and transports.
204
+
205
+ ```python
206
+ import httpx
207
+ from marktmentor import MarktMentor
208
+
209
+ client = MarktMentor(
210
+ ...,
211
+ httpx_client=httpx.Client(
212
+ proxy="http://my.test.proxy.example.com",
213
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
214
+ ),
215
+ )
216
+ ```
217
+
218
+ ## Contributing
219
+
220
+ While we value open-source contributions to this SDK, this library is generated programmatically.
221
+ Additions made directly to this library would have to be moved over to our generation code,
222
+ otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
223
+ a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
224
+ an issue first to discuss with us!
225
+
226
+ On the other hand, contributions to the README are always very welcome!