ionworks-api 0.1.2__tar.gz → 0.1.3__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.
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/PKG-INFO +2 -2
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/simulation.py +4 -1
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/pyproject.toml +3 -7
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/.gitignore +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/LICENSE.md +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/README.md +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/__init__.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/cell_instance.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/cell_measurement.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/cell_specification.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/client.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/errors.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/job.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/models.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/pipeline.py +0 -0
- {ionworks_api-0.1.2 → ionworks_api-0.1.3}/ionworks/validators.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ionworks-api
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Python client for interacting with the Ionworks API
|
|
5
5
|
License-File: LICENSE.md
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -8,7 +8,7 @@ Requires-Dist: black
|
|
|
8
8
|
Requires-Dist: iwutil
|
|
9
9
|
Requires-Dist: numpy
|
|
10
10
|
Requires-Dist: pandas
|
|
11
|
-
Requires-Dist: polars
|
|
11
|
+
Requires-Dist: polars-lts-cpu
|
|
12
12
|
Requires-Dist: pyarrow
|
|
13
13
|
Requires-Dist: pybamm>=25.10.0
|
|
14
14
|
Requires-Dist: pydantic>=2.6.0
|
|
@@ -341,7 +341,10 @@ class SimulationClient:
|
|
|
341
341
|
continue
|
|
342
342
|
try:
|
|
343
343
|
simulation = self.get(sim_id)
|
|
344
|
-
if
|
|
344
|
+
if (
|
|
345
|
+
simulation.get("storage_folder")
|
|
346
|
+
or simulation.get("simulation_data") # Legacy fallback
|
|
347
|
+
):
|
|
345
348
|
completed[sim_id] = simulation
|
|
346
349
|
except (IonworksError, requests.exceptions.RequestException):
|
|
347
350
|
pass # Continue polling on transient errors
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ionworks-api"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "Python client for interacting with the Ionworks API"
|
|
9
9
|
authors = []
|
|
10
10
|
readme = "README.md"
|
|
@@ -15,7 +15,7 @@ dependencies = [
|
|
|
15
15
|
"types-requests>=2.31.0", # For type checking
|
|
16
16
|
"pydantic>=2.6.0",
|
|
17
17
|
"pandas",
|
|
18
|
-
"polars",
|
|
18
|
+
"polars-lts-cpu",
|
|
19
19
|
"numpy",
|
|
20
20
|
"supabase",
|
|
21
21
|
"iwutil",
|
|
@@ -26,11 +26,7 @@ dependencies = [
|
|
|
26
26
|
|
|
27
27
|
[project.optional-dependencies]
|
|
28
28
|
dev = ["pytest>=7.0.0"]
|
|
29
|
-
docs = [
|
|
30
|
-
"sphinx>=7.0.0",
|
|
31
|
-
"furo",
|
|
32
|
-
"myst-nb>=1.0.0",
|
|
33
|
-
]
|
|
29
|
+
docs = ["sphinx>=7.0.0", "furo", "myst-nb>=1.0.0"]
|
|
34
30
|
|
|
35
31
|
[tool.hatch.build.targets.wheel]
|
|
36
32
|
packages = ["ionworks"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|