ebiose-cloud-sdk 0.1.265__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.
@@ -0,0 +1,430 @@
1
+ ## Ignore Visual Studio temporary files, build results, and
2
+ ## files generated by popular Visual Studio add-ons.
3
+ ##
4
+ ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5
+
6
+ # User-specific files
7
+ .env
8
+ *.rsuser
9
+ *.suo
10
+ *.user
11
+ *.userosscache
12
+ *.sln.docstates
13
+
14
+ # User-specific files (MonoDevelop/Xamarin Studio)
15
+ *.userprefs
16
+
17
+ # Mono auto generated files
18
+ mono_crash.*
19
+
20
+ # Build results
21
+ [Dd]ebug/
22
+ [Dd]ebugPublic/
23
+ [Rr]elease/
24
+ [Rr]eleases/
25
+ x64/
26
+ x86/
27
+ [Ww][Ii][Nn]32/
28
+ [Aa][Rr][Mm]/
29
+ [Aa][Rr][Mm]64/
30
+ bld/
31
+ [Bb]in/
32
+ [Oo]bj/
33
+ [Oo]ut/
34
+ [Ll]og/
35
+ [Ll]ogs/
36
+
37
+ # Visual Studio 2015/2017 cache/options directory
38
+ .vs/
39
+ # Uncomment if you have tasks that create the project's static files in wwwroot
40
+ #wwwroot/
41
+
42
+ # Visual Studio 2017 auto generated files
43
+ Generated\ Files/
44
+
45
+ # MSTest test Results
46
+ [Tt]est[Rr]esult*/
47
+ [Bb]uild[Ll]og.*
48
+
49
+ # NUnit
50
+ *.VisualState.xml
51
+ TestResult.xml
52
+ nunit-*.xml
53
+
54
+ # Build Results of an ATL Project
55
+ [Dd]ebugPS/
56
+ [Rr]eleasePS/
57
+ dlldata.c
58
+
59
+ # Benchmark Results
60
+ BenchmarkDotNet.Artifacts/
61
+
62
+ # .NET Core
63
+ project.lock.json
64
+ project.fragment.lock.json
65
+ artifacts/
66
+
67
+ # ASP.NET Scaffolding
68
+ ScaffoldingReadMe.txt
69
+
70
+ # StyleCop
71
+ StyleCopReport.xml
72
+
73
+ # Files built by Visual Studio
74
+ *_i.c
75
+ *_p.c
76
+ *_h.h
77
+ *.ilk
78
+ *.meta
79
+ *.obj
80
+ *.iobj
81
+ *.pch
82
+ *.pdb
83
+ *.ipdb
84
+ *.pgc
85
+ *.pgd
86
+ *.rsp
87
+ *.sbr
88
+ *.tlb
89
+ *.tli
90
+ *.tlh
91
+ *.tmp
92
+ *.tmp_proj
93
+ *_wpftmp.csproj
94
+ *.log
95
+ *.vspscc
96
+ *.vssscc
97
+ .builds
98
+ *.pidb
99
+ *.svclog
100
+ *.scc
101
+
102
+ # Chutzpah Test files
103
+ _Chutzpah*
104
+
105
+ # Visual C++ cache files
106
+ ipch/
107
+ *.aps
108
+ *.ncb
109
+ *.opendb
110
+ *.opensdf
111
+ *.sdf
112
+ *.cachefile
113
+ *.VC.db
114
+ *.VC.VC.opendb
115
+
116
+ # Visual Studio profiler
117
+ *.psess
118
+ *.vsp
119
+ *.vspx
120
+ *.sap
121
+
122
+ # Visual Studio Trace Files
123
+ *.e2e
124
+
125
+ # TFS 2012 Local Workspace
126
+ $tf/
127
+
128
+ # Guidance Automation Toolkit
129
+ *.gpState
130
+
131
+ # ReSharper is a .NET coding add-in
132
+ _ReSharper*/
133
+ *.[Rr]e[Ss]harper
134
+ *.DotSettings.user
135
+
136
+ # TeamCity is a build add-in
137
+ _TeamCity*
138
+
139
+ # DotCover is a Code Coverage Tool
140
+ *.dotCover
141
+
142
+ # AxoCover is a Code Coverage Tool
143
+ .axoCover/*
144
+ !.axoCover/settings.json
145
+
146
+ # Coverlet is a free, cross platform Code Coverage Tool
147
+ coverage*.json
148
+ coverage*.xml
149
+ coverage*.info
150
+
151
+ # Local tooling directories
152
+ .agents/
153
+
154
+ **/.dotnet/
155
+ **/.dotnet_custom_sdks/
156
+ **/.home/
157
+ **/.vscode/
158
+ claude/settings.local.json
159
+
160
+
161
+
162
+ # Visual Studio code coverage results
163
+ *.coverage
164
+ *.coveragexml
165
+
166
+ # NCrunch
167
+ _NCrunch_*
168
+ .*crunch*.local.xml
169
+ nCrunchTemp_*
170
+
171
+ # MightyMoose
172
+ *.mm.*
173
+ AutoTest.Net/
174
+
175
+ # Web workbench (sass)
176
+ .sass-cache/
177
+
178
+ # Installshield output folder
179
+ [Ee]xpress/
180
+
181
+ # DocProject is a documentation generator add-in
182
+ DocProject/buildhelp/
183
+ DocProject/Help/*.HxT
184
+ DocProject/Help/*.HxC
185
+ DocProject/Help/*.hhc
186
+ DocProject/Help/*.hhk
187
+ DocProject/Help/*.hhp
188
+ DocProject/Help/Html2
189
+ DocProject/Help/html
190
+
191
+ # Click-Once directory
192
+ publish/
193
+
194
+ # Publish Web Output
195
+ *.[Pp]ublish.xml
196
+ *.azurePubxml
197
+ # Note: Comment the next line if you want to checkin your web deploy settings,
198
+ # but database connection strings (with potential passwords) will be unencrypted
199
+ *.pubxml
200
+ *.publishproj
201
+
202
+ # Microsoft Azure Web App publish settings. Comment the next line if you want to
203
+ # checkin your Azure Web App publish settings, but sensitive information contained
204
+ # in these scripts will be unencrypted
205
+ PublishScripts/
206
+
207
+ # NuGet Packages
208
+ *.nupkg
209
+ # NuGet Symbol Packages
210
+ *.snupkg
211
+ # The packages folder can be ignored because of Package Restore
212
+ **/[Pp]ackages/*
213
+ # except build/, which is used as an MSBuild target.
214
+ !**/[Pp]ackages/build/
215
+ # Uncomment if necessary however generally it will be regenerated when needed
216
+ #!**/[Pp]ackages/repositories.config
217
+ # NuGet v3's project.json files produces more ignorable files
218
+ *.nuget.props
219
+ *.nuget.targets
220
+
221
+ # Microsoft Azure Build Output
222
+ csx/
223
+ *.build.csdef
224
+
225
+ # Microsoft Azure Emulator
226
+ ecf/
227
+ rcf/
228
+
229
+ # Windows Store app package directories and files
230
+ AppPackages/
231
+ BundleArtifacts/
232
+ Package.StoreAssociation.xml
233
+ _pkginfo.txt
234
+ *.appx
235
+ *.appxbundle
236
+ *.appxupload
237
+
238
+ # Visual Studio cache files
239
+ # files ending in .cache can be ignored
240
+ *.[Cc]ache
241
+ # but keep track of directories ending in .cache
242
+ !?*.[Cc]ache/
243
+
244
+ # Others
245
+ ClientBin/
246
+ ~$*
247
+ *~
248
+ *.dbmdl
249
+ *.dbproj.schemaview
250
+ *.jfm
251
+ *.pfx
252
+ *.publishsettings
253
+ orleans.codegen.cs
254
+
255
+ # Including strong name files can present a security risk
256
+ # (https://github.com/github/gitignore/pull/2483#issue-259490424)
257
+ #*.snk
258
+
259
+ # Since there are multiple workflows, uncomment next line to ignore bower_components
260
+ # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
261
+ #bower_components/
262
+
263
+ # RIA/Silverlight projects
264
+ Generated_Code/
265
+
266
+ # Backup & report files from converting an old project file
267
+ # to a newer Visual Studio version. Backup files are not needed,
268
+ # because we have git ;-)
269
+ _UpgradeReport_Files/
270
+ Backup*/
271
+ UpgradeLog*.XML
272
+ UpgradeLog*.htm
273
+ ServiceFabricBackup/
274
+ *.rptproj.bak
275
+
276
+ # SQL Server files
277
+ *.mdf
278
+ *.ldf
279
+ *.ndf
280
+
281
+ # Business Intelligence projects
282
+ *.rdl.data
283
+ *.bim.layout
284
+ *.bim_*.settings
285
+ *.rptproj.rsuser
286
+ *- [Bb]ackup.rdl
287
+ *- [Bb]ackup ([0-9]).rdl
288
+ *- [Bb]ackup ([0-9][0-9]).rdl
289
+
290
+ # Microsoft Fakes
291
+ FakesAssemblies/
292
+
293
+ # GhostDoc plugin setting file
294
+ *.GhostDoc.xml
295
+
296
+ # Node.js Tools for Visual Studio
297
+ .ntvs_analysis.dat
298
+ node_modules/
299
+
300
+ # Visual Studio 6 build log
301
+ *.plg
302
+
303
+ # Visual Studio 6 workspace options file
304
+ *.opt
305
+
306
+ # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
307
+ *.vbw
308
+
309
+ # Visual Studio LightSwitch build output
310
+ **/*.HTMLClient/GeneratedArtifacts
311
+ **/*.DesktopClient/GeneratedArtifacts
312
+ **/*.DesktopClient/ModelManifest.xml
313
+ **/*.Server/GeneratedArtifacts
314
+ **/*.Server/ModelManifest.xml
315
+ _Pvt_Extensions
316
+
317
+ # Paket dependency manager
318
+ .paket/paket.exe
319
+ paket-files/
320
+
321
+ # FAKE - F# Make
322
+ .fake/
323
+
324
+ # CodeRush personal settings
325
+ .cr/personal
326
+
327
+ # Python Tools for Visual Studio (PTVS)
328
+ __pycache__/
329
+ *.pyc
330
+
331
+ # Cake - Uncomment if you are using it
332
+ # tools/**
333
+ # !tools/packages.config
334
+
335
+ # Tabs Studio
336
+ *.tss
337
+
338
+ # Telerik's JustMock configuration file
339
+ *.jmconfig
340
+
341
+ # BizTalk build output
342
+ *.btp.cs
343
+ *.btm.cs
344
+ *.odx.cs
345
+ *.xsd.cs
346
+
347
+ # OpenCover UI analysis results
348
+ OpenCover/
349
+
350
+ # Azure Stream Analytics local run output
351
+ ASALocalRun/
352
+
353
+ # MSBuild Binary and Structured Log
354
+ *.binlog
355
+
356
+ # NVidia Nsight GPU debugger configuration file
357
+ *.nvuser
358
+
359
+ # MFractors (Xamarin productivity tool) working folder
360
+ .mfractor/
361
+
362
+ # Local History for Visual Studio
363
+ .localhistory/
364
+
365
+ # BeatPulse healthcheck temp database
366
+ healthchecksdb
367
+
368
+ # Backup folder for Package Reference Convert tool in Visual Studio 2017
369
+ MigrationBackup/
370
+
371
+ # Ionide (cross platform F# VS Code tools) working folder
372
+ .ionide/
373
+
374
+ # Fody - auto-generated XML schema
375
+ FodyWeavers.xsd
376
+
377
+ *.bin
378
+
379
+ # Frontend (React/Vite)
380
+ Frontend/node_modules/
381
+ Frontend/dist/
382
+ Frontend/.next/
383
+ Frontend/build/
384
+ Frontend/.vite/
385
+ Frontend/.env.local
386
+ Frontend/.env*.local
387
+ Frontend/pnpm-lock.yaml
388
+
389
+ # Website (Astro)
390
+ Website/node_modules/
391
+ Website/dist/
392
+ Website/.astro/
393
+ .wrangler/
394
+ Website/.env.local
395
+ Website/.env*.local
396
+
397
+
398
+ # Obsidian
399
+ .obsidian/
400
+ .claude/.obsidian/
401
+
402
+
403
+ # TODO
404
+
405
+ # .dev/ is ignored by default, but project specs are committed.
406
+ # Pattern: exclude everything under .dev/, then re-include all project folders.
407
+ .dev/*
408
+ !.dev/project/
409
+ !.dev/backup-old-workflow/
410
+ data/
411
+ # Re-include committed test fixtures that live under a `data/` folder.
412
+ !ebiose-core/tests/**/data/
413
+ !ebiose-core/tests/**/data/**
414
+
415
+ .ebiose/
416
+
417
+ # macOS
418
+ .DS_Store
419
+ **/.DS_Store
420
+
421
+ # Local merge conflict backups
422
+ .merge-backup/
423
+
424
+ ebiose-core/examples/benchmark_mutation_agents_vs_assembly_line.py
425
+ ebiose-core/examples/benchmark_mutation_agents.py
426
+ ebiose-core/examples/debug_assembly_line.py
427
+ ebiose-core/examples/debug_crossover.py
428
+ ebiose-core/examples/debug_mutation_assembly_line.py
429
+ ebiose-core/examples/debug_mutation_legacy.py
430
+ ebiose-core/examples/debug_mutation.py
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: ebiose-cloud-sdk
3
+ Version: 0.1.265
4
+ Summary: Auto-generated Pydantic models for the Ebiose Cloud Backend API.
5
+ Author: Ebiose
6
+ Requires-Python: >=3.12
7
+ Requires-Dist: pydantic>=2
8
+ Description-Content-Type: text/markdown
9
+
10
+ # ebiose-cloud-sdk
11
+
12
+ Auto-generated Pydantic v2 models for the Ebiose Cloud Backend API.
13
+
14
+ ## Generation
15
+
16
+ This package is regenerated from the Backend's OpenAPI spec
17
+ (`/swagger/v1/swagger.json`) by `client-generator/generate.sh`.
18
+
19
+ Do not hand-edit `ebiose_cloud_sdk/models.py` — it will be overwritten on
20
+ next regeneration.
21
+
22
+ ## Local install
23
+
24
+ From `ebiose-core/`:
25
+
26
+ ```bash
27
+ uv pip install -e ../client-generator/python/
28
+ ```
29
+
30
+ ## Distribution
31
+
32
+ Published to [PyPI](https://pypi.org/project/ebiose-cloud-sdk/) via Trusted
33
+ Publishing (OIDC) by `.github/workflows/sdk-publish.yml` on changes to
34
+ `Backend/**` or `client-generator/**` on `staging` and `main`.
35
+
36
+ ```bash
37
+ pip install ebiose-cloud-sdk
38
+ ```
@@ -0,0 +1,29 @@
1
+ # ebiose-cloud-sdk
2
+
3
+ Auto-generated Pydantic v2 models for the Ebiose Cloud Backend API.
4
+
5
+ ## Generation
6
+
7
+ This package is regenerated from the Backend's OpenAPI spec
8
+ (`/swagger/v1/swagger.json`) by `client-generator/generate.sh`.
9
+
10
+ Do not hand-edit `ebiose_cloud_sdk/models.py` — it will be overwritten on
11
+ next regeneration.
12
+
13
+ ## Local install
14
+
15
+ From `ebiose-core/`:
16
+
17
+ ```bash
18
+ uv pip install -e ../client-generator/python/
19
+ ```
20
+
21
+ ## Distribution
22
+
23
+ Published to [PyPI](https://pypi.org/project/ebiose-cloud-sdk/) via Trusted
24
+ Publishing (OIDC) by `.github/workflows/sdk-publish.yml` on changes to
25
+ `Backend/**` or `client-generator/**` on `staging` and `main`.
26
+
27
+ ```bash
28
+ pip install ebiose-cloud-sdk
29
+ ```
@@ -0,0 +1,3 @@
1
+ """Auto-generated Pydantic v2 SDK for the Ebiose Cloud Backend API."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,270 @@
1
+ # AUTO-GENERATED by client-generator/generate.sh — do not edit by hand.
2
+
3
+ from __future__ import annotations
4
+
5
+ from enum import StrEnum
6
+ from typing import Any
7
+
8
+ from pydantic import AwareDatetime, BaseModel, ConfigDict, Field
9
+
10
+
11
+ class AddCandidateResponse(BaseModel):
12
+ model_config = ConfigDict(
13
+ extra="forbid",
14
+ )
15
+ agent_id: str = Field(..., min_length=1)
16
+
17
+
18
+ class AgentFilterDto(BaseModel):
19
+ model_config = ConfigDict(
20
+ extra="forbid",
21
+ )
22
+ op: str | None = None
23
+ path: str | None = None
24
+ value: Any | None = None
25
+
26
+
27
+ class AgentInArenaDto(BaseModel):
28
+ model_config = ConfigDict(
29
+ extra="forbid",
30
+ )
31
+ agent_id: str
32
+ created_at: AwareDatetime | None = None
33
+ cycle_id: str
34
+ forge_id: str
35
+ metrics_json: Any
36
+ model_json: Any
37
+ origin_evolution_cycle_id: str | None = None
38
+ parent_evolver_id: str | None = None
39
+ parent_meta_agent_id: str | None = None
40
+ role: str | None = None
41
+ score: float | None = None
42
+ submitted_at: AwareDatetime | None = None
43
+
44
+
45
+ class AgentRole(StrEnum):
46
+ evolver = "evolver"
47
+ meta = "meta"
48
+
49
+
50
+ class ApiKeyInputModel(BaseModel):
51
+ model_config = ConfigDict(
52
+ extra="forbid",
53
+ )
54
+ expirationDate: AwareDatetime | None = None
55
+ userUuid: str | None = None
56
+
57
+
58
+ class ArenaEntryDto(BaseModel):
59
+ model_config = ConfigDict(
60
+ extra="forbid",
61
+ )
62
+ agent_id: str = Field(..., min_length=1)
63
+ agent_model: Any
64
+ cycle_id: str = Field(..., min_length=1)
65
+ evaluation_metrics: Any
66
+ origin_evolution_cycle_id: str | None = None
67
+ parent_evolver_id: str | None = None
68
+ parent_meta_agent_id: str | None = None
69
+ role: str | None = None
70
+ score: float
71
+
72
+
73
+ class EndCycleRequest(BaseModel):
74
+ model_config = ConfigDict(
75
+ extra="forbid",
76
+ )
77
+ best_agent_ids: list[str]
78
+
79
+
80
+ class LoginInputModel(BaseModel):
81
+ model_config = ConfigDict(
82
+ extra="forbid",
83
+ )
84
+ email: str | None = None
85
+ password: str | None = None
86
+
87
+
88
+ class ProblemDetails(BaseModel):
89
+ detail: str | None = None
90
+ instance: str | None = None
91
+ status: int | None = None
92
+ title: str | None = None
93
+ type: str | None = None
94
+
95
+
96
+ class QueryAgentsResponse(BaseModel):
97
+ model_config = ConfigDict(
98
+ extra="forbid",
99
+ )
100
+ agents: list[AgentInArenaDto] | None = None
101
+
102
+
103
+ class QuotaSelfOutput(BaseModel):
104
+ model_config = ConfigDict(
105
+ extra="forbid",
106
+ )
107
+ availableCredits: float | None = None
108
+ creditsLimit: float | None = None
109
+ creditsUsed: float | None = None
110
+ rpmLimit: int | None = None
111
+ tpmLimit: int | None = None
112
+
113
+
114
+ class Role(StrEnum):
115
+ USER = "USER"
116
+ ADMIN = "ADMIN"
117
+
118
+
119
+ class SelfApiKeyInputModel(BaseModel):
120
+ model_config = ConfigDict(
121
+ extra="forbid",
122
+ )
123
+ expirationDate: AwareDatetime | None = None
124
+
125
+
126
+ class SelfUserInputModel(BaseModel):
127
+ model_config = ConfigDict(
128
+ extra="forbid",
129
+ )
130
+ email: str | None = None
131
+ firstname: str | None = None
132
+ githubId: str | None = None
133
+ lastname: str | None = None
134
+ password: str | None = None
135
+
136
+
137
+ class SignupInputModel(BaseModel):
138
+ model_config = ConfigDict(
139
+ extra="forbid",
140
+ )
141
+ email: str | None = None
142
+ firstname: str | None = None
143
+ githubId: str | None = None
144
+ lastname: str | None = None
145
+ password: str | None = None
146
+
147
+
148
+ class SortCriterionDto(BaseModel):
149
+ model_config = ConfigDict(
150
+ extra="forbid",
151
+ )
152
+ direction: str | None = None
153
+ field: str | None = None
154
+
155
+
156
+ class StartCycleRequest(BaseModel):
157
+ model_config = ConfigDict(
158
+ extra="forbid",
159
+ )
160
+ budget: float | None = None
161
+ cycle_id: str = Field(..., min_length=1)
162
+ ecosystem_id: str = Field(..., min_length=1)
163
+ forge_id: str = Field(..., min_length=1)
164
+ max_iterations: int | None = None
165
+ n_best_agents_to_return: int | None = None
166
+ override_key: bool | None = None
167
+
168
+
169
+ class StartCycleResponse(BaseModel):
170
+ model_config = ConfigDict(
171
+ extra="forbid",
172
+ )
173
+ compute_token: str = Field(..., min_length=1)
174
+ created_at: AwareDatetime
175
+ ecosystem_id: str = Field(..., min_length=1)
176
+ evolution_cycle_id: str = Field(..., min_length=1)
177
+ expires_at: AwareDatetime
178
+
179
+
180
+ class SubmitEntriesRequest(BaseModel):
181
+ model_config = ConfigDict(
182
+ extra="forbid",
183
+ )
184
+ entries: list[ArenaEntryDto]
185
+
186
+
187
+ class UpdateQuotaInput(BaseModel):
188
+ model_config = ConfigDict(
189
+ extra="forbid",
190
+ )
191
+ rpmLimit: int | None = None
192
+ tpmLimit: int | None = None
193
+
194
+
195
+ class UserInputModel(BaseModel):
196
+ model_config = ConfigDict(
197
+ extra="forbid",
198
+ )
199
+ creditsLimit: float | None = None
200
+ email: str | None = None
201
+ firstname: str | None = None
202
+ githubId: str | None = None
203
+ lastname: str | None = None
204
+ password: str | None = None
205
+ role: Role | None = None
206
+ rpmLimit: int | None = None
207
+ tpmLimit: int | None = None
208
+
209
+
210
+ class AddCandidateRequest(BaseModel):
211
+ model_config = ConfigDict(
212
+ extra="forbid",
213
+ )
214
+ agent_id: str = Field(..., min_length=1)
215
+ agent_model: Any
216
+ origin_evolution_cycle_id: str | None = None
217
+ parent_evolver_id: str | None = None
218
+ parent_meta_agent_id: str | None = None
219
+ role: AgentRole | None = None
220
+
221
+
222
+ class AgentQueryDto(BaseModel):
223
+ model_config = ConfigDict(
224
+ extra="forbid",
225
+ )
226
+ filters: list[AgentFilterDto] | None = None
227
+ limit: int | None = None
228
+ shuffle: bool | None = None
229
+ sort: list[SortCriterionDto] | None = None
230
+
231
+
232
+ class ApiKeyOutputModel(BaseModel):
233
+ model_config = ConfigDict(
234
+ extra="forbid",
235
+ )
236
+ createdAt: AwareDatetime | None = None
237
+ expirationDate: AwareDatetime | None = None
238
+ key: str | None = None
239
+ user: UserOutputModel | None = None
240
+ uuid: str | None = None
241
+
242
+
243
+ class LoginOutputModel(BaseModel):
244
+ model_config = ConfigDict(
245
+ extra="forbid",
246
+ )
247
+ token: str | None = None
248
+ user: UserOutputModel | None = None
249
+
250
+
251
+ class UserOutputModel(BaseModel):
252
+ model_config = ConfigDict(
253
+ extra="forbid",
254
+ )
255
+ apiKeys: list[ApiKeyOutputModel] | None = None
256
+ availableCredits: float | None = None
257
+ creditsLimit: float | None = None
258
+ creditsUsed: float | None = None
259
+ email: str | None = None
260
+ firstname: str | None = None
261
+ githubId: str | None = None
262
+ lastname: str | None = None
263
+ role: Role | None = None
264
+ rpmLimit: int | None = None
265
+ tpmLimit: int | None = None
266
+ uuid: str | None = None
267
+
268
+
269
+ ApiKeyOutputModel.model_rebuild()
270
+ LoginOutputModel.model_rebuild()
@@ -0,0 +1,270 @@
1
+ # AUTO-GENERATED by client-generator/generate.sh — do not edit by hand.
2
+
3
+ from __future__ import annotations
4
+
5
+ from enum import StrEnum
6
+ from typing import Any
7
+
8
+ from pydantic import AwareDatetime, BaseModel, ConfigDict, Field
9
+
10
+
11
+ class AddCandidateResponse(BaseModel):
12
+ model_config = ConfigDict(
13
+ extra="forbid",
14
+ )
15
+ agent_id: str = Field(..., min_length=1)
16
+
17
+
18
+ class AgentFilterDto(BaseModel):
19
+ model_config = ConfigDict(
20
+ extra="forbid",
21
+ )
22
+ op: str | None = None
23
+ path: str | None = None
24
+ value: Any | None = None
25
+
26
+
27
+ class AgentInArenaDto(BaseModel):
28
+ model_config = ConfigDict(
29
+ extra="forbid",
30
+ )
31
+ agent_id: str
32
+ created_at: AwareDatetime | None = None
33
+ cycle_id: str
34
+ forge_id: str
35
+ metrics_json: Any
36
+ model_json: Any
37
+ origin_evolution_cycle_id: str | None = None
38
+ parent_evolver_id: str | None = None
39
+ parent_meta_agent_id: str | None = None
40
+ role: str | None = None
41
+ score: float | None = None
42
+ submitted_at: AwareDatetime | None = None
43
+
44
+
45
+ class AgentRole(StrEnum):
46
+ evolver = "evolver"
47
+ meta = "meta"
48
+
49
+
50
+ class ApiKeyInputModel(BaseModel):
51
+ model_config = ConfigDict(
52
+ extra="forbid",
53
+ )
54
+ expirationDate: AwareDatetime | None = None
55
+ userUuid: str | None = None
56
+
57
+
58
+ class ArenaEntryDto(BaseModel):
59
+ model_config = ConfigDict(
60
+ extra="forbid",
61
+ )
62
+ agent_id: str = Field(..., min_length=1)
63
+ agent_model: Any
64
+ cycle_id: str = Field(..., min_length=1)
65
+ evaluation_metrics: Any
66
+ origin_evolution_cycle_id: str | None = None
67
+ parent_evolver_id: str | None = None
68
+ parent_meta_agent_id: str | None = None
69
+ role: str | None = None
70
+ score: float
71
+
72
+
73
+ class EndCycleRequest(BaseModel):
74
+ model_config = ConfigDict(
75
+ extra="forbid",
76
+ )
77
+ best_agent_ids: list[str]
78
+
79
+
80
+ class LoginInputModel(BaseModel):
81
+ model_config = ConfigDict(
82
+ extra="forbid",
83
+ )
84
+ email: str | None = None
85
+ password: str | None = None
86
+
87
+
88
+ class ProblemDetails(BaseModel):
89
+ detail: str | None = None
90
+ instance: str | None = None
91
+ status: int | None = None
92
+ title: str | None = None
93
+ type: str | None = None
94
+
95
+
96
+ class QueryAgentsResponse(BaseModel):
97
+ model_config = ConfigDict(
98
+ extra="forbid",
99
+ )
100
+ agents: list[AgentInArenaDto] | None = None
101
+
102
+
103
+ class QuotaSelfOutput(BaseModel):
104
+ model_config = ConfigDict(
105
+ extra="forbid",
106
+ )
107
+ availableCredits: float | None = None
108
+ creditsLimit: float | None = None
109
+ creditsUsed: float | None = None
110
+ rpmLimit: int | None = None
111
+ tpmLimit: int | None = None
112
+
113
+
114
+ class Role(StrEnum):
115
+ USER = "USER"
116
+ ADMIN = "ADMIN"
117
+
118
+
119
+ class SelfApiKeyInputModel(BaseModel):
120
+ model_config = ConfigDict(
121
+ extra="forbid",
122
+ )
123
+ expirationDate: AwareDatetime | None = None
124
+
125
+
126
+ class SelfUserInputModel(BaseModel):
127
+ model_config = ConfigDict(
128
+ extra="forbid",
129
+ )
130
+ email: str | None = None
131
+ firstname: str | None = None
132
+ githubId: str | None = None
133
+ lastname: str | None = None
134
+ password: str | None = None
135
+
136
+
137
+ class SignupInputModel(BaseModel):
138
+ model_config = ConfigDict(
139
+ extra="forbid",
140
+ )
141
+ email: str | None = None
142
+ firstname: str | None = None
143
+ githubId: str | None = None
144
+ lastname: str | None = None
145
+ password: str | None = None
146
+
147
+
148
+ class SortCriterionDto(BaseModel):
149
+ model_config = ConfigDict(
150
+ extra="forbid",
151
+ )
152
+ direction: str | None = None
153
+ field: str | None = None
154
+
155
+
156
+ class StartCycleRequest(BaseModel):
157
+ model_config = ConfigDict(
158
+ extra="forbid",
159
+ )
160
+ budget: float | None = None
161
+ cycle_id: str = Field(..., min_length=1)
162
+ ecosystem_id: str = Field(..., min_length=1)
163
+ forge_id: str = Field(..., min_length=1)
164
+ max_iterations: int | None = None
165
+ n_best_agents_to_return: int | None = None
166
+ override_key: bool | None = None
167
+
168
+
169
+ class StartCycleResponse(BaseModel):
170
+ model_config = ConfigDict(
171
+ extra="forbid",
172
+ )
173
+ compute_token: str = Field(..., min_length=1)
174
+ created_at: AwareDatetime
175
+ ecosystem_id: str = Field(..., min_length=1)
176
+ evolution_cycle_id: str = Field(..., min_length=1)
177
+ expires_at: AwareDatetime
178
+
179
+
180
+ class SubmitEntriesRequest(BaseModel):
181
+ model_config = ConfigDict(
182
+ extra="forbid",
183
+ )
184
+ entries: list[ArenaEntryDto]
185
+
186
+
187
+ class UpdateQuotaInput(BaseModel):
188
+ model_config = ConfigDict(
189
+ extra="forbid",
190
+ )
191
+ rpmLimit: int | None = None
192
+ tpmLimit: int | None = None
193
+
194
+
195
+ class UserInputModel(BaseModel):
196
+ model_config = ConfigDict(
197
+ extra="forbid",
198
+ )
199
+ creditsLimit: float | None = None
200
+ email: str | None = None
201
+ firstname: str | None = None
202
+ githubId: str | None = None
203
+ lastname: str | None = None
204
+ password: str | None = None
205
+ role: Role | None = None
206
+ rpmLimit: int | None = None
207
+ tpmLimit: int | None = None
208
+
209
+
210
+ class AddCandidateRequest(BaseModel):
211
+ model_config = ConfigDict(
212
+ extra="forbid",
213
+ )
214
+ agent_id: str = Field(..., min_length=1)
215
+ agent_model: Any
216
+ origin_evolution_cycle_id: str | None = None
217
+ parent_evolver_id: str | None = None
218
+ parent_meta_agent_id: str | None = None
219
+ role: AgentRole | None = None
220
+
221
+
222
+ class AgentQueryDto(BaseModel):
223
+ model_config = ConfigDict(
224
+ extra="forbid",
225
+ )
226
+ filters: list[AgentFilterDto] | None = None
227
+ limit: int | None = None
228
+ shuffle: bool | None = None
229
+ sort: list[SortCriterionDto] | None = None
230
+
231
+
232
+ class ApiKeyOutputModel(BaseModel):
233
+ model_config = ConfigDict(
234
+ extra="forbid",
235
+ )
236
+ createdAt: AwareDatetime | None = None
237
+ expirationDate: AwareDatetime | None = None
238
+ key: str | None = None
239
+ user: UserOutputModel | None = None
240
+ uuid: str | None = None
241
+
242
+
243
+ class LoginOutputModel(BaseModel):
244
+ model_config = ConfigDict(
245
+ extra="forbid",
246
+ )
247
+ token: str | None = None
248
+ user: UserOutputModel | None = None
249
+
250
+
251
+ class UserOutputModel(BaseModel):
252
+ model_config = ConfigDict(
253
+ extra="forbid",
254
+ )
255
+ apiKeys: list[ApiKeyOutputModel] | None = None
256
+ availableCredits: float | None = None
257
+ creditsLimit: float | None = None
258
+ creditsUsed: float | None = None
259
+ email: str | None = None
260
+ firstname: str | None = None
261
+ githubId: str | None = None
262
+ lastname: str | None = None
263
+ role: Role | None = None
264
+ rpmLimit: int | None = None
265
+ tpmLimit: int | None = None
266
+ uuid: str | None = None
267
+
268
+
269
+ ApiKeyOutputModel.model_rebuild()
270
+ LoginOutputModel.model_rebuild()
@@ -0,0 +1,17 @@
1
+ [project]
2
+ name = "ebiose-cloud-sdk"
3
+ version = "0.1.265"
4
+ description = "Auto-generated Pydantic models for the Ebiose Cloud Backend API."
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ authors = [{ name = "Ebiose" }]
8
+ dependencies = [
9
+ "pydantic>=2",
10
+ ]
11
+
12
+ [build-system]
13
+ requires = ["hatchling"]
14
+ build-backend = "hatchling.build"
15
+
16
+ [tool.hatch.build.targets.wheel]
17
+ packages = ["ebiose_cloud_sdk"]