pypsbuilder 2.3.5__tar.gz → 2.4.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 (57) hide show
  1. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/CHANGELOG.md +9 -0
  2. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/PKG-INFO +19 -2
  3. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/README.md +9 -1
  4. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api.rst +1 -1
  5. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/conf.py +47 -36
  6. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/__init__.py +1 -1
  7. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/psexplorer.py +1222 -472
  8. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder.egg-info/PKG-INFO +19 -2
  9. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/setup.cfg +1 -1
  10. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/setup.py +17 -24
  11. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/AUTHORS.md +0 -0
  12. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/CONTRIBUTING.md +0 -0
  13. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/LICENSE +0 -0
  14. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/MANIFEST.in +0 -0
  15. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/Makefile +0 -0
  16. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psclasses.Dogmin.rst +0 -0
  17. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psclasses.InvPoint.rst +0 -0
  18. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psclasses.PTsection.rst +0 -0
  19. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psclasses.PXsection.rst +0 -0
  20. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psclasses.TCResult.rst +0 -0
  21. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psclasses.TCResultSet.rst +0 -0
  22. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psclasses.TXsection.rst +0 -0
  23. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psclasses.UniLine.rst +0 -0
  24. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psexplorer.PTPS.rst +0 -0
  25. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psexplorer.PXPS.rst +0 -0
  26. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.psexplorer.TXPS.rst +0 -0
  27. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.tcapi.TC34API.rst +0 -0
  28. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/api/pypsbuilder.tcapi.TC35API.rst +0 -0
  29. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/authors.rst +0 -0
  30. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/command-line.rst +0 -0
  31. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/index.rst +0 -0
  32. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/installation.rst +0 -0
  33. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/psbuilders-tutorial.rst +0 -0
  34. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/docs/psexplorer-tutorial.rst +0 -0
  35. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/images/__init__.py +0 -0
  36. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/images/ptbuilder.png +0 -0
  37. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/images/pxbuilder.png +0 -0
  38. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/images/pypsbuilder.png +0 -0
  39. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/images/txbuilder.png +0 -0
  40. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/psbuilders.py +0 -0
  41. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/psclasses.py +0 -0
  42. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/tcapi.py +0 -0
  43. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/tcinit.py +0 -0
  44. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/tests/__init__.py +0 -0
  45. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/tests/test_pclasses.py +0 -0
  46. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/ui_addinv.py +0 -0
  47. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/ui_adduni.py +0 -0
  48. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/ui_ptbuilder.py +0 -0
  49. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/ui_pxbuilder.py +0 -0
  50. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/ui_txbuilder.py +0 -0
  51. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder/ui_uniguess.py +0 -0
  52. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder.egg-info/SOURCES.txt +0 -0
  53. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder.egg-info/dependency_links.txt +0 -0
  54. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder.egg-info/entry_points.txt +0 -0
  55. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder.egg-info/not-zip-safe +0 -0
  56. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder.egg-info/requires.txt +0 -0
  57. {pypsbuilder-2.3.5 → pypsbuilder-2.4.0}/pypsbuilder.egg-info/top_level.txt +0 -0
@@ -1,6 +1,15 @@
1
1
  # Changelog
2
2
  All notable pypsbuilder changes.
3
3
 
4
+ ## [2.4.0] - 2023-12-21
5
+ ### Fixed
6
+ - important collect_grid_data bug causing isopleths twisting fixed.
7
+ - collect_ptpath missing field check added
8
+ - remove_grid_data method added
9
+ - isopleths bivariate spline method added
10
+ ## [2.3.6] - 2023-12-13
11
+ ### Added
12
+ - search_composition method added to PTPS to find best estimate for isopleths intersection
4
13
  ## [2.3.5] - 2023-12-09
5
14
  ### Fixed
6
15
  - accept var check
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypsbuilder
3
- Version: 2.3.5
3
+ Version: 2.4.0
4
4
  Summary: THERMOCALC front-end for constructing and analyzing PT pseudosections
5
5
  Home-page: https://github.com/ondrolexa/pypsbuilder
6
6
  Author: Ondrej Lexa
@@ -36,14 +36,22 @@ Not that simplistic THERMOCALC front-end for constructing and visualizations of
36
36
 
37
37
  ## How to install
38
38
 
39
- Easiest way to install **pypsbuilder** is to use conda package management system. Create conda environment from the included `environment.yml` file:
39
+ Easiest way to install **pypsbuilder** is to use conda/mamba package management system. Create environment from the included `environment.yml` file:
40
40
 
41
41
  conda env create -f environment.yml
42
42
 
43
+ or
44
+
45
+ mamba env create -f environment.yml
46
+
43
47
  Then activate the new environment:
44
48
 
45
49
  conda activate pyps
46
50
 
51
+ or
52
+
53
+ mamba activate pyps
54
+
47
55
  and install pypsbuilder using pip:
48
56
 
49
57
  pip install pypsbuilder
@@ -80,6 +88,15 @@ pypsbuilder is free software: you can redistribute it and/or modify it under the
80
88
  # Changelog
81
89
  All notable pypsbuilder changes.
82
90
 
91
+ ## [2.4.0] - 2023-12-21
92
+ ### Fixed
93
+ - important collect_grid_data bug causing isopleths twisting fixed.
94
+ - collect_ptpath missing field check added
95
+ - remove_grid_data method added
96
+ - isopleths bivariate spline method added
97
+ ## [2.3.6] - 2023-12-13
98
+ ### Added
99
+ - search_composition method added to PTPS to find best estimate for isopleths intersection
83
100
  ## [2.3.5] - 2023-12-09
84
101
  ### Fixed
85
102
  - accept var check
@@ -10,14 +10,22 @@ Not that simplistic THERMOCALC front-end for constructing and visualizations of
10
10
 
11
11
  ## How to install
12
12
 
13
- Easiest way to install **pypsbuilder** is to use conda package management system. Create conda environment from the included `environment.yml` file:
13
+ Easiest way to install **pypsbuilder** is to use conda/mamba package management system. Create environment from the included `environment.yml` file:
14
14
 
15
15
  conda env create -f environment.yml
16
16
 
17
+ or
18
+
19
+ mamba env create -f environment.yml
20
+
17
21
  Then activate the new environment:
18
22
 
19
23
  conda activate pyps
20
24
 
25
+ or
26
+
27
+ mamba activate pyps
28
+
21
29
  and install pypsbuilder using pip:
22
30
 
23
31
  pip install pypsbuilder
@@ -3,7 +3,7 @@ Python API
3
3
 
4
4
  **pypsbuilder** expose several classes which could be used
5
5
  in Python sctipts, interactively or in Jupyter notebooks. Check included
6
- `jupyter notebook <https://nbviewer.jupyter.org/github/ondrolexa/pypsbuilder/blob/develop/notebooks/pypsbuilder.ipynb>`_
6
+ `jupyter notebook <https://nbviewer.jupyter.org/github/ondrolexa/pypsbuilder/blob/master/notebooks/pypsbuilder.ipynb>`_
7
7
  to see how it works.
8
8
 
9
9
  Here you can find auto-generated documentation of main classes, methods and
@@ -20,9 +20,9 @@
20
20
  import os
21
21
  import sys
22
22
 
23
- sys.path.insert(0, os.path.abspath('.'))
24
- sys.path.insert(0, os.path.abspath('..'))
25
- sys.path.insert(0, os.path.abspath('../'))
23
+ sys.path.insert(0, os.path.abspath("."))
24
+ sys.path.insert(0, os.path.abspath(".."))
25
+ sys.path.insert(0, os.path.abspath("../"))
26
26
 
27
27
 
28
28
  # -- General configuration ------------------------------------------------
@@ -35,42 +35,49 @@ sys.path.insert(0, os.path.abspath('../'))
35
35
  # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
36
36
  # ones.
37
37
  extensions = [
38
- 'sphinx.ext.todo',
39
- 'sphinx.ext.autodoc',
40
- 'sphinx.ext.napoleon',
41
- 'sphinx.ext.autosummary'
38
+ "sphinx.ext.todo",
39
+ "sphinx.ext.autodoc",
40
+ "sphinx.ext.napoleon",
41
+ "sphinx.ext.autosummary",
42
42
  ]
43
43
 
44
44
  napoleon_google_docstring = True
45
45
  napoleon_numpy_docstring = False
46
46
 
47
- autodoc_mock_imports = ['numpy', 'matplotlib', 'scipy', 'shapely',
48
- 'networkx', 'tqdm', 'mpl_toolkits']
47
+ autodoc_mock_imports = [
48
+ "numpy",
49
+ "matplotlib",
50
+ "scipy",
51
+ "shapely",
52
+ "networkx",
53
+ "tqdm",
54
+ "mpl_toolkits",
55
+ ]
49
56
  # Add any paths that contain templates here, relative to this directory.
50
- templates_path = ['_templates']
57
+ templates_path = ["_templates"]
51
58
 
52
59
  # The suffix(es) of source filenames.
53
60
  # You can specify multiple suffix as a list of string:
54
61
  #
55
62
  # source_suffix = ['.rst', '.md']
56
- source_suffix = '.rst'
63
+ source_suffix = ".rst"
57
64
 
58
65
  # The master toctree document.
59
- master_doc = 'index'
66
+ master_doc = "index"
60
67
 
61
68
  # General information about the project.
62
- project = 'pypsbuilder'
63
- copyright = '2020, Ondrej Lexa'
64
- author = 'Ondrej Lexa'
69
+ project = "pypsbuilder"
70
+ copyright = "2020, Ondrej Lexa"
71
+ author = "Ondrej Lexa"
65
72
 
66
73
  # The version info for the project you're documenting, acts as replacement for
67
74
  # |version| and |release|, also used in various other places throughout the
68
75
  # built documents.
69
76
  #
70
77
  # The short X.Y version.
71
- version = '2.3'
78
+ version = "2.4"
72
79
  # The full version, including alpha/beta/rc tags.
73
- release = '2.3.5'
80
+ release = "2.4.0"
74
81
 
75
82
  # The language for content autogenerated by Sphinx. Refer to documentation
76
83
  # for a list of supported languages.
@@ -82,22 +89,21 @@ language = None
82
89
  # List of patterns, relative to source directory, that match files and
83
90
  # directories to ignore when looking for source files.
84
91
  # This patterns also effect to html_static_path and html_extra_path
85
- exclude_patterns = ['_build', '**.ipynb_checkpoints', 'Thumbs.db', '.DS_Store']
92
+ exclude_patterns = ["_build", "**.ipynb_checkpoints", "Thumbs.db", ".DS_Store"]
86
93
 
87
94
  # The name of the Pygments (syntax highlighting) style to use.
88
- pygments_style = 'sphinx'
95
+ pygments_style = "sphinx"
89
96
 
90
97
  # If true, `todo` and `todoList` produce output, else they produce nothing.
91
98
  todo_include_todos = True
92
99
 
93
- autodoc_default_options = {'member-order': 'bysource',
94
- 'show-inheritance': True}
100
+ autodoc_default_options = {"member-order": "bysource", "show-inheritance": True}
95
101
  autosummary_generate = True
96
102
  # -- Options for HTML output ----------------------------------------------
97
103
 
98
104
  # The theme to use for HTML and HTML Help pages. See the documentation for
99
105
  # a list of builtin themes.
100
- html_theme = 'sphinx_rtd_theme'
106
+ html_theme = "sphinx_rtd_theme"
101
107
 
102
108
  # Theme options are theme-specific and customize the look and feel of a theme
103
109
  # further. For a list of options available for each theme, see the
@@ -108,7 +114,7 @@ html_theme = 'sphinx_rtd_theme'
108
114
  # Add any paths that contain custom static files (such as style sheets) here,
109
115
  # relative to this directory. They are copied after the builtin static files,
110
116
  # so a file named "default.css" will overwrite the builtin "default.css".
111
- html_static_path = ['_static']
117
+ html_static_path = ["_static"]
112
118
 
113
119
  # Hide source link
114
120
  html_show_sourcelink = False
@@ -116,7 +122,7 @@ html_show_sourcelink = False
116
122
  # -- Options for HTMLHelp output ------------------------------------------
117
123
 
118
124
  # Output file base name for HTML help builder.
119
- htmlhelp_basename = 'pypsbuilderdoc'
125
+ htmlhelp_basename = "pypsbuilderdoc"
120
126
 
121
127
 
122
128
  # -- Options for LaTeX output ---------------------------------------------
@@ -125,15 +131,12 @@ latex_elements = {
125
131
  # The paper size ('letterpaper' or 'a4paper').
126
132
  #
127
133
  # 'papersize': 'letterpaper',
128
-
129
134
  # The font size ('10pt', '11pt' or '12pt').
130
135
  #
131
136
  # 'pointsize': '10pt',
132
-
133
137
  # Additional stuff for the LaTeX preamble.
134
138
  #
135
139
  # 'preamble': '',
136
-
137
140
  # Latex figure (float) alignment
138
141
  #
139
142
  # 'figure_align': 'htbp',
@@ -143,8 +146,13 @@ latex_elements = {
143
146
  # (source start file, target name, title,
144
147
  # author, documentclass [howto, manual, or own class]).
145
148
  latex_documents = [
146
- (master_doc, 'pypsbuilder.tex', 'pypsbuilder Documentation',
147
- 'Ondrej Lexa', 'manual'),
149
+ (
150
+ master_doc,
151
+ "pypsbuilder.tex",
152
+ "pypsbuilder Documentation",
153
+ "Ondrej Lexa",
154
+ "manual",
155
+ ),
148
156
  ]
149
157
 
150
158
 
@@ -152,10 +160,7 @@ latex_documents = [
152
160
 
153
161
  # One entry per manual page. List of tuples
154
162
  # (source start file, name, description, authors, manual section).
155
- man_pages = [
156
- (master_doc, 'pypsbuilder', 'pypsbuilder Documentation',
157
- [author], 1)
158
- ]
163
+ man_pages = [(master_doc, "pypsbuilder", "pypsbuilder Documentation", [author], 1)]
159
164
 
160
165
 
161
166
  # -- Options for Texinfo output -------------------------------------------
@@ -164,7 +169,13 @@ man_pages = [
164
169
  # (source start file, target name, title, author,
165
170
  # dir menu entry, description, category)
166
171
  texinfo_documents = [
167
- (master_doc, 'pypsbuilder', 'pypsbuilder Documentation',
168
- author, 'pypsbuilder', 'One line description of project.',
169
- 'Miscellaneous'),
172
+ (
173
+ master_doc,
174
+ "pypsbuilder",
175
+ "pypsbuilder Documentation",
176
+ author,
177
+ "pypsbuilder",
178
+ "One line description of project.",
179
+ "Miscellaneous",
180
+ ),
170
181
  ]
@@ -22,7 +22,7 @@ __all__ = (
22
22
  "get_tcapi",
23
23
  )
24
24
 
25
- __version__ = "2.3.5"
25
+ __version__ = "2.4.0"
26
26
  __author__ = "Ondrej Lexa"
27
27
  __copyright__ = "© Ondrej Lexa 2023"
28
28
  __email__ = "lexa.ondrej@gmail.com"