qanat-design 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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 konnerhorton
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,61 @@
1
+ Metadata-Version: 2.4
2
+ Name: qanat-design
3
+ Version: 0.0.1
4
+ Summary: Closed-form and empirical design calculations for tunnels and shafts, traceable to their inputs and sources
5
+ Keywords: tunnel,tunneling,shaft,support of excavation,underground construction,geotechnical engineering,TBM,microtunneling
6
+ Author: Konner Horton
7
+ Author-email: Konner Horton <konnerhorton@gmail.com>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Topic :: Scientific/Engineering
19
+ Requires-Dist: pint>=0.24.4
20
+ Requires-Python: >=3.12
21
+ Project-URL: Homepage, https://github.com/konnerhorton/qanat
22
+ Project-URL: Source, https://github.com/konnerhorton/qanat
23
+ Project-URL: Issues, https://github.com/konnerhorton/qanat/issues
24
+ Project-URL: Specification, https://github.com/konnerhorton/qanat/blob/main/SPEC.md
25
+ Description-Content-Type: text/markdown
26
+
27
+ # qanat
28
+
29
+ Closed-form and empirical design calculations for tunnels and shafts: support of excavation, ground support, segmental linings, face pressure, groundwater inflow, basal heave, TBM and MTBM thrust. Every result is traceable to its inputs, method and source, and flags where numerical analysis is needed.
30
+
31
+ In early design: there are no calculations yet. See [`SPEC.md`](SPEC.md) for the scope and roadmap.
32
+
33
+ ## Install
34
+
35
+ qanat isn't on PyPI yet. It will be published as `qanat-design` and imported as `qanat`:
36
+
37
+ ```python
38
+ import qanat as qn
39
+ ```
40
+
41
+ Until then, install from source with [uv](https://docs.astral.sh/uv/):
42
+
43
+ ```bash
44
+ git clone https://github.com/konnerhorton/qanat.git
45
+ cd qanat
46
+ uv sync
47
+ ```
48
+
49
+ Python 3.12 or later.
50
+
51
+ ## Development
52
+
53
+ ```bash
54
+ uv sync # install, with the dev tools
55
+ uv run pytest # tests
56
+ uv run ruff check . && uv run ruff format --check . && uv run pytest # what CI runs
57
+ ```
58
+
59
+ ## License
60
+
61
+ MIT.
@@ -0,0 +1,35 @@
1
+ # qanat
2
+
3
+ Closed-form and empirical design calculations for tunnels and shafts: support of excavation, ground support, segmental linings, face pressure, groundwater inflow, basal heave, TBM and MTBM thrust. Every result is traceable to its inputs, method and source, and flags where numerical analysis is needed.
4
+
5
+ In early design: there are no calculations yet. See [`SPEC.md`](SPEC.md) for the scope and roadmap.
6
+
7
+ ## Install
8
+
9
+ qanat isn't on PyPI yet. It will be published as `qanat-design` and imported as `qanat`:
10
+
11
+ ```python
12
+ import qanat as qn
13
+ ```
14
+
15
+ Until then, install from source with [uv](https://docs.astral.sh/uv/):
16
+
17
+ ```bash
18
+ git clone https://github.com/konnerhorton/qanat.git
19
+ cd qanat
20
+ uv sync
21
+ ```
22
+
23
+ Python 3.12 or later.
24
+
25
+ ## Development
26
+
27
+ ```bash
28
+ uv sync # install, with the dev tools
29
+ uv run pytest # tests
30
+ uv run ruff check . && uv run ruff format --check . && uv run pytest # what CI runs
31
+ ```
32
+
33
+ ## License
34
+
35
+ MIT.
@@ -0,0 +1,90 @@
1
+ [project]
2
+ name = "qanat-design"
3
+ version = "0.0.1"
4
+ description = "Closed-form and empirical design calculations for tunnels and shafts, traceable to their inputs and sources"
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ license = "MIT"
8
+ license-files = ["LICENSE"]
9
+ keywords = [
10
+ "tunnel",
11
+ "tunneling",
12
+ "shaft",
13
+ "support of excavation",
14
+ "underground construction",
15
+ "geotechnical engineering",
16
+ "TBM",
17
+ "microtunneling",
18
+ ]
19
+ classifiers = [
20
+ "Development Status :: 2 - Pre-Alpha",
21
+ "Intended Audience :: Science/Research",
22
+ "Operating System :: OS Independent",
23
+ "Programming Language :: Python :: 3",
24
+ "Programming Language :: Python :: 3 :: Only",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Programming Language :: Python :: 3.13",
27
+ "Programming Language :: Python :: 3.14",
28
+ "Topic :: Scientific/Engineering",
29
+ ]
30
+ dependencies = ["pint>=0.24.4"]
31
+
32
+ [[project.authors]]
33
+ name = "Konner Horton"
34
+ email = "konnerhorton@gmail.com"
35
+
36
+ [project.urls]
37
+ Homepage = "https://github.com/konnerhorton/qanat"
38
+ Source = "https://github.com/konnerhorton/qanat"
39
+ Issues = "https://github.com/konnerhorton/qanat/issues"
40
+ Specification = "https://github.com/konnerhorton/qanat/blob/main/SPEC.md"
41
+
42
+ [dependency-groups]
43
+ dev = [
44
+ "pytest>=8.0",
45
+ "ruff>=0.17",
46
+ "hypothesis>=6.100",
47
+ ]
48
+
49
+ [build-system]
50
+ requires = ["uv_build>=0.9.9,<0.10"]
51
+ build-backend = "uv_build"
52
+
53
+ [tool.uv.build-backend]
54
+ module-name = "qanat"
55
+
56
+ [tool.ruff]
57
+ target-version = "py312"
58
+
59
+ [tool.ruff.format]
60
+ exclude = ["*.md"]
61
+
62
+ [tool.ruff.lint]
63
+ select = [
64
+ "E",
65
+ "F",
66
+ "W",
67
+ "I",
68
+ "UP",
69
+ "B",
70
+ "SIM",
71
+ "RUF",
72
+ "D",
73
+ ]
74
+
75
+ [tool.ruff.lint.pydocstyle]
76
+ convention = "numpy"
77
+
78
+ [tool.ruff.lint.per-file-ignores]
79
+ "tests/**" = ["D"]
80
+
81
+ [tool.pytest.ini_options]
82
+ testpaths = ["tests"]
83
+ addopts = [
84
+ "-ra",
85
+ "--strict-markers",
86
+ "--strict-config",
87
+ "--import-mode=importlib",
88
+ ]
89
+ xfail_strict = true
90
+ filterwarnings = ["error"]
@@ -0,0 +1,72 @@
1
+ [project]
2
+ name = "qanat-design"
3
+ version = "0.0.1"
4
+ description = "Closed-form and empirical design calculations for tunnels and shafts, traceable to their inputs and sources"
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ license = "MIT"
8
+ license-files = ["LICENSE"]
9
+ authors = [{ name = "Konner Horton", email = "konnerhorton@gmail.com" }]
10
+ keywords = [
11
+ "tunnel",
12
+ "tunneling",
13
+ "shaft",
14
+ "support of excavation",
15
+ "underground construction",
16
+ "geotechnical engineering",
17
+ "TBM",
18
+ "microtunneling",
19
+ ]
20
+ classifiers = [
21
+ "Development Status :: 2 - Pre-Alpha",
22
+ "Intended Audience :: Science/Research",
23
+ "Operating System :: OS Independent",
24
+ "Programming Language :: Python :: 3",
25
+ "Programming Language :: Python :: 3 :: Only",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ "Programming Language :: Python :: 3.14",
29
+ "Topic :: Scientific/Engineering",
30
+ ]
31
+ dependencies = [
32
+ "pint>=0.24.4",
33
+ ]
34
+
35
+ [project.urls]
36
+ Homepage = "https://github.com/konnerhorton/qanat"
37
+ Source = "https://github.com/konnerhorton/qanat"
38
+ Issues = "https://github.com/konnerhorton/qanat/issues"
39
+ Specification = "https://github.com/konnerhorton/qanat/blob/main/SPEC.md"
40
+
41
+ [dependency-groups]
42
+ dev = ["pytest>=8.0", "ruff>=0.17", "hypothesis>=6.100"]
43
+
44
+ [build-system]
45
+ requires = ["uv_build>=0.9.9,<0.10"]
46
+ build-backend = "uv_build"
47
+
48
+ # The distribution is qanat-design (the bare name is taken on PyPI); the import name is qanat.
49
+ [tool.uv.build-backend]
50
+ module-name = "qanat"
51
+
52
+ [tool.ruff]
53
+ target-version = "py312"
54
+
55
+ # Code blocks in the docs are hand-aligned sketches, not code to format.
56
+ [tool.ruff.format]
57
+ exclude = ["*.md"]
58
+
59
+ [tool.ruff.lint]
60
+ select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF", "D"]
61
+
62
+ [tool.ruff.lint.pydocstyle]
63
+ convention = "numpy"
64
+
65
+ [tool.ruff.lint.per-file-ignores]
66
+ "tests/**" = ["D"]
67
+
68
+ [tool.pytest.ini_options]
69
+ testpaths = ["tests"]
70
+ addopts = ["-ra", "--strict-markers", "--strict-config", "--import-mode=importlib"]
71
+ xfail_strict = true
72
+ filterwarnings = ["error"]
@@ -0,0 +1,12 @@
1
+ """qanat: closed-form and empirical design calculations for tunnels and shafts.
2
+
3
+ Every result is traceable to its inputs, method and source, and flags where
4
+ numerical analysis is needed. Published as ``qanat-design``; imported as
5
+ ``import qanat as qn``.
6
+ """
7
+
8
+ from importlib.metadata import version
9
+
10
+ __version__ = version("qanat-design")
11
+
12
+ __all__ = ["__version__"]