femx 0.0.1.dev0__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,21 @@
1
+ Metadata-Version: 2.3
2
+ Name: femx
3
+ Version: 0.0.1.dev0
4
+ Summary: Early-stage finite-element and multiphysics utilities.
5
+ Requires-Python: >=3.12
6
+ Description-Content-Type: text/markdown
7
+
8
+ cat > README.md <<'MD'
9
+ # FEMx
10
+
11
+ FEMx is an early-stage Python package for finite-element and multiphysics workflows.
12
+
13
+ ## Current API
14
+
15
+ ```python
16
+ from femx import linear_shape_functions
17
+
18
+ print(linear_shape_functions(0.0))
19
+ # (0.5, 0.5)
20
+
21
+ This is the initial release for PyPI, still in development in private GitHub.
@@ -0,0 +1,14 @@
1
+ cat > README.md <<'MD'
2
+ # FEMx
3
+
4
+ FEMx is an early-stage Python package for finite-element and multiphysics workflows.
5
+
6
+ ## Current API
7
+
8
+ ```python
9
+ from femx import linear_shape_functions
10
+
11
+ print(linear_shape_functions(0.0))
12
+ # (0.5, 0.5)
13
+
14
+ This is the initial release for PyPI, still in development in private GitHub.
@@ -0,0 +1,11 @@
1
+ [project]
2
+ name = "femx"
3
+ version = "0.0.1.dev0"
4
+ description = "Early-stage finite-element and multiphysics utilities."
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ dependencies = []
8
+
9
+ [build-system]
10
+ requires = ["uv_build>=0.12.5,<0.13.0"]
11
+ build-backend = "uv_build"
@@ -0,0 +1,11 @@
1
+ [project]
2
+ name = "femx"
3
+ version = "0.0.1.dev0"
4
+ description = "Early-stage finite-element and multiphysics utilities."
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ dependencies = []
8
+
9
+ [build-system]
10
+ requires = ["uv_build>=0.12.5,<0.13.0"]
11
+ build-backend = "uv_build"
@@ -0,0 +1,9 @@
1
+ """FEMx: early-stage finite-element and multiphysics utilities."""
2
+
3
+
4
+ def linear_shape_functions(xi: float) -> tuple[float, float]:
5
+ """Return two-node linear finite-element shape functions."""
6
+ return (
7
+ 0.5 * (1.0 - xi),
8
+ 0.5 * (1.0 + xi),
9
+ )
File without changes