cardiac-geometriesx 0.0.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.

Potentially problematic release.


This version of cardiac-geometriesx might be problematic. Click here for more details.

@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.1
2
+ Name: cardiac-geometriesx
3
+ Version: 0.0.1
4
+ Summary: A python library for cardiac geometries
5
+ Author-email: Henrik Finsberg <henriknf@simula.no>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/finsberg/cardiac-geometriesx
8
+ Keywords: cardiac,geometry
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3 :: Only
12
+ Requires-Python: >=3.8
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: fenics-dolfinx>=0.8.0
15
+ Requires-Dist: meshio
16
+ Requires-Dist: h5py
17
+ Requires-Dist: structlog
18
+ Requires-Dist: cardiac-geometries-core
19
+ Requires-Dist: rich-click
20
+ Requires-Dist: adios4dolfinx
21
+ Provides-Extra: dev
22
+ Requires-Dist: bump-my-version; extra == "dev"
23
+ Requires-Dist: ipython; extra == "dev"
24
+ Requires-Dist: pdbpp; extra == "dev"
25
+ Requires-Dist: pre-commit; extra == "dev"
26
+ Requires-Dist: twine; extra == "dev"
27
+ Requires-Dist: wheel; extra == "dev"
28
+ Provides-Extra: docs
29
+ Provides-Extra: test
30
+ Requires-Dist: pre-commit; extra == "test"
31
+ Requires-Dist: pytest; extra == "test"
32
+ Requires-Dist: pytest-cov; extra == "test"
33
+
34
+ # Cardiac geometries
35
+
36
+ Cardiac geometries for `dolfinx` (targeting v0.8).
37
+
38
+ Install
39
+ ```
40
+ python3 -m pip install git+https://github.com/ComputationalPhysiology/cardiac-geometriesx
41
+ ```
42
+
43
+ Example usage
44
+ ```
45
+ geox lv-ellipsoid --create-fibers lv-mesh
46
+ ```
47
+
48
+ ## Authors
49
+ Henrik Finsberg (henriknf@simula.no)
50
+
51
+ ## License
52
+ MIT
@@ -0,0 +1,19 @@
1
+ # Cardiac geometries
2
+
3
+ Cardiac geometries for `dolfinx` (targeting v0.8).
4
+
5
+ Install
6
+ ```
7
+ python3 -m pip install git+https://github.com/ComputationalPhysiology/cardiac-geometriesx
8
+ ```
9
+
10
+ Example usage
11
+ ```
12
+ geox lv-ellipsoid --create-fibers lv-mesh
13
+ ```
14
+
15
+ ## Authors
16
+ Henrik Finsberg (henriknf@simula.no)
17
+
18
+ ## License
19
+ MIT
@@ -0,0 +1,145 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.2"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "cardiac-geometriesx"
7
+ version = "0.0.1"
8
+ description = "A python library for cardiac geometries"
9
+ authors = [{name = "Henrik Finsberg", email = "henriknf@simula.no"}]
10
+ license = {text = "MIT"}
11
+ classifiers = [
12
+ "License :: OSI Approved :: MIT License",
13
+ "Programming Language :: Python :: 3",
14
+ "Programming Language :: Python :: 3 :: Only",
15
+ ]
16
+ keywords = ["cardiac", "geometry"]
17
+ urls = {Homepage = "https://github.com/finsberg/cardiac-geometriesx" }
18
+ requires-python = ">=3.8"
19
+ dependencies = [
20
+ "fenics-dolfinx>=0.8.0",
21
+ "meshio",
22
+ "h5py",
23
+ "structlog",
24
+ "cardiac-geometries-core",
25
+ "rich-click",
26
+ "adios4dolfinx",
27
+ ]
28
+
29
+ [project.readme]
30
+ file = "README.md"
31
+ content-type = "text/markdown"
32
+
33
+ [project.optional-dependencies]
34
+ dev = [
35
+ "bump-my-version",
36
+ "ipython",
37
+ "pdbpp",
38
+ "pre-commit",
39
+ "twine",
40
+ "wheel",
41
+ ]
42
+ docs = [
43
+ ]
44
+ test = [
45
+ "pre-commit",
46
+ "pytest",
47
+ "pytest-cov",
48
+ ]
49
+
50
+ [project.scripts]
51
+ geox = "cardiac_geometries.cli:app"
52
+
53
+ [tool.setuptools]
54
+ include-package-data = true
55
+ package-dir = {"" = "src"}
56
+ zip-safe = false
57
+
58
+ [tool.setuptools.packages.find]
59
+ where = ["src"]
60
+ namespaces = false
61
+
62
+ [tool.aliases]
63
+ test = "pytest"
64
+
65
+ [tool.pytest.ini_options]
66
+ testpaths = ["tests"]
67
+
68
+ [tool.isort]
69
+ profile = "black"
70
+
71
+ [tool.mypy]
72
+ files = ["src/cardiac_geometries", "tests"]
73
+ ignore_missing_imports = true
74
+ exclude = [
75
+ "docs",
76
+ "examples",
77
+ ]
78
+
79
+
80
+
81
+ [tool.ruff]
82
+
83
+ # Exclude a variety of commonly ignored directories.
84
+ exclude = [
85
+ ".bzr",
86
+ ".direnv",
87
+ ".eggs",
88
+ ".git",
89
+ ".hg",
90
+ ".mypy_cache",
91
+ ".nox",
92
+ ".pants.d",
93
+ ".pytype",
94
+ ".ruff_cache",
95
+ ".svn",
96
+ ".tox",
97
+ ".venv",
98
+ "__pypackages__",
99
+ "_build",
100
+ "buck-out",
101
+ "build",
102
+ "dist",
103
+ "node_modules",
104
+ "venv",
105
+ ]
106
+
107
+ # Same as Black.
108
+ line-length = 100
109
+
110
+ # Assume Python 3.10.
111
+ target-version = "py310"
112
+
113
+ [tool.ruff.lint]
114
+ # Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
115
+ select = ["E", "F"]
116
+ ignore = ["E402", "E741", "E743", "E731"]
117
+
118
+ # Allow autofix for all enabled rules (when `--fix`) is provided.
119
+ fixable = ["A", "B", "C", "D", "E", "F"]
120
+ unfixable = []
121
+
122
+ # Allow unused variables when underscore-prefixed.
123
+ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
124
+
125
+
126
+ [tool.ruff.lint.mccabe]
127
+ # Unlike Flake8, default to a complexity level of 10.
128
+ max-complexity = 10
129
+
130
+
131
+ [tool.bumpversion]
132
+ allow_dirty = false
133
+ commit = true
134
+ message = "Bump version: {current_version} → {new_version}"
135
+ tag = true
136
+ sign_tags = false
137
+ tag_name = "v{new_version}"
138
+ tag_message = "Bump version: {current_version} → {new_version}"
139
+ current_version = "0.0.1"
140
+
141
+
142
+ [[tool.bumpversion.files]]
143
+ filename = "pyproject.toml"
144
+ search = 'version = "{current_version}"'
145
+ replace = 'version = "{new_version}"'
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,8 @@
1
+ from . import fibers
2
+ from . import geometry
3
+ from .geometry import Geometry
4
+ from . import mesh
5
+ from . import utils
6
+ from . import cli
7
+
8
+ __all__ = ["mesh", "fibers", "geometry", "Geometry", "utils", "cli"]