Skip to content

Commit a1ecd7c

Browse files
committed
Initial commit of quantities_lib_generator tool on SysML-v2-Pilot-Implementation
1 parent 5ff37e2 commit a1ecd7c

8 files changed

Lines changed: 1949 additions & 0 deletions

File tree

Lines changed: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
### ================== generated with https://www.gitignore.io/
2+
3+
# Created by https://www.gitignore.io/api/python
4+
# Edit at https://www.gitignore.io/?templates=python
5+
6+
### Python ###
7+
# Byte-compiled / optimized / DLL files
8+
__pycache__/
9+
*.py[cod]
10+
*$py.class
11+
12+
# C extensions
13+
*.so
14+
15+
# Distribution / packaging
16+
.Python
17+
build/
18+
develop-eggs/
19+
dist/
20+
downloads/
21+
eggs/
22+
.eggs/
23+
lib/
24+
lib64/
25+
parts/
26+
sdist/
27+
var/
28+
wheels/
29+
pip-wheel-metadata/
30+
share/python-wheels/
31+
*.egg-info/
32+
.installed.cfg
33+
*.egg
34+
MANIFEST
35+
36+
# PyInstaller
37+
# Usually these files are written by a python script from a template
38+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
39+
*.manifest
40+
*.spec
41+
42+
# Installer logs
43+
pip-log.txt
44+
pip-delete-this-directory.txt
45+
46+
# Unit test / coverage reports
47+
htmlcov/
48+
.tox/
49+
.nox/
50+
.coverage
51+
.coverage.*
52+
.cache
53+
nosetests.xml
54+
coverage.xml
55+
*.cover
56+
.hypothesis/
57+
.pytest_cache/
58+
59+
# Translations
60+
*.mo
61+
*.pot
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# pyenv
73+
.python-version
74+
75+
# pipenv
76+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
77+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
78+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
79+
# install all needed dependencies.
80+
#Pipfile.lock
81+
82+
# celery beat schedule file
83+
celerybeat-schedule
84+
85+
# SageMath parsed files
86+
*.sage.py
87+
88+
# Spyder project settings
89+
.spyderproject
90+
.spyproject
91+
92+
# Rope project settings
93+
.ropeproject
94+
95+
# Mr Developer
96+
.mr.developer.cfg
97+
.project
98+
.pydevproject
99+
100+
# mkdocs documentation
101+
/site
102+
103+
# mypy
104+
.mypy_cache/
105+
.dmypy.json
106+
dmypy.json
107+
108+
# Pyre type checker
109+
.pyre/
110+
111+
# End of https://www.gitignore.io/api/python
112+
113+
114+
# Created by https://www.gitignore.io/api/pycharm
115+
# Edit at https://www.gitignore.io/?templates=pycharm
116+
117+
### PyCharm ###
118+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
119+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
120+
121+
# User-specific stuff
122+
.idea/**/workspace.xml
123+
.idea/**/tasks.xml
124+
.idea/**/usage.statistics.xml
125+
.idea/**/dictionaries
126+
.idea/**/shelf
127+
128+
# Generated files
129+
.idea/**/contentModel.xml
130+
131+
# Sensitive or high-churn files
132+
.idea/**/dataSources/
133+
.idea/**/dataSources.ids
134+
.idea/**/dataSources.local.xml
135+
.idea/**/sqlDataSources.xml
136+
.idea/**/dynamic.xml
137+
.idea/**/uiDesigner.xml
138+
.idea/**/dbnavigator.xml
139+
140+
# Gradle
141+
.idea/**/gradle.xml
142+
.idea/**/libraries
143+
144+
# Gradle and Maven with auto-import
145+
# When using Gradle or Maven with auto-import, you should exclude module files,
146+
# since they will be recreated, and may cause churn. Uncomment if using
147+
# auto-import.
148+
# .idea/modules.xml
149+
# .idea/*.iml
150+
# .idea/modules
151+
# *.iml
152+
# *.ipr
153+
154+
# CMake
155+
cmake-build-*/
156+
157+
# Mongo Explorer plugin
158+
.idea/**/mongoSettings.xml
159+
160+
# File-based project format
161+
*.iws
162+
163+
# IntelliJ
164+
out/
165+
166+
# mpeltonen/sbt-idea plugin
167+
.idea_modules/
168+
169+
# JIRA plugin
170+
atlassian-ide-plugin.xml
171+
172+
# Cursive Clojure plugin
173+
.idea/replstate.xml
174+
175+
# Crashlytics plugin (for Android Studio and IntelliJ)
176+
com_crashlytics_export_strings.xml
177+
crashlytics.properties
178+
crashlytics-build.properties
179+
fabric.properties
180+
181+
# Editor-based Rest Client
182+
.idea/httpRequests
183+
184+
# Android studio 3.1+ serialized cache file
185+
.idea/caches/build_file_checksums.ser
186+
187+
### PyCharm Patch ###
188+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
189+
190+
.idea/**/*.iml
191+
modules.xml
192+
.idea/misc.xml
193+
*.ipr
194+
195+
# Sonarlint plugin
196+
.idea/**/sonarlint/
197+
198+
# SonarQube Plugin
199+
.idea/**/sonarIssues.xml
200+
201+
# Markdown Navigator plugin
202+
.idea/**/markdown-navigator.xml
203+
.idea/**/markdown-navigator/
204+
205+
# End of https://www.gitignore.io/api/pycharm
206+
207+
# Temporary MS Office files
208+
~*.*
209+
210+
.idea/**
211+
.idea
212+
*.log
Binary file not shown.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
"""
2+
Data and dictionaries for use in several converters
3+
"""
4+
5+
greek_letter_dict = {
6+
"varepsilon": "ɛ",
7+
"vartheta": "ϑ",
8+
"varphi": "ϕ",
9+
"Gamma": "Γ",
10+
"Delta": "Δ",
11+
"Theta": "Θ",
12+
"Lambda": "Λ",
13+
"Xi": "Ξ",
14+
"Pi": "Π",
15+
"Sigma": "Σ",
16+
"Phi": "Φ",
17+
"Psi": "Ψ",
18+
"Omega": "Ω",
19+
"alpha": "α",
20+
"beta": "β",
21+
"gamma": "γ",
22+
"delta": "δ",
23+
"epsilon": "ε",
24+
"zeta": "ζ",
25+
"theta": "θ", # theta must go before eta to achieve correct replacement order
26+
"eta": "η",
27+
"iota": "ι",
28+
"kappa": "κ",
29+
"lambda": "λ",
30+
"mu": "μ",
31+
"nu": "ν",
32+
"xi": "ξ",
33+
"pi": "π",
34+
"rho": "ρ",
35+
"sigma": "σ",
36+
"tau": "τ",
37+
"upsilon": "υ",
38+
"phi": "φ",
39+
"chi": "χ",
40+
"psi": "ψ",
41+
"omega": "ω",
42+
}

0 commit comments

Comments
 (0)