metafold 0.8.dev3__tar.gz → 0.10.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 (29) hide show
  1. {metafold-0.8.dev3 → metafold-0.10.0}/PKG-INFO +3 -2
  2. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/func_types.py +9 -9
  3. {metafold-0.8.dev3 → metafold-0.10.0}/metafold.egg-info/PKG-INFO +3 -2
  4. {metafold-0.8.dev3 → metafold-0.10.0}/metafold.egg-info/requires.txt +1 -1
  5. {metafold-0.8.dev3 → metafold-0.10.0}/pyproject.toml +6 -2
  6. {metafold-0.8.dev3 → metafold-0.10.0}/tests/test_func.py +4 -4
  7. {metafold-0.8.dev3 → metafold-0.10.0}/LICENSE +0 -0
  8. {metafold-0.8.dev3 → metafold-0.10.0}/README.md +0 -0
  9. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/__init__.py +0 -0
  10. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/api.py +0 -0
  11. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/assets.py +0 -0
  12. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/auth.py +0 -0
  13. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/client.py +0 -0
  14. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/exceptions.py +0 -0
  15. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/func.py +0 -0
  16. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/jobs.py +0 -0
  17. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/nx.py +0 -0
  18. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/projects.py +0 -0
  19. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/utils.py +0 -0
  20. {metafold-0.8.dev3 → metafold-0.10.0}/metafold/workflows.py +0 -0
  21. {metafold-0.8.dev3 → metafold-0.10.0}/metafold.egg-info/SOURCES.txt +0 -0
  22. {metafold-0.8.dev3 → metafold-0.10.0}/metafold.egg-info/dependency_links.txt +0 -0
  23. {metafold-0.8.dev3 → metafold-0.10.0}/metafold.egg-info/top_level.txt +0 -0
  24. {metafold-0.8.dev3 → metafold-0.10.0}/setup.cfg +0 -0
  25. {metafold-0.8.dev3 → metafold-0.10.0}/tests/test_assets.py +0 -0
  26. {metafold-0.8.dev3 → metafold-0.10.0}/tests/test_jobs.py +0 -0
  27. {metafold-0.8.dev3 → metafold-0.10.0}/tests/test_projects.py +0 -0
  28. {metafold-0.8.dev3 → metafold-0.10.0}/tests/test_utils.py +0 -0
  29. {metafold-0.8.dev3 → metafold-0.10.0}/tests/test_workflows.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metafold
3
- Version: 0.8.dev3
3
+ Version: 0.10.0
4
4
  Summary: Metafold SDK for Python
5
5
  Author-email: Metafold 3D <info@metafold3d.com>
6
6
  License: Copyright 2024 Metafold 3D
@@ -24,6 +24,7 @@ Classifier: Operating System :: OS Independent
24
24
  Classifier: Programming Language :: Python :: 3.9
25
25
  Classifier: Programming Language :: Python :: 3.10
26
26
  Classifier: Programming Language :: Python :: 3.11
27
+ Classifier: Programming Language :: Python :: 3.12
27
28
  Classifier: Topic :: Scientific/Engineering
28
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
30
  Requires-Python: >=3.9
@@ -31,7 +32,7 @@ Description-Content-Type: text/markdown
31
32
  License-File: LICENSE
32
33
  Requires-Dist: attrs~=23.2
33
34
  Requires-Dist: auth0-python~=4.7
34
- Requires-Dist: numpy~=1.23
35
+ Requires-Dist: numpy~=2.0
35
36
  Requires-Dist: requests~=2.31
36
37
  Requires-Dist: scipy~=1.11
37
38
  Provides-Extra: docs
@@ -27,39 +27,39 @@ except ImportError:
27
27
 
28
28
  Vec2i: TypeAlias = Union[
29
29
  Annotated[list[int], 2],
30
- "np.ndarray[Literal[2], np.dtype[np.int_]]",
30
+ "np.ndarray[tuple[Literal[2]], np.dtype[np.int32]]",
31
31
  ]
32
32
  Vec2f: TypeAlias = Union[
33
33
  Annotated[list[float], 2],
34
- "np.ndarray[Literal[2], np.dtype[np.float_]]",
34
+ "np.ndarray[tuple[Literal[2]], np.dtype[np.float32]]",
35
35
  ]
36
36
  Vec3i: TypeAlias = Union[
37
37
  Annotated[list[int], 3],
38
- "np.ndarray[Literal[3], np.dtype[np.int_]]",
38
+ "np.ndarray[tuple[Literal[3]], np.dtype[np.int32]]",
39
39
  ]
40
40
  Vec3f: TypeAlias = Union[
41
41
  Annotated[list[float], 3],
42
- "np.ndarray[Literal[3], np.dtype[np.float_]]",
42
+ "np.ndarray[tuple[Literal[3]], np.dtype[np.float32]]",
43
43
  ]
44
44
  Vec4i: TypeAlias = Union[
45
45
  Annotated[list[int], 4],
46
- "np.ndarray[Literal[4], np.dtype[np.int_]]",
46
+ "np.ndarray[tuple[Literal[4]], np.dtype[np.int32]]",
47
47
  ]
48
48
  Vec4f: TypeAlias = Union[
49
49
  Annotated[list[float], 4],
50
- "np.ndarray[Literal[4], np.dtype[np.float_]]",
50
+ "np.ndarray[tuple[Literal[4]], np.dtype[np.float32]]",
51
51
  ]
52
52
  Mat2f: TypeAlias = Union[
53
53
  Annotated[list[float], 4],
54
- "np.ndarray[tuple[Literal[2], Literal[2]], np.dtype[np.float_]]",
54
+ "np.ndarray[tuple[Literal[2], Literal[2]], np.dtype[np.float32]]",
55
55
  ]
56
56
  Mat3f: TypeAlias = Union[
57
57
  Annotated[list[float], 9],
58
- "np.ndarray[tuple[Literal[3], Literal[3]], np.dtype[np.float_]]",
58
+ "np.ndarray[tuple[Literal[3], Literal[3]], np.dtype[np.float32]]",
59
59
  ]
60
60
  Mat4f: TypeAlias = Union[
61
61
  Annotated[list[float], 16],
62
- "np.ndarray[tuple[Literal[4], Literal[4]], np.dtype[np.float_]]",
62
+ "np.ndarray[tuple[Literal[4], Literal[4]], np.dtype[np.float32]]",
63
63
  ]
64
64
 
65
65
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metafold
3
- Version: 0.8.dev3
3
+ Version: 0.10.0
4
4
  Summary: Metafold SDK for Python
5
5
  Author-email: Metafold 3D <info@metafold3d.com>
6
6
  License: Copyright 2024 Metafold 3D
@@ -24,6 +24,7 @@ Classifier: Operating System :: OS Independent
24
24
  Classifier: Programming Language :: Python :: 3.9
25
25
  Classifier: Programming Language :: Python :: 3.10
26
26
  Classifier: Programming Language :: Python :: 3.11
27
+ Classifier: Programming Language :: Python :: 3.12
27
28
  Classifier: Topic :: Scientific/Engineering
28
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
30
  Requires-Python: >=3.9
@@ -31,7 +32,7 @@ Description-Content-Type: text/markdown
31
32
  License-File: LICENSE
32
33
  Requires-Dist: attrs~=23.2
33
34
  Requires-Dist: auth0-python~=4.7
34
- Requires-Dist: numpy~=1.23
35
+ Requires-Dist: numpy~=2.0
35
36
  Requires-Dist: requests~=2.31
36
37
  Requires-Dist: scipy~=1.11
37
38
  Provides-Extra: docs
@@ -1,6 +1,6 @@
1
1
  attrs~=23.2
2
2
  auth0-python~=4.7
3
- numpy~=1.23
3
+ numpy~=2.0
4
4
  requests~=2.31
5
5
  scipy~=1.11
6
6
 
@@ -4,14 +4,14 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "metafold"
7
- version = "0.8.dev3"
7
+ version = "0.10.0"
8
8
  authors = [
9
9
  {name = "Metafold 3D", email = "info@metafold3d.com"},
10
10
  ]
11
11
  dependencies = [
12
12
  "attrs~=23.2",
13
13
  "auth0-python~=4.7",
14
- "numpy~=1.23",
14
+ "numpy~=2.0",
15
15
  "requests~=2.31",
16
16
  "scipy~=1.11",
17
17
  ]
@@ -29,6 +29,7 @@ classifiers = [
29
29
  "Programming Language :: Python :: 3.9",
30
30
  "Programming Language :: Python :: 3.10",
31
31
  "Programming Language :: Python :: 3.11",
32
+ "Programming Language :: Python :: 3.12",
32
33
  "Topic :: Scientific/Engineering",
33
34
  "Topic :: Software Development :: Libraries :: Python Modules"
34
35
  ]
@@ -59,3 +60,6 @@ networkx = [
59
60
 
60
61
  [tool.setuptools]
61
62
  packages = ["metafold"]
63
+
64
+ [tool.ruff.lint]
65
+ select = ["NPY201"]
@@ -77,7 +77,7 @@ def test_build_graph_json():
77
77
  Redistance(
78
78
  CSGIntersect(
79
79
  SampleSurfaceLattice(source, gyroidParams),
80
- EllipsoidPrimitive(source, {"size": np.array([1, 1, 1])}),
80
+ EllipsoidPrimitive(source, {"size": [1.0, 1.0, 1.0]}),
81
81
  ),
82
82
  ),
83
83
  )
@@ -91,7 +91,7 @@ def test_build_graph_json():
91
91
  Redistance(
92
92
  CSGIntersect(
93
93
  SampleSurfaceLattice(PointSource, gyroidParams),
94
- EllipsoidPrimitive(PointSource, {"size": np.array([1, 1, 1])}),
94
+ EllipsoidPrimitive(PointSource, {"size": [1.0, 1.0, 1.0]}),
95
95
  ),
96
96
  ),
97
97
  )
@@ -184,7 +184,7 @@ def test_build_nx_graph():
184
184
  Redistance(
185
185
  CSGIntersect(
186
186
  SampleSurfaceLattice(source, gyroidParams),
187
- EllipsoidPrimitive(source, {"size": np.array([1, 1, 1])}),
187
+ EllipsoidPrimitive(source, {"size": [1.0, 1.0, 1.0]}),
188
188
  ),
189
189
  ),
190
190
  )
@@ -201,7 +201,7 @@ def test_build_nx_graph():
201
201
  Redistance(
202
202
  CSGIntersect(
203
203
  SampleSurfaceLattice(PointSource, gyroidParams),
204
- EllipsoidPrimitive(PointSource, {"size": np.array([1, 1, 1])}),
204
+ EllipsoidPrimitive(PointSource, {"size": [1.0, 1.0, 1.0]}),
205
205
  ),
206
206
  ),
207
207
  )
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