pytol 0.1.0__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.
Files changed (35) hide show
  1. pytol-0.1.0/.gitignore +217 -0
  2. pytol-0.1.0/.venv-pytol/Lib/site-packages/numpy/ma/LICENSE +24 -0
  3. pytol-0.1.0/.venv-pytol/Lib/site-packages/pillow-12.0.0.dist-info/licenses/LICENSE +1617 -0
  4. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
  5. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
  6. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
  7. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
  8. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
  9. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
  10. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  11. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
  12. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
  13. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
  14. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
  15. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
  16. pytol-0.1.0/.venv-pytol/Lib/site-packages/pip-25.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
  17. pytol-0.1.0/.venv-pytol/Lib/site-packages/python_dotenv-1.1.1.dist-info/licenses/LICENSE +27 -0
  18. pytol-0.1.0/.venv-pytol/Lib/site-packages/pytol-0.1.0.dist-info/licenses/LICENSE +674 -0
  19. pytol-0.1.0/.venv-pytol/Lib/site-packages/scipy/_lib/_uarray/LICENSE +29 -0
  20. pytol-0.1.0/LICENSE +674 -0
  21. pytol-0.1.0/PKG-INFO +20 -0
  22. pytol-0.1.0/README.md +2 -0
  23. pytol-0.1.0/pyproject.toml +47 -0
  24. pytol-0.1.0/pytol/__init__.py +5 -0
  25. pytol-0.1.0/pytol/parsers/vtm_parser.py +132 -0
  26. pytol-0.1.0/pytol/parsers/vts_builder.py +201 -0
  27. pytol-0.1.0/pytol/resources/city_layouts_database.json +11193 -0
  28. pytol-0.1.0/pytol/resources/guid_to_name.json +89 -0
  29. pytol-0.1.0/pytol/resources/individual_prefabs_database.json +10980 -0
  30. pytol-0.1.0/pytol/resources/noise.png +0 -0
  31. pytol-0.1.0/pytol/resources/resources.py +55 -0
  32. pytol-0.1.0/pytol/resources/vehicle_equip_database.json +293 -0
  33. pytol-0.1.0/pytol/terrain/mission_terrain_helper.py +1989 -0
  34. pytol-0.1.0/pytol/terrain/terrain_calculator.py +537 -0
  35. pytol-0.1.0/requirements.txt +4 -0
pytol-0.1.0/.gitignore ADDED
@@ -0,0 +1,217 @@
1
+ # Custom
2
+
3
+ test_map
4
+ GameData
5
+ GameDataComplete
6
+ generated_city_blocks.json
7
+ generated_static_prefabs.json
8
+
9
+
10
+ # Byte-compiled / optimized / DLL files
11
+ __pycache__/
12
+ *.py[codz]
13
+ *$py.class
14
+ test_scripts/
15
+
16
+ # C extensions
17
+ *.so
18
+
19
+ # Distribution / packaging
20
+ .Python
21
+ build/
22
+ develop-eggs/
23
+ dist/
24
+ downloads/
25
+ eggs/
26
+ .eggs/
27
+ lib/
28
+ lib64/
29
+ parts/
30
+ sdist/
31
+ var/
32
+ wheels/
33
+ share/python-wheels/
34
+ *.egg-info/
35
+ .installed.cfg
36
+ *.egg
37
+ MANIFEST
38
+
39
+ # PyInstaller
40
+ # Usually these files are written by a python script from a template
41
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
42
+ *.manifest
43
+ *.spec
44
+
45
+ # Installer logs
46
+ pip-log.txt
47
+ pip-delete-this-directory.txt
48
+
49
+ # Unit test / coverage reports
50
+ htmlcov/
51
+ .tox/
52
+ .nox/
53
+ .coverage
54
+ .coverage.*
55
+ .cache
56
+ nosetests.xml
57
+ coverage.xml
58
+ *.cover
59
+ *.py.cover
60
+ .hypothesis/
61
+ .pytest_cache/
62
+ cover/
63
+
64
+ # Translations
65
+ *.mo
66
+ *.pot
67
+
68
+ # Django stuff:
69
+ *.log
70
+ local_settings.py
71
+ db.sqlite3
72
+ db.sqlite3-journal
73
+
74
+ # Flask stuff:
75
+ instance/
76
+ .webassets-cache
77
+
78
+ # Scrapy stuff:
79
+ .scrapy
80
+
81
+ # Sphinx documentation
82
+ docs/_build/
83
+
84
+ # PyBuilder
85
+ .pybuilder/
86
+ target/
87
+
88
+ # Jupyter Notebook
89
+ .ipynb_checkpoints
90
+
91
+ # IPython
92
+ profile_default/
93
+ ipython_config.py
94
+
95
+ # pyenv
96
+ # For a library or package, you might want to ignore these files since the code is
97
+ # intended to run in multiple environments; otherwise, check them in:
98
+ # .python-version
99
+
100
+ # pipenv
101
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
102
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
103
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
104
+ # install all needed dependencies.
105
+ #Pipfile.lock
106
+
107
+ # UV
108
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
109
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
110
+ # commonly ignored for libraries.
111
+ #uv.lock
112
+
113
+ # poetry
114
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
115
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
116
+ # commonly ignored for libraries.
117
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
118
+ #poetry.lock
119
+ #poetry.toml
120
+
121
+ # pdm
122
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
123
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
124
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
125
+ #pdm.lock
126
+ #pdm.toml
127
+ .pdm-python
128
+ .pdm-build/
129
+
130
+ # pixi
131
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
132
+ #pixi.lock
133
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
134
+ # in the .venv directory. It is recommended not to include this directory in version control.
135
+ .pixi
136
+
137
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
138
+ __pypackages__/
139
+
140
+ # Celery stuff
141
+ celerybeat-schedule
142
+ celerybeat.pid
143
+
144
+ # SageMath parsed files
145
+ *.sage.py
146
+
147
+ # Environments
148
+ .env
149
+ .envrc
150
+ .venv
151
+ env/
152
+ venv/
153
+ ENV/
154
+ env.bak/
155
+ venv.bak/
156
+
157
+ # Spyder project settings
158
+ .spyderproject
159
+ .spyproject
160
+
161
+ # Rope project settings
162
+ .ropeproject
163
+
164
+ # mkdocs documentation
165
+ /site
166
+
167
+ # mypy
168
+ .mypy_cache/
169
+ .dmypy.json
170
+ dmypy.json
171
+
172
+ # Pyre type checker
173
+ .pyre/
174
+
175
+ # pytype static type analyzer
176
+ .pytype/
177
+
178
+ # Cython debug symbols
179
+ cython_debug/
180
+
181
+ # PyCharm
182
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
183
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
184
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
185
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
186
+ #.idea/
187
+
188
+ # Abstra
189
+ # Abstra is an AI-powered process automation framework.
190
+ # Ignore directories containing user credentials, local state, and settings.
191
+ # Learn more at https://abstra.io/docs
192
+ .abstra/
193
+
194
+ # Visual Studio Code
195
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
196
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
197
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
198
+ # you could uncomment the following to ignore the entire vscode folder
199
+ # .vscode/
200
+
201
+ # Ruff stuff:
202
+ .ruff_cache/
203
+
204
+ # PyPI configuration file
205
+ .pypirc
206
+
207
+ # Cursor
208
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
209
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
210
+ # refer to https://docs.cursor.com/context/ignore-files
211
+ .cursorignore
212
+ .cursorindexingignore
213
+
214
+ # Marimo
215
+ marimo/_static/
216
+ marimo/_lsp/
217
+ __marimo__/
@@ -0,0 +1,24 @@
1
+ * Copyright (c) 2006, University of Georgia and Pierre G.F. Gerard-Marchant
2
+ * All rights reserved.
3
+ * Redistribution and use in source and binary forms, with or without
4
+ * modification, are permitted provided that the following conditions are met:
5
+ *
6
+ * * Redistributions of source code must retain the above copyright
7
+ * notice, this list of conditions and the following disclaimer.
8
+ * * Redistributions in binary form must reproduce the above copyright
9
+ * notice, this list of conditions and the following disclaimer in the
10
+ * documentation and/or other materials provided with the distribution.
11
+ * * Neither the name of the University of Georgia nor the
12
+ * names of its contributors may be used to endorse or promote products
13
+ * derived from this software without specific prior written permission.
14
+ *
15
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
16
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ * DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
19
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.