mapleflow 0.8.2__tar.gz → 0.9.1__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 (74) hide show
  1. {mapleflow-0.8.2 → mapleflow-0.9.1}/PKG-INFO +1 -1
  2. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/ai/post_ai_chat.py +104 -8
  3. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_chat_body.py +3 -3
  4. mapleflow-0.9.1/mapleflow/models/post_ai_chat_body_model.py +33 -0
  5. {mapleflow-0.8.2 → mapleflow-0.9.1}/pyproject.toml +1 -1
  6. mapleflow-0.8.2/mapleflow/models/post_ai_chat_body_model.py +0 -9
  7. {mapleflow-0.8.2 → mapleflow-0.9.1}/.gitignore +0 -0
  8. {mapleflow-0.8.2 → mapleflow-0.9.1}/README.md +0 -0
  9. {mapleflow-0.8.2 → mapleflow-0.9.1}/config.yml +0 -0
  10. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/__init__.py +0 -0
  11. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/__init__.py +0 -0
  12. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/ai/__init__.py +0 -0
  13. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/ai/post_ai_embeddings.py +0 -0
  14. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/ai/post_ai_images.py +0 -0
  15. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/ai/post_ai_speech.py +0 -0
  16. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/ai/post_ai_transcribe.py +0 -0
  17. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/images/__init__.py +0 -0
  18. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/images/post_images_bg_remove.py +0 -0
  19. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/utility/__init__.py +0 -0
  20. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/utility/get_currency.py +0 -0
  21. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/utility/get_weather.py +0 -0
  22. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/utility/post_translate.py +0 -0
  23. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/verify/__init__.py +0 -0
  24. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/verify/post_verify_face.py +0 -0
  25. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/api/verify/post_verify_labels.py +0 -0
  26. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/client.py +0 -0
  27. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/errors.py +0 -0
  28. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/__init__.py +0 -0
  29. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_currency_response_200.py +0 -0
  30. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_currency_response_400.py +0 -0
  31. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_currency_response_404.py +0 -0
  32. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_currency_response_502.py +0 -0
  33. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_weather_response_200.py +0 -0
  34. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_weather_response_400.py +0 -0
  35. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_weather_response_404.py +0 -0
  36. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_weather_response_502.py +0 -0
  37. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/get_weather_units.py +0 -0
  38. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_chat_body_messages_item.py +0 -0
  39. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_chat_response_200.py +0 -0
  40. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_chat_response_400.py +0 -0
  41. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_embeddings_body.py +0 -0
  42. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_embeddings_body_model.py +0 -0
  43. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_embeddings_response_200.py +0 -0
  44. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_embeddings_response_400.py +0 -0
  45. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_images_body.py +0 -0
  46. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_images_body_model.py +0 -0
  47. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_images_response_200.py +0 -0
  48. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_images_response_400.py +0 -0
  49. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_speech_body.py +0 -0
  50. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_speech_body_model.py +0 -0
  51. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_speech_response_200.py +0 -0
  52. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_speech_response_400.py +0 -0
  53. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_transcribe_body.py +0 -0
  54. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_transcribe_response_200.py +0 -0
  55. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_ai_transcribe_response_400.py +0 -0
  56. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_images_bg_remove_files_body.py +0 -0
  57. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_images_bg_remove_json_body.py +0 -0
  58. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_images_bg_remove_response_200.py +0 -0
  59. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_images_bg_remove_response_400.py +0 -0
  60. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_images_bg_remove_response_502.py +0 -0
  61. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_images_bg_remove_response_504.py +0 -0
  62. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_translate_body.py +0 -0
  63. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_translate_response_200.py +0 -0
  64. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_translate_response_400.py +0 -0
  65. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_translate_response_402.py +0 -0
  66. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_verify_face_files_body.py +0 -0
  67. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_verify_face_json_body.py +0 -0
  68. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_verify_face_response_200.py +0 -0
  69. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_verify_face_response_400.py +0 -0
  70. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_verify_labels_files_body.py +0 -0
  71. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_verify_labels_json_body.py +0 -0
  72. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_verify_labels_response_200.py +0 -0
  73. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/models/post_verify_labels_response_400.py +0 -0
  74. {mapleflow-0.8.2 → mapleflow-0.9.1}/mapleflow/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapleflow
3
- Version: 0.8.2
3
+ Version: 0.9.1
4
4
  Summary: Official Python SDK for the MapleFlow API platform — auto-generated from OpenAPI spec
5
5
  Project-URL: Homepage, https://mapleflow.io
6
6
  Project-URL: Repository, https://github.com/mapleflow/sdk-python
@@ -72,8 +72,32 @@ def sync_detailed(
72
72
 
73
73
  | Model | Credits |
74
74
  |---|---|
75
- | `llama-3.1-8b` | 2 |
76
- | `deepseek-r1-32b` | 5 |
75
+ | `llama-3.2-1b` | 1 |
76
+ | `llama-3.2-3b` | 1 |
77
+ | `llama-3.1-8b` | 1 |
78
+ | `llama-groq` | 1 |
79
+ | `gemini-flash-lite` | 1 |
80
+ | `gpt-oss-20b` | 1 |
81
+ | `phi-2` | 1 |
82
+ | `mistral-7b` | 1 |
83
+ | `claude-3-haiku` | 1 |
84
+ | `gemini-2.0-flash` | 1 |
85
+ | `gpt-4.1-nano` | 1 |
86
+ | `gpt-4.1-mini` | 1 |
87
+ | `gpt-4o-mini` | 1 |
88
+ | `gemini-flash` | 1 |
89
+ | `llama-70b` | 1 |
90
+ | `llama-3.3-70b-cf` | 1 |
91
+ | `deepseek-r1-32b` | 1 |
92
+ | `claude-haiku` | 1 |
93
+ | `gpt-oss-120b` | 1 |
94
+ | `grok-fast` | 1 |
95
+ | `grok-3-mini` | 1 |
96
+ | `gpt-4.1` | 1 |
97
+ | `gpt-4o` | 1 |
98
+ | `o4-mini` | 1 |
99
+ | `o3-mini` | 1 |
100
+ | `claude-sonnet` | 1 |
77
101
 
78
102
  Args:
79
103
  body (PostAiChatBody | Unset):
@@ -108,8 +132,32 @@ def sync(
108
132
 
109
133
  | Model | Credits |
110
134
  |---|---|
111
- | `llama-3.1-8b` | 2 |
112
- | `deepseek-r1-32b` | 5 |
135
+ | `llama-3.2-1b` | 1 |
136
+ | `llama-3.2-3b` | 1 |
137
+ | `llama-3.1-8b` | 1 |
138
+ | `llama-groq` | 1 |
139
+ | `gemini-flash-lite` | 1 |
140
+ | `gpt-oss-20b` | 1 |
141
+ | `phi-2` | 1 |
142
+ | `mistral-7b` | 1 |
143
+ | `claude-3-haiku` | 1 |
144
+ | `gemini-2.0-flash` | 1 |
145
+ | `gpt-4.1-nano` | 1 |
146
+ | `gpt-4.1-mini` | 1 |
147
+ | `gpt-4o-mini` | 1 |
148
+ | `gemini-flash` | 1 |
149
+ | `llama-70b` | 1 |
150
+ | `llama-3.3-70b-cf` | 1 |
151
+ | `deepseek-r1-32b` | 1 |
152
+ | `claude-haiku` | 1 |
153
+ | `gpt-oss-120b` | 1 |
154
+ | `grok-fast` | 1 |
155
+ | `grok-3-mini` | 1 |
156
+ | `gpt-4.1` | 1 |
157
+ | `gpt-4o` | 1 |
158
+ | `o4-mini` | 1 |
159
+ | `o3-mini` | 1 |
160
+ | `claude-sonnet` | 1 |
113
161
 
114
162
  Args:
115
163
  body (PostAiChatBody | Unset):
@@ -139,8 +187,32 @@ async def asyncio_detailed(
139
187
 
140
188
  | Model | Credits |
141
189
  |---|---|
142
- | `llama-3.1-8b` | 2 |
143
- | `deepseek-r1-32b` | 5 |
190
+ | `llama-3.2-1b` | 1 |
191
+ | `llama-3.2-3b` | 1 |
192
+ | `llama-3.1-8b` | 1 |
193
+ | `llama-groq` | 1 |
194
+ | `gemini-flash-lite` | 1 |
195
+ | `gpt-oss-20b` | 1 |
196
+ | `phi-2` | 1 |
197
+ | `mistral-7b` | 1 |
198
+ | `claude-3-haiku` | 1 |
199
+ | `gemini-2.0-flash` | 1 |
200
+ | `gpt-4.1-nano` | 1 |
201
+ | `gpt-4.1-mini` | 1 |
202
+ | `gpt-4o-mini` | 1 |
203
+ | `gemini-flash` | 1 |
204
+ | `llama-70b` | 1 |
205
+ | `llama-3.3-70b-cf` | 1 |
206
+ | `deepseek-r1-32b` | 1 |
207
+ | `claude-haiku` | 1 |
208
+ | `gpt-oss-120b` | 1 |
209
+ | `grok-fast` | 1 |
210
+ | `grok-3-mini` | 1 |
211
+ | `gpt-4.1` | 1 |
212
+ | `gpt-4o` | 1 |
213
+ | `o4-mini` | 1 |
214
+ | `o3-mini` | 1 |
215
+ | `claude-sonnet` | 1 |
144
216
 
145
217
  Args:
146
218
  body (PostAiChatBody | Unset):
@@ -173,8 +245,32 @@ async def asyncio(
173
245
 
174
246
  | Model | Credits |
175
247
  |---|---|
176
- | `llama-3.1-8b` | 2 |
177
- | `deepseek-r1-32b` | 5 |
248
+ | `llama-3.2-1b` | 1 |
249
+ | `llama-3.2-3b` | 1 |
250
+ | `llama-3.1-8b` | 1 |
251
+ | `llama-groq` | 1 |
252
+ | `gemini-flash-lite` | 1 |
253
+ | `gpt-oss-20b` | 1 |
254
+ | `phi-2` | 1 |
255
+ | `mistral-7b` | 1 |
256
+ | `claude-3-haiku` | 1 |
257
+ | `gemini-2.0-flash` | 1 |
258
+ | `gpt-4.1-nano` | 1 |
259
+ | `gpt-4.1-mini` | 1 |
260
+ | `gpt-4o-mini` | 1 |
261
+ | `gemini-flash` | 1 |
262
+ | `llama-70b` | 1 |
263
+ | `llama-3.3-70b-cf` | 1 |
264
+ | `deepseek-r1-32b` | 1 |
265
+ | `claude-haiku` | 1 |
266
+ | `gpt-oss-120b` | 1 |
267
+ | `grok-fast` | 1 |
268
+ | `grok-3-mini` | 1 |
269
+ | `gpt-4.1` | 1 |
270
+ | `gpt-4o` | 1 |
271
+ | `o4-mini` | 1 |
272
+ | `o3-mini` | 1 |
273
+ | `claude-sonnet` | 1 |
178
274
 
179
275
  Args:
180
276
  body (PostAiChatBody | Unset):
@@ -21,13 +21,13 @@ class PostAiChatBody:
21
21
  """
22
22
  Attributes:
23
23
  messages (list[PostAiChatBodyMessagesItem]): Array of chat messages
24
- model (PostAiChatBodyModel | Unset): Model name Default: PostAiChatBodyModel.LLAMA_3_1_8B. Example:
25
- llama-3.1-8b.
24
+ model (PostAiChatBodyModel | Unset): Model name Default: PostAiChatBodyModel.LLAMA_3_2_1B. Example:
25
+ llama-3.2-1b.
26
26
  max_tokens (float | Unset): Maximum tokens to generate Default: 1024.0.
27
27
  """
28
28
 
29
29
  messages: list[PostAiChatBodyMessagesItem]
30
- model: PostAiChatBodyModel | Unset = PostAiChatBodyModel.LLAMA_3_1_8B
30
+ model: PostAiChatBodyModel | Unset = PostAiChatBodyModel.LLAMA_3_2_1B
31
31
  max_tokens: float | Unset = 1024.0
32
32
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
33
33
 
@@ -0,0 +1,33 @@
1
+ from enum import Enum
2
+
3
+
4
+ class PostAiChatBodyModel(str, Enum):
5
+ CLAUDE_3_HAIKU = "claude-3-haiku"
6
+ CLAUDE_HAIKU = "claude-haiku"
7
+ CLAUDE_SONNET = "claude-sonnet"
8
+ DEEPSEEK_R1_32B = "deepseek-r1-32b"
9
+ GEMINI_2_0_FLASH = "gemini-2.0-flash"
10
+ GEMINI_FLASH = "gemini-flash"
11
+ GEMINI_FLASH_LITE = "gemini-flash-lite"
12
+ GPT_4O = "gpt-4o"
13
+ GPT_4O_MINI = "gpt-4o-mini"
14
+ GPT_4_1 = "gpt-4.1"
15
+ GPT_4_1_MINI = "gpt-4.1-mini"
16
+ GPT_4_1_NANO = "gpt-4.1-nano"
17
+ GPT_OSS_120B = "gpt-oss-120b"
18
+ GPT_OSS_20B = "gpt-oss-20b"
19
+ GROK_3_MINI = "grok-3-mini"
20
+ GROK_FAST = "grok-fast"
21
+ LLAMA_3_1_8B = "llama-3.1-8b"
22
+ LLAMA_3_2_1B = "llama-3.2-1b"
23
+ LLAMA_3_2_3B = "llama-3.2-3b"
24
+ LLAMA_3_3_70B_CF = "llama-3.3-70b-cf"
25
+ LLAMA_70B = "llama-70b"
26
+ LLAMA_GROQ = "llama-groq"
27
+ MISTRAL_7B = "mistral-7b"
28
+ O3_MINI = "o3-mini"
29
+ O4_MINI = "o4-mini"
30
+ PHI_2 = "phi-2"
31
+
32
+ def __str__(self) -> str:
33
+ return str(self.value)
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "mapleflow"
7
- version = "0.8.2"
7
+ version = "0.9.1"
8
8
  description = "Official Python SDK for the MapleFlow API platform — auto-generated from OpenAPI spec"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -1,9 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostAiChatBodyModel(str, Enum):
5
- DEEPSEEK_R1_32B = "deepseek-r1-32b"
6
- LLAMA_3_1_8B = "llama-3.1-8b"
7
-
8
- def __str__(self) -> str:
9
- return str(self.value)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes