solvis 1.3.2__tar.gz → 1.3.3__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 (115) hide show
  1. solvis-1.3.3/.gitignore +119 -0
  2. {solvis-1.3.2 → solvis-1.3.3}/PKG-INFO +14 -22
  3. solvis-1.3.3/docs/api/solvis/config.md +3 -0
  4. solvis-1.3.3/docs/api/solvis/geometry.md +3 -0
  5. solvis-1.3.3/docs/api/solvis/index.md +3 -0
  6. solvis-1.3.3/docs/api/solvis/utils.md +1 -0
  7. solvis-1.3.3/pyproject.toml +112 -0
  8. {solvis-1.3.2 → solvis-1.3.3}/solvis/__init__.py +1 -1
  9. solvis-1.3.2/pyproject.toml +0 -117
  10. {solvis-1.3.2 → solvis-1.3.3}/LICENSE +0 -0
  11. {solvis-1.3.2 → solvis-1.3.3}/README.md +0 -0
  12. {solvis-1.3.2 → solvis-1.3.3}/solvis/config.py +0 -0
  13. {solvis-1.3.2 → solvis-1.3.3}/solvis/dochelper/__init__.py +0 -0
  14. {solvis-1.3.2 → solvis-1.3.3}/solvis/dochelper/extension.py +0 -0
  15. {solvis-1.3.2 → solvis-1.3.3}/solvis/dochelper/inherit_docstrings.py +0 -0
  16. {solvis-1.3.2 → solvis-1.3.3}/solvis/fault_system_solution_helper.py +0 -0
  17. {solvis-1.3.2 → solvis-1.3.3}/solvis/filter/__init__.py +0 -0
  18. {solvis-1.3.2 → solvis-1.3.3}/solvis/filter/chainable_set_base.py +0 -0
  19. {solvis-1.3.2 → solvis-1.3.3}/solvis/filter/parent_fault_id_filter.py +0 -0
  20. {solvis-1.3.2 → solvis-1.3.3}/solvis/filter/rupture_id_filter.py +0 -0
  21. {solvis-1.3.2 → solvis-1.3.3}/solvis/filter/subsection_id_filter.py +0 -0
  22. {solvis-1.3.2 → solvis-1.3.3}/solvis/geometry.py +0 -0
  23. {solvis-1.3.2 → solvis-1.3.3}/solvis/get_secret.py +0 -0
  24. {solvis-1.3.2 → solvis-1.3.3}/solvis/scripts/cli.py +0 -0
  25. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/__init__.py +0 -0
  26. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/composite_solution.py +0 -0
  27. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/dataframe_models.py +0 -0
  28. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/fault_system_solution/__init__.py +0 -0
  29. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/fault_system_solution/fault_system_solution.py +0 -0
  30. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/fault_system_solution/fault_system_solution_file.py +0 -0
  31. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/fault_system_solution/fault_system_solution_model.py +0 -0
  32. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/inversion_solution/__init__.py +0 -0
  33. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/inversion_solution/inversion_solution.py +0 -0
  34. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/inversion_solution/inversion_solution_file.py +0 -0
  35. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/inversion_solution/inversion_solution_model.py +0 -0
  36. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/named_fault.py +0 -0
  37. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/solution_participation.py +0 -0
  38. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/solution_surfaces_builder.py +0 -0
  39. {solvis-1.3.2 → solvis-1.3.3}/solvis/solution/typing.py +0 -0
  40. {solvis-1.3.2 → solvis-1.3.3}/solvis/utils.py +0 -0
  41. {solvis-1.3.2 → solvis-1.3.3}/test/__init__.py +0 -0
  42. {solvis-1.3.2 → solvis-1.3.3}/test/conftest.py +0 -0
  43. {solvis-1.3.2 → solvis-1.3.3}/test/filter/conftest.py +0 -0
  44. {solvis-1.3.2 → solvis-1.3.3}/test/filter/test_chainable_set.py +0 -0
  45. {solvis-1.3.2 → solvis-1.3.3}/test/filter/test_fault_system_solution_helper.py +0 -0
  46. {solvis-1.3.2 → solvis-1.3.3}/test/filter/test_filter_parent_fault_ids.py +0 -0
  47. {solvis-1.3.2 → solvis-1.3.3}/test/filter/test_filter_rupture_ids.py +0 -0
  48. {solvis-1.3.2 → solvis-1.3.3}/test/filter/test_filter_subsection_ids.py +0 -0
  49. {solvis-1.3.2 → solvis-1.3.3}/test/filter/test_named_fault.py +0 -0
  50. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/AveragedHikurangiInversionSolution-QXV0b21hdGlvblRhc2s6MTA3MzMy.zip +0 -0
  51. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/CrustalSmallSolution_compat.zip +0 -0
  52. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/CrustalSmallSolution_non_compat.zip +0 -0
  53. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/HikurangiSmallSolution_compat.zip +0 -0
  54. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/HikurangiSmallSolution_non_compat.zip +0 -0
  55. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/README +0 -0
  56. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/modules.json +0 -0
  57. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/average_slips.csv +0 -0
  58. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/fault_sections.geojson +0 -0
  59. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/grid_node_association_fracts.csv +0 -0
  60. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/grid_node_sect_associations.csv +0 -0
  61. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/grid_region.geojson +0 -0
  62. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/indices.csv +0 -0
  63. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/info.txt +0 -0
  64. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/inversion_target_mfds.json +0 -0
  65. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/logic_tree_branch.json +0 -0
  66. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/mod_sect_min_mags.csv +0 -0
  67. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/modules.json +0 -0
  68. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/plausibility.json +0 -0
  69. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/properties.csv +0 -0
  70. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/regional_inversion_target_mfds.json +0 -0
  71. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/sect_areas.csv +0 -0
  72. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/sect_polygons.geojson +0 -0
  73. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/sect_slip_rates.csv +0 -0
  74. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/ruptures/sub_seismo_on_fault_mfds.csv +0 -0
  75. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/solution/annealing_progress.csv +0 -0
  76. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/solution/build_info.json +0 -0
  77. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/solution/modules.json +0 -0
  78. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/solution/rates.csv +0 -0
  79. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/MiniInversionSolution/solution/sub_seismo_on_fault_mfds.csv +0 -0
  80. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/ModularAlpineVernonInversionSolution.zip +0 -0
  81. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/PuysegurInversionSolution-QXV0b21hdGlvblRhc2s6MTExMDA1.zip +0 -0
  82. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/PuysegurSmallSolution_compat.zip +0 -0
  83. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/PuysegurSmallSolution_non_compat.zip +0 -0
  84. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/TinyCompositeSolution.zip +0 -0
  85. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/TinyInversionSolution/README.md +0 -0
  86. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/TinyInversionSolution/TinyInversionSolution.zip +0 -0
  87. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/hik_fault_sections.geojson +0 -0
  88. {solvis-1.3.2 → solvis-1.3.3}/test/fixtures/puy_fault_sections.geojson +0 -0
  89. {solvis-1.3.2 → solvis-1.3.3}/test/geometry/test_circle_polygon.py +0 -0
  90. {solvis-1.3.2 → solvis-1.3.3}/test/geometry/test_geometry.py +0 -0
  91. {solvis-1.3.2 → solvis-1.3.3}/test/geometry/test_geometry_dip.py +0 -0
  92. {solvis-1.3.2 → solvis-1.3.3}/test/geometry/test_geometry_distance.py +0 -0
  93. {solvis-1.3.2 → solvis-1.3.3}/test/geometry/test_geometry_performance.py +0 -0
  94. {solvis-1.3.2 → solvis-1.3.3}/test/geometry/test_geometry_subduction.py +0 -0
  95. {solvis-1.3.2 → solvis-1.3.3}/test/geometry/test_geometry_surface.py +0 -0
  96. {solvis-1.3.2 → solvis-1.3.3}/test/inversion_solution/test_dataframe_models.py +0 -0
  97. {solvis-1.3.2 → solvis-1.3.3}/test/inversion_solution/test_inversion_solution_rate_scaling.py +0 -0
  98. {solvis-1.3.2 → solvis-1.3.3}/test/participation/test_fault_system_solution_named_fault_participation.py +0 -0
  99. {solvis-1.3.2 → solvis-1.3.3}/test/participation/test_fault_system_solution_parent_fault_participation.py +0 -0
  100. {solvis-1.3.2 → solvis-1.3.3}/test/participation/test_fault_system_solution_section_participation.py +0 -0
  101. {solvis-1.3.2 → solvis-1.3.3}/test/participation/test_inversion_solution_parent_fault_participation.py +0 -0
  102. {solvis-1.3.2 → solvis-1.3.3}/test/participation/test_inversion_solution_section_participation.py +0 -0
  103. {solvis-1.3.2 → solvis-1.3.3}/test/participation/test_performance.py +0 -0
  104. {solvis-1.3.2 → solvis-1.3.3}/test/performance/Performance hit investigation.md +0 -0
  105. {solvis-1.3.2 → solvis-1.3.3}/test/test_composite_solution.py +0 -0
  106. {solvis-1.3.2 → solvis-1.3.3}/test/test_dataframe_serialisation.py +0 -0
  107. {solvis-1.3.2 → solvis-1.3.3}/test/test_fault_system_solution.py +0 -0
  108. {solvis-1.3.2 → solvis-1.3.3}/test/test_fault_system_solution_filter.py +0 -0
  109. {solvis-1.3.2 → solvis-1.3.3}/test/test_filtered_composite_solution.py +0 -0
  110. {solvis-1.3.2 → solvis-1.3.3}/test/test_inversion_solution.py +0 -0
  111. {solvis-1.3.2 → solvis-1.3.3}/test/test_new_inversion_solution.py +0 -0
  112. {solvis-1.3.2 → solvis-1.3.3}/test/test_rupture_representatives.py +0 -0
  113. {solvis-1.3.2 → solvis-1.3.3}/test/test_solution_surfaces_builder.py +0 -0
  114. {solvis-1.3.2 → solvis-1.3.3}/test/test_solvis.py +0 -0
  115. {solvis-1.3.2 → solvis-1.3.3}/test/test_solvis_functions.py +0 -0
@@ -0,0 +1,119 @@
1
+ # CBC
2
+ DATA/*
3
+
4
+ # macOS
5
+ .DS_Store
6
+ .AppleDouble
7
+ .LSOverride
8
+
9
+ # Byte-compiled / optimized / DLL files
10
+ __pycache__/
11
+ *.py[cod]
12
+ *$py.class
13
+
14
+ # C extensions
15
+ *.so
16
+
17
+ # Distribution / packaging
18
+ .Python
19
+ env/
20
+ build/
21
+ develop-eggs/
22
+ dist/
23
+ downloads/
24
+ eggs/
25
+ .eggs/
26
+ lib/
27
+ lib64/
28
+ parts/
29
+ sdist/
30
+ var/
31
+ wheels/
32
+ *.egg-info/
33
+ .installed.cfg
34
+ *.egg
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
+ .coverage
50
+ .coverage.*
51
+ .cache
52
+ nosetests.xml
53
+ coverage.xml
54
+ *.cover
55
+ .hypothesis/
56
+ .pytest_cache/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+
66
+ # Flask stuff:
67
+ instance/
68
+ .webassets-cache
69
+
70
+ # Scrapy stuff:
71
+ .scrapy
72
+
73
+ # Sphinx documentation
74
+ docs/_build/
75
+
76
+ # PyBuilder
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # pyenv
83
+ .python-version
84
+
85
+ # celery beat schedule file
86
+ celerybeat-schedule
87
+
88
+ # SageMath parsed files
89
+ *.sage.py
90
+
91
+ # dotenv
92
+ .env
93
+
94
+ # virtualenv
95
+ .venv
96
+ venv/
97
+ ENV/
98
+
99
+ # Spyder project settings
100
+ .spyderproject
101
+ .spyproject
102
+
103
+ # Rope project settings
104
+ .ropeproject
105
+
106
+ # mkdocs documentation
107
+ /site
108
+
109
+ # mypy
110
+ .mypy_cache/
111
+
112
+ # IDE settings
113
+ .vscode/
114
+ .idea/
115
+
116
+ # mkdocs build dir
117
+ site/
118
+ audit.txt
119
+ .claude/settings.local.json
@@ -1,30 +1,23 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: solvis
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Summary: Analysis of opensha modular solution files.
5
- License-Expression: AGPL-3.0-or-later
5
+ Author-email: Chris B Chamberlain <chrisbc@artisan.co.nz>, NSHM Compute Working Group <nshm@gns.cri.nz>
6
+ License: AGPL-3.0-or-later
6
7
  License-File: LICENSE
7
- Author: Chris B Chamberlain
8
- Author-email: chrisbc@artisan.co.nz
9
- Requires-Python: >=3.10,<4.0
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.10
12
- Classifier: Programming Language :: Python :: 3.11
13
- Classifier: Programming Language :: Python :: 3.12
14
- Classifier: Programming Language :: Python :: 3.13
15
- Classifier: Programming Language :: Python :: 3.14
8
+ Requires-Python: >=3.10
9
+ Requires-Dist: geopandas>=1.0.1
10
+ Requires-Dist: nzshm-common>=0.8.1
11
+ Requires-Dist: nzshm-model>=0.13.5
12
+ Requires-Dist: pandas<3,>=2.3.0
13
+ Requires-Dist: pandera>=0.26.0
14
+ Requires-Dist: pyproj>=3.3
15
+ Requires-Dist: python-dateutil>=2.8.2
16
+ Requires-Dist: pytz>=2025.1
16
17
  Provides-Extra: demo
18
+ Requires-Dist: shapely; extra == 'demo'
17
19
  Provides-Extra: vtk
18
- Requires-Dist: geopandas (>=1.0.1)
19
- Requires-Dist: nzshm-common (>=0.8.1)
20
- Requires-Dist: nzshm-model (>=0.13.5)
21
- Requires-Dist: pandas (>=2.3.0,<3)
22
- Requires-Dist: pandera (>=0.26.0)
23
- Requires-Dist: pyproj (>=3.3)
24
- Requires-Dist: python-dateutil (>=2.8.2)
25
- Requires-Dist: pytz (>=2025.1)
26
- Requires-Dist: pyvista (>=0.44.1) ; extra == "vtk"
27
- Requires-Dist: shapely ; extra == "demo"
20
+ Requires-Dist: pyvista>=0.44.1; extra == 'vtk'
28
21
  Description-Content-Type: text/markdown
29
22
 
30
23
  # Solvis
@@ -69,4 +62,3 @@ allow deep exploration of the solution and rupture set characteristics.
69
62
  ## Install (Linux, WSL, OSX)
70
63
 
71
64
  See [Installation](docs/installation.md) instructions.
72
-
@@ -0,0 +1,3 @@
1
+ ::: solvis.config
2
+ options:
3
+ merge_init_into_class: true
@@ -0,0 +1,3 @@
1
+ ::: solvis.geometry
2
+ <!-- options:
3
+ annotations_path: full -->
@@ -0,0 +1,3 @@
1
+ ::: solvis
2
+ options:
3
+ show_root_heading: true
@@ -0,0 +1 @@
1
+ ::: solvis.utils
@@ -0,0 +1,112 @@
1
+ [project]
2
+ name = "solvis"
3
+ version = "1.3.3"
4
+ description = "Analysis of opensha modular solution files."
5
+ readme = "README.md"
6
+ license = { text = "AGPL-3.0-or-later" }
7
+ authors = [
8
+ { name = "Chris B Chamberlain", email = "chrisbc@artisan.co.nz" },
9
+ { name = "NSHM Compute Working Group", email = "nshm@gns.cri.nz" },
10
+ ]
11
+ requires-python = ">=3.10"
12
+
13
+ dependencies = [
14
+ "geopandas>=1.0.1",
15
+ "nzshm-common>=0.8.1",
16
+ "nzshm-model>=0.13.5",
17
+ "pandas>=2.3.0,<3",
18
+ "pyproj>=3.3",
19
+ "python-dateutil>=2.8.2",
20
+ "pytz>=2025.1",
21
+ "pandera>=0.26.0",
22
+ ]
23
+
24
+ [project.scripts]
25
+ cli = 'solvis.scripts.cli:cli'
26
+
27
+ [project.optional-dependencies]
28
+ vtk = ["pyvista>=0.44.1"]
29
+ demo = ["shapely"]
30
+
31
+ [dependency-groups]
32
+ doc = [
33
+ { include-group = "scripts" },
34
+ "mkdocs>=1.6.1",
35
+ "mkdocs-autorefs>=1.0.1",
36
+ "mkdocs-click>=0.8.1",
37
+ "mkdocs-include-markdown-plugin>=7.1.8",
38
+ "mkdocs-material>=9.5.21",
39
+ "mkdocs-material-extensions>=1.3.1",
40
+ "mkdocs-pymdownx-material-extras>=2.5.6",
41
+ "mkdocstrings>=0.26.2",
42
+ "mkdocstrings-python>=1.18.2,<2.0.0",
43
+ ]
44
+ dev = [
45
+ "black>=24.10.0",
46
+ "bump2version>=1.0.1",
47
+ "flake8>=7.1.1",
48
+ "flake8-docstrings>=1.7.0",
49
+ "ipython>=8.11.0",
50
+ "isort>=5.13.2",
51
+ "matplotlib>=3.6.3",
52
+ "mypy>=1.18.2",
53
+ "pandas-stubs==2.3.0.250703.*",
54
+ "pip-audit>=2.9.0",
55
+ "pytest-cov>=2.12.0",
56
+ "pytest-xdist>=3.5.0",
57
+ "pyvista>=0.44.1",
58
+ "safety>=3.6.2",
59
+ "tox>=4.4.4",
60
+ ]
61
+ scripts = [
62
+ "boto3",
63
+ "click>=8.1.3",
64
+ "click-plugins>=1.1.1",
65
+ "nshm-toshi-client>=1.0.0",
66
+ ]
67
+
68
+ [build-system]
69
+ requires = ["hatchling"]
70
+ build-backend = "hatchling.build"
71
+
72
+ [tool.hatch.build.targets.wheel]
73
+ packages = ["solvis"]
74
+
75
+ [tool.hatch.build.targets.sdist]
76
+ include = ["solvis", "test"]
77
+
78
+ [tool.uv]
79
+ exclude-newer = "1 week"
80
+ exclude-newer-package = {"nzshm-common" = false, "nzshm-model" = false, "nshm-toshi-client" = false, "solvis" = false}
81
+
82
+
83
+ [tool.black]
84
+ line-length = 120
85
+ skip-string-normalization = true
86
+ target-version = ['py311', 'py310', 'py38', 'py39']
87
+ include = '\.pyi?$'
88
+ exclude = '''
89
+ /(
90
+ \.eggs
91
+ | \.git
92
+ | \.hg
93
+ | \.mypy_cache
94
+ | \.tox
95
+ | \.venv
96
+ | _build
97
+ | buck-out
98
+ | build
99
+ | dist
100
+ )/
101
+ '''
102
+
103
+ [tool.isort]
104
+ multi_line_output = 3
105
+ include_trailing_comma = true
106
+ force_grid_wrap = 0
107
+ use_parentheses = true
108
+ ensure_newline_before_comments = true
109
+ line_length = 120
110
+ skip_gitignore = true
111
+ # you can skip files as below
112
+ #skip_glob = docs/conf.py
@@ -13,4 +13,4 @@ Classes:
13
13
  from . import utils
14
14
  from .solution import CompositeSolution, FaultSystemSolution, InversionSolution
15
15
 
16
- __version__ = '1.3.2'
16
+ __version__ = '1.3.3'
@@ -1,117 +0,0 @@
1
- [project]
2
- name = "solvis"
3
- version = "1.3.2"
4
- description = "Analysis of opensha modular solution files."
5
- readme = "README.md"
6
- license = "AGPL-3.0-or-later"
7
- authors = [
8
- { name = "Chris B Chamberlain", email = "chrisbc@artisan.co.nz" },
9
- {name="NSHM Compute Working Group", email="nshm@gns.cri.nz"}
10
- ]
11
- requires-python = ">=3.10,<4.0"
12
-
13
- dependencies = [
14
- "geopandas (>=1.0.1)",
15
- "nzshm-common (>=0.8.1)",
16
- "nzshm-model (>=0.13.5)",
17
- "pandas (>=2.3.0,<3)",
18
- "pyproj (>=3.3)",
19
- "python-dateutil (>=2.8.2)",
20
- "pytz (>=2025.1)",
21
- "pandera (>=0.26.0)"
22
- ]
23
-
24
- [tool.poetry]
25
- packages = [
26
- {include = "solvis"},
27
- {include = "test", format = "sdist" }
28
- ]
29
-
30
- [project.scripts]
31
- cli = 'solvis.scripts.cli:cli'
32
-
33
- [project.optional-dependencies]
34
- vtk = ["pyvista (>=0.44.1)"]
35
- demo = ["shapely"]
36
-
37
- [dependency-groups]
38
- doc = [
39
- { include-group = "scripts" },
40
- "mkdocs (>=1.6.1)",
41
- "mkdocs-autorefs (>=1.0.1)",
42
- "mkdocs-click (>=0.8.1)",
43
- "mkdocs-include-markdown-plugin (>=7.1.8)",
44
- "mkdocs-material (>=9.5.21)",
45
- "mkdocs-material-extensions (>=1.3.1)",
46
- "mkdocs-pymdownx-material-extras (>=2.5.6)",
47
- "mkdocs",
48
- "mkdocstrings (>=0.26.2)",
49
- "mkdocstrings-python (>=1.18.2,<2.0.0)",
50
- ]
51
- dev = [
52
- "black (>=24.10.0)",
53
- "bump2version (>=1.0.1)",
54
- "flake8 (>=7.1.1)",
55
- "flake8-docstrings (>=1.7.0)",
56
- "ipython (>=8.11.0)",
57
- "isort (>=5.13.2)",
58
- "matplotlib (>=3.6.3)",
59
- "mypy (>=1.18.2)",
60
- "pandas-stubs (==2.3.0.250703.*)",
61
- "pip-audit (>=2.9.0)",
62
- "pytest-cov (>=2.12.0)",
63
- "pytest-xdist (>=3.5.0)",
64
- "pyvista (>=0.44.1)",
65
- "safety (>=3.6.2)",
66
- "tox (>=4.4.4)"
67
- ]
68
- scripts = [
69
- "boto3",
70
- "click (>=8.1.3)",
71
- "click-plugins (>=1.1.1)",
72
- "nshm-toshi-client (>=1.0.0)"
73
- ]
74
-
75
- [tool.poetry.group.doc]
76
- optional = true
77
-
78
- [tool.poetry.group.dev]
79
- optional = true
80
-
81
- [tool.poetry.group.scripts]
82
- optional = true
83
-
84
- [tool.black]
85
- line-length = 120
86
- skip-string-normalization = true
87
- target-version = ['py311', 'py310', 'py38', 'py39']
88
- include = '\.pyi?$'
89
- exclude = '''
90
- /(
91
- \.eggs
92
- | \.git
93
- | \.hg
94
- | \.mypy_cache
95
- | \.tox
96
- | \.venv
97
- | _build
98
- | buck-out
99
- | build
100
- | dist
101
- )/
102
- '''
103
-
104
- [tool.isort]
105
- multi_line_output = 3
106
- include_trailing_comma = true
107
- force_grid_wrap = 0
108
- use_parentheses = true
109
- ensure_newline_before_comments = true
110
- line_length = 120
111
- skip_gitignore = true
112
- # you can skip files as below
113
- #skip_glob = docs/conf.py
114
-
115
- [build-system]
116
- requires = ["poetry-core>=2.0.0,<3.0.0"]
117
- build-backend = "poetry.core.masonry.api"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes