patme 0.4.4__py3-none-any.whl
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 patme might be problematic. Click here for more details.
- patme/__init__.py +52 -0
- patme/buildtools/__init__.py +7 -0
- patme/buildtools/rce_releasecreator.py +336 -0
- patme/buildtools/release.py +26 -0
- patme/femtools/__init__.py +5 -0
- patme/femtools/abqmsgfilechecker.py +137 -0
- patme/femtools/fecall.py +1092 -0
- patme/geometry/__init__.py +0 -0
- patme/geometry/area.py +124 -0
- patme/geometry/coordinatesystem.py +635 -0
- patme/geometry/intersect.py +284 -0
- patme/geometry/line.py +183 -0
- patme/geometry/misc.py +420 -0
- patme/geometry/plane.py +464 -0
- patme/geometry/rotate.py +244 -0
- patme/geometry/scale.py +152 -0
- patme/geometry/shape2d.py +50 -0
- patme/geometry/transformations.py +1831 -0
- patme/geometry/translate.py +139 -0
- patme/mechanics/__init__.py +4 -0
- patme/mechanics/loads.py +435 -0
- patme/mechanics/material.py +1260 -0
- patme/service/__init__.py +7 -0
- patme/service/decorators.py +85 -0
- patme/service/duration.py +96 -0
- patme/service/exceptionhook.py +104 -0
- patme/service/exceptions.py +36 -0
- patme/service/io/__init__.py +3 -0
- patme/service/io/basewriter.py +122 -0
- patme/service/logger.py +375 -0
- patme/service/mathutils.py +108 -0
- patme/service/misc.py +71 -0
- patme/service/moveimports.py +217 -0
- patme/service/stringutils.py +419 -0
- patme/service/systemutils.py +290 -0
- patme/sshtools/__init__.py +3 -0
- patme/sshtools/cara.py +435 -0
- patme/sshtools/clustercaller.py +420 -0
- patme/sshtools/facluster.py +350 -0
- patme/sshtools/sshcall.py +168 -0
- patme-0.4.4.dist-info/LICENSE +21 -0
- patme-0.4.4.dist-info/LICENSES/MIT.txt +9 -0
- patme-0.4.4.dist-info/METADATA +168 -0
- patme-0.4.4.dist-info/RECORD +46 -0
- patme-0.4.4.dist-info/WHEEL +4 -0
- patme-0.4.4.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: patme
|
|
3
|
+
Version: 0.4.4
|
|
4
|
+
Summary: Utilities for software builds, documentation, cluster interaction, calling fem tools, logging, exceptions and simple geometric and mechanical operations.
|
|
5
|
+
License: DLR 2025
|
|
6
|
+
Keywords: build,cluster,fem,log,exception
|
|
7
|
+
Author: Sebastian Freund
|
|
8
|
+
Author-email: sebastian.freund@dlr.de
|
|
9
|
+
Maintainer: Garbade, Marc
|
|
10
|
+
Maintainer-email: <marc.garbade@dlr.de>
|
|
11
|
+
Requires-Python: >=3.9,<4.0
|
|
12
|
+
Classifier: License :: Other/Proprietary License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Requires-Dist: importlib_metadata
|
|
20
|
+
Requires-Dist: numpy (<2)
|
|
21
|
+
Requires-Dist: scipy
|
|
22
|
+
Requires-Dist: sshconf
|
|
23
|
+
Requires-Dist: tomlkit
|
|
24
|
+
Project-URL: Changelog, https://gitlab.dlr.de/sy-stm/software/patme/-/blob/master/changelog.md
|
|
25
|
+
Project-URL: Documentation, https://sy-stm.pages.gitlab.dlr.de/software/patme/
|
|
26
|
+
Project-URL: Homepage, https://gitlab.dlr.de/fa_sw/patme
|
|
27
|
+
Project-URL: Repository, https://gitlab.dlr.de/fa_sw/patme
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
<!--
|
|
31
|
+
SPDX-FileCopyrightText: 2022 German Aerospace Center (DLR)
|
|
32
|
+
|
|
33
|
+
SPDX-License-Identifier: MIT
|
|
34
|
+
-->
|
|
35
|
+
|
|
36
|
+
# patme
|
|
37
|
+
|
|
38
|
+
Utilities for basic software engineering, geometry, mechanics support and infrastructure handling.
|
|
39
|
+
|
|
40
|
+
[](https://gitlab.dlr.de/sy-stm/software/patme/-/commits/master)
|
|
41
|
+
[](https://ggitlab.dlr.de/sy-stm/software/patme/-/commits/master)
|
|
42
|
+
[](https://gitlab.dlr.de/sy-stm/software/patme/-/releases)
|
|
43
|
+
|
|
44
|
+
## Features
|
|
45
|
+
The full documentation can be found [here](https://sy-stm.pages.gitlab.dlr.de/software/patme/).
|
|
46
|
+
|
|
47
|
+
### Software Engineering Features
|
|
48
|
+
- software builds
|
|
49
|
+
- release automation
|
|
50
|
+
- build documentation (sphinx)
|
|
51
|
+
- logging
|
|
52
|
+
|
|
53
|
+
Planned items:
|
|
54
|
+
- exception hooks
|
|
55
|
+
- (potentially) decorators
|
|
56
|
+
- Create RCE components and push them on an RCE server
|
|
57
|
+
|
|
58
|
+
### Common useful features
|
|
59
|
+
Planned items:
|
|
60
|
+
- Call FEM software
|
|
61
|
+
- Plot samples (Matplotlib, Latex-Pgfplots)
|
|
62
|
+
|
|
63
|
+
### DLR-SY specific features
|
|
64
|
+
Planned items:
|
|
65
|
+
- SSH interface
|
|
66
|
+
- SSH based cluster interaction
|
|
67
|
+
- Run several jobs (FEM, python, matlab etc.) as samples with various parallelization options
|
|
68
|
+
- parallel local
|
|
69
|
+
- parallel remote
|
|
70
|
+
- asynchronous sampling (e.g. dependend on license availability)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
software builds, documentation, cluster interaction, calling fem tools, logging, exceptions.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## Installation
|
|
78
|
+
|
|
79
|
+
At least you require Python 3.
|
|
80
|
+
|
|
81
|
+
### Installation from source
|
|
82
|
+
Get patme source from
|
|
83
|
+
|
|
84
|
+
> https://gitlab.dlr.de/sy-stm/software/patme.git
|
|
85
|
+
|
|
86
|
+
and add the /src folder to pythonpath in the environment variables
|
|
87
|
+
|
|
88
|
+
### Installation as python package
|
|
89
|
+
Install it from [the gitlab packacke registry](https://gitlab.dlr.de/sy-stm/software/patme/-/packages)
|
|
90
|
+
|
|
91
|
+
You can download the latest artifact (*.whl) and install it using
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
> cd patme
|
|
95
|
+
> python setup.py install patme<version>.whl
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Test the installation
|
|
99
|
+
In python execute:
|
|
100
|
+
|
|
101
|
+
> import patme
|
|
102
|
+
|
|
103
|
+
### Developers
|
|
104
|
+
|
|
105
|
+
Developers may also install the pre-commit hook.
|
|
106
|
+
|
|
107
|
+
**Precommit**
|
|
108
|
+
1. install the pre-commit
|
|
109
|
+
> pip install pre-commit
|
|
110
|
+
2. In the patme folder
|
|
111
|
+
> pre-commit install
|
|
112
|
+
|
|
113
|
+
This enables the pre-commit hooks defined in _.pre-commit-config.yaml_
|
|
114
|
+
and eases your commits and successful pipline runs.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
## CI Pipeline and Jobs for Developers
|
|
118
|
+
|
|
119
|
+
If you encounter any failed job on the pipeline you can run them locally for more information.
|
|
120
|
+
(prerequisite: have _make_ and _poetry_ installed [e.g. conda install make poetry])
|
|
121
|
+
|
|
122
|
+
See all availabe make targets used for the ci-jobs
|
|
123
|
+
|
|
124
|
+
> make list
|
|
125
|
+
|
|
126
|
+
Find the target with matching names and execute them locally e.g.:
|
|
127
|
+
> make test
|
|
128
|
+
|
|
129
|
+
If **check-formatting** fails, run the following to fix issues.
|
|
130
|
+
> make formatting
|
|
131
|
+
|
|
132
|
+
If **check-license-metadata** fails, run
|
|
133
|
+
> make check-license-metadata
|
|
134
|
+
|
|
135
|
+
identify the corresponding filename and run the following (include the filename in $filename)
|
|
136
|
+
> poetry run reuse addheader --copyright="German Aerospace Center (DLR)" --license="MIT" $filename
|
|
137
|
+
|
|
138
|
+
## Contributing to _patme_
|
|
139
|
+
|
|
140
|
+
We welcome your contribution!
|
|
141
|
+
|
|
142
|
+
If you want to provide a code change, please:
|
|
143
|
+
|
|
144
|
+
* Create a fork of the GitLab project.
|
|
145
|
+
* Develop the feature/patch
|
|
146
|
+
* Provide a merge request.
|
|
147
|
+
|
|
148
|
+
> If it is the first time that you contribute, please add yourself to the list
|
|
149
|
+
> of contributors below.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
## Citing
|
|
153
|
+
|
|
154
|
+
No citing required
|
|
155
|
+
|
|
156
|
+
## License
|
|
157
|
+
|
|
158
|
+
MIT
|
|
159
|
+
|
|
160
|
+
## Change Log
|
|
161
|
+
|
|
162
|
+
see [changelog](changelog.md)
|
|
163
|
+
|
|
164
|
+
## Authors
|
|
165
|
+
|
|
166
|
+
[Sebastian Freund](mailto:sebastian.freund@dlr.de)
|
|
167
|
+
[Andreas Schuster](mailto:andreas.schuster@dlr.de)
|
|
168
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
patme/__init__.py,sha256=ImoSjgT56cGNeH0R2_M2uUEK5rCd9-27VCHImHEYKJI,1576
|
|
2
|
+
patme/buildtools/__init__.py,sha256=ugGLU2AFJj2Z9GK4j22R2qjcIxWtF8lCbrEgkSNq7n4,184
|
|
3
|
+
patme/buildtools/rce_releasecreator.py,sha256=AFoAOjJ4VXQNUiaQ6PQoKW29UHi7NxPOA3xvrqy39Pg,12899
|
|
4
|
+
patme/buildtools/release.py,sha256=PPu7on_9eXnKeytmTno5tVEzwrc_HUqLmY0b3UQcQhs,662
|
|
5
|
+
patme/femtools/__init__.py,sha256=h2Mna7Uv4eN1RIdSgsVDDZENkIB5EDkVRtkx3GWSgkU,123
|
|
6
|
+
patme/femtools/abqmsgfilechecker.py,sha256=tJz57UIJDkAia0ftrvwrKo2lJxfXLgOvOg9XA85kVto,4998
|
|
7
|
+
patme/femtools/fecall.py,sha256=BSkh3EJaApLu-__Z7qxm5LKzZkZLesD7XfQrA8N64fg,39307
|
|
8
|
+
patme/geometry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
patme/geometry/area.py,sha256=g_eetXrVz59ZT5evC4W3ONwBmN_5CXpSp3OIvkIBeqA,4663
|
|
10
|
+
patme/geometry/coordinatesystem.py,sha256=1LduewMXGSX0jiFyrooBO45zGjytKBTx5n0MXZPPKCc,26107
|
|
11
|
+
patme/geometry/intersect.py,sha256=Q-sZoVIMPMKtSv1oqojpdWf74nxToE64FBntz2zRMJ8,12459
|
|
12
|
+
patme/geometry/line.py,sha256=h1Pnsa-LJfrD956VnGkA8TlKTiZaQtu5NQU9EjU76L4,6743
|
|
13
|
+
patme/geometry/misc.py,sha256=0Kw0DM5nY8g44NfEf57l4nfxwVaLQOi70DoJmYwGu8M,15852
|
|
14
|
+
patme/geometry/plane.py,sha256=MYIXQysVRPGS2gWUIvS_7gwBHvvB5rsGNgox23b988M,17866
|
|
15
|
+
patme/geometry/rotate.py,sha256=YADTIFUV7kkFEsPl4TAkj-hhA-I5-HSOpTNH3Ael7rI,9721
|
|
16
|
+
patme/geometry/scale.py,sha256=pgz7FV_siAFveSteo1FsvQ_QA-6CxTgyDOIdUJ16qOU,5046
|
|
17
|
+
patme/geometry/shape2d.py,sha256=LG8R8OKovW7_Co0WC9NVNH3gCpQkMsdbCFwX5F9zxlw,1875
|
|
18
|
+
patme/geometry/transformations.py,sha256=A3W0VE1XQ6VoMtEdaUeqCVFXJZ1E5kWzVBQHoW-o3Uc,60965
|
|
19
|
+
patme/geometry/translate.py,sha256=BtYJGp9X-SQfLTAaUZvzZL-8lNFP5vxysP1_wqq1ZYA,4192
|
|
20
|
+
patme/mechanics/__init__.py,sha256=sNpRBARPNJs19hdEIq2RVTRNzYgCxmGJ-ZeG7wiapsM,201
|
|
21
|
+
patme/mechanics/loads.py,sha256=nmQPEQqO27Rc7OcIbqKqqGidcgvQyWLqb5rlCt86zcE,15218
|
|
22
|
+
patme/mechanics/material.py,sha256=oO9zeaIGjGXOiS1c3oSAgt4GcWoUdal68IR0sGmafv8,47445
|
|
23
|
+
patme/service/__init__.py,sha256=BFFNn669dQChgknQaFb9Le42MGHbFh8u33FVwQPDh9A,202
|
|
24
|
+
patme/service/decorators.py,sha256=FY9_94Qi5t9AQzGc61MuuKkVh90YCKMd6WcUvByeNlo,2587
|
|
25
|
+
patme/service/duration.py,sha256=Cy4K42JiOA2aDqIrRuV4RUMdD5xfrmecDJzlAVsz5jI,2163
|
|
26
|
+
patme/service/exceptionhook.py,sha256=H0j9zHlSHp96vonHamm_9R5UVZOfNty0uKkcQCDULLA,3302
|
|
27
|
+
patme/service/exceptions.py,sha256=uBygOH04uni31WPzf1If-N33gKgDL3CZwOX6nPLMQXc,774
|
|
28
|
+
patme/service/io/__init__.py,sha256=OPhWsSvs9JnL6quWtiFOZwQM7AynJi8IWdrR_XML57Q,94
|
|
29
|
+
patme/service/io/basewriter.py,sha256=wzb9uk1pEfWMPYWEO-I54XwGyE4KJXiWv_bI1j39kfI,3767
|
|
30
|
+
patme/service/logger.py,sha256=efa2ONcny_JEyc9mpiYQAgT58j6FyZTtozkHHkX4n4s,13115
|
|
31
|
+
patme/service/mathutils.py,sha256=IZqMGx9s92s9t79xBH5wQW1lC6KLXUGq09DSO3bba2w,3452
|
|
32
|
+
patme/service/misc.py,sha256=-SVtPzhzj5cQd0KAAqFeErCqhB47i0sTUWHrFSX3Pu4,2115
|
|
33
|
+
patme/service/moveimports.py,sha256=chbnwSRtUfFam5m5TZfGhJg4FfD3E_v15zJIsyhkt6g,8463
|
|
34
|
+
patme/service/stringutils.py,sha256=n0VQ-53rysm7YpCA79rkhqRS6TXHDwYDO6GSETZksdY,16093
|
|
35
|
+
patme/service/systemutils.py,sha256=4ZYv4hthbFj42wFV-gjXNe6Y5m4yEAOA74dnxPAkVYk,10927
|
|
36
|
+
patme/sshtools/__init__.py,sha256=OPhWsSvs9JnL6quWtiFOZwQM7AynJi8IWdrR_XML57Q,94
|
|
37
|
+
patme/sshtools/cara.py,sha256=Km53nl2CGMm2v3_lcbr4eb8pN8hyrTHJ2V4Bz38KKAY,17059
|
|
38
|
+
patme/sshtools/clustercaller.py,sha256=3Frt2cFpVV7FUoek8RVvApBZcyjcDQiLKvpBOnxiG1k,17096
|
|
39
|
+
patme/sshtools/facluster.py,sha256=-QwXI9YoZz8ynGUnpRDchG7fFO1F5MXZShf9h_GaRs8,14710
|
|
40
|
+
patme/sshtools/sshcall.py,sha256=WK8M4PN0mWkOgkoAmAof6Amf3ZoJDfFm0WfcmaXXaKY,6343
|
|
41
|
+
patme-0.4.4.dist-info/LICENSE,sha256=m84IbJjjgyJWly5cPCFRrqcWC6wFGbQZSthKGwXy00I,1074
|
|
42
|
+
patme-0.4.4.dist-info/LICENSES/MIT.txt,sha256=uF3NPkU9BZglUsUrX8ngvdbSPG-OhEuYSoivMlcLDMA,1078
|
|
43
|
+
patme-0.4.4.dist-info/METADATA,sha256=L_nspBQQJ-HaqBHNvkvOzUDMR7AxaLdm4wB4lzF-LQg,4827
|
|
44
|
+
patme-0.4.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
45
|
+
patme-0.4.4.dist-info/entry_points.txt,sha256=Tx3XSAm8TGSy5jbuexhI1nLhNdJKJqhw6XY7pb8_MOM,59
|
|
46
|
+
patme-0.4.4.dist-info/RECORD,,
|