pypsbuilder 2.5.0__tar.gz → 2.5.2__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 (67) hide show
  1. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/CHANGELOG.md +3 -0
  2. pypsbuilder-2.5.2/PKG-INFO +94 -0
  3. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/README.md +21 -19
  4. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pyproject.toml +29 -12
  5. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/__init__.py +2 -1
  6. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/psbuilders.py +244 -738
  7. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/psclasses.py +37 -125
  8. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/psexplorer.py +121 -443
  9. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/tcapi.py +511 -474
  10. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/tcinit.py +93 -92
  11. pypsbuilder-2.5.2/pypsbuilder/tests/test_pclasses.py +277 -0
  12. pypsbuilder-2.5.2/pypsbuilder/ui/addinv.ui +113 -0
  13. pypsbuilder-2.5.2/pypsbuilder/ui/adduni.ui +119 -0
  14. pypsbuilder-2.5.2/pypsbuilder/ui/compile_ui.sh +9 -0
  15. pypsbuilder-2.5.2/pypsbuilder/ui/ptbuilder.ui +1265 -0
  16. pypsbuilder-2.5.2/pypsbuilder/ui/pxbuilder.ui +1245 -0
  17. pypsbuilder-2.5.2/pypsbuilder/ui/txbuilder.ui +1251 -0
  18. pypsbuilder-2.5.2/pypsbuilder/ui/uniguess.ui +85 -0
  19. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_addinv.py +3 -3
  20. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_adduni.py +3 -3
  21. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_ptbuilder.py +10 -3
  22. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_pxbuilder.py +10 -3
  23. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_txbuilder.py +10 -3
  24. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_uniguess.py +3 -3
  25. pypsbuilder-2.5.0/MANIFEST.in +0 -11
  26. pypsbuilder-2.5.0/PKG-INFO +0 -299
  27. pypsbuilder-2.5.0/docs/Makefile +0 -20
  28. pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.Dogmin.rst +0 -31
  29. pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.InvPoint.rst +0 -34
  30. pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.PTsection.rst +0 -41
  31. pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.PXsection.rst +0 -41
  32. pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.TCResult.rst +0 -30
  33. pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.TCResultSet.rst +0 -35
  34. pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.TXsection.rst +0 -41
  35. pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.UniLine.rst +0 -36
  36. pypsbuilder-2.5.0/docs/api/pypsbuilder.psexplorer.PTPS.rst +0 -77
  37. pypsbuilder-2.5.0/docs/api/pypsbuilder.psexplorer.PXPS.rst +0 -74
  38. pypsbuilder-2.5.0/docs/api/pypsbuilder.psexplorer.TXPS.rst +0 -74
  39. pypsbuilder-2.5.0/docs/api/pypsbuilder.tcapi.TC34API.rst +0 -58
  40. pypsbuilder-2.5.0/docs/api/pypsbuilder.tcapi.TC35API.rst +0 -57
  41. pypsbuilder-2.5.0/docs/api.rst +0 -104
  42. pypsbuilder-2.5.0/docs/authors.rst +0 -12
  43. pypsbuilder-2.5.0/docs/command-line.rst +0 -168
  44. pypsbuilder-2.5.0/docs/conf.py +0 -181
  45. pypsbuilder-2.5.0/docs/index.rst +0 -41
  46. pypsbuilder-2.5.0/docs/installation.rst +0 -43
  47. pypsbuilder-2.5.0/docs/psbuilders-tutorial.rst +0 -238
  48. pypsbuilder-2.5.0/docs/psexplorer-tutorial.rst +0 -250
  49. pypsbuilder-2.5.0/pypsbuilder/tests/test_pclasses.py +0 -265
  50. pypsbuilder-2.5.0/pypsbuilder.egg-info/PKG-INFO +0 -299
  51. pypsbuilder-2.5.0/pypsbuilder.egg-info/SOURCES.txt +0 -57
  52. pypsbuilder-2.5.0/pypsbuilder.egg-info/dependency_links.txt +0 -1
  53. pypsbuilder-2.5.0/pypsbuilder.egg-info/entry_points.txt +0 -9
  54. pypsbuilder-2.5.0/pypsbuilder.egg-info/not-zip-safe +0 -1
  55. pypsbuilder-2.5.0/pypsbuilder.egg-info/requires.txt +0 -6
  56. pypsbuilder-2.5.0/pypsbuilder.egg-info/top_level.txt +0 -1
  57. pypsbuilder-2.5.0/setup.cfg +0 -21
  58. pypsbuilder-2.5.0/setup.py +0 -51
  59. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/AUTHORS.md +0 -0
  60. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/CONTRIBUTING.md +0 -0
  61. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/LICENSE +0 -0
  62. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/__init__.py +0 -0
  63. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/ptbuilder.png +0 -0
  64. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/pxbuilder.png +0 -0
  65. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/pypsbuilder.png +0 -0
  66. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/txbuilder.png +0 -0
  67. {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/tests/__init__.py +0 -0
@@ -1,6 +1,9 @@
1
1
  # Changelog
2
2
  All notable pypsbuilder changes.
3
3
 
4
+ ## [2.5.0] - 2024-12-13
5
+ Fully refactored tp pyproject.toml
6
+
4
7
  ## [2.5.0] - 2024-12-13
5
8
  ### Fixed
6
9
  - fix for coe-q
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.1
2
+ Name: pypsbuilder
3
+ Version: 2.5.2
4
+ Summary: THERMOCALC front-end for constructing and analyzing PT pseudosections
5
+ Home-page: https://github.com/ondrolexa/pypsbuilder
6
+ License: MIT
7
+ Keywords: petrology,THERMOCALC
8
+ Author: Ondrej Lexa
9
+ Author-email: lexa.ondrej@gmail.com
10
+ Requires-Python: >=3.10,<4.0
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
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
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Topic :: Scientific/Engineering
21
+ Classifier: Topic :: Utilities
22
+ Requires-Dist: matplotlib (>=3.9,<4.0)
23
+ Requires-Dist: networkx (>=3.3,<4.0)
24
+ Requires-Dist: numpy (>=2.1,<3.0)
25
+ Requires-Dist: pyqt5 (>=5.15,<6.0)
26
+ Requires-Dist: scipy (>=1.14,<2.0)
27
+ Requires-Dist: shapely (>=2,<3)
28
+ Requires-Dist: tqdm (>=4,<5)
29
+ Project-URL: Documentation, https://pypsbuilder.readthedocs.io
30
+ Project-URL: Repository, https://github.com/ondrolexa/pypsbuilder
31
+ Description-Content-Type: text/markdown
32
+
33
+ # pypsbuilder
34
+
35
+ ![master](https://github.com/ondrolexa/pypsbuilder/actions/workflows/master.yml/badge.svg)
36
+ [![Documentation Status](https://readthedocs.org/projects/pypsbuilder/badge/?version=latest)](https://pypsbuilder.readthedocs.io/en/latest/?badge=latest)
37
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/ondrolexa/pypsbuilder/blob/master/LICENSE)
38
+ [![GitHub release (latest by date)](https://img.shields.io/github/v/release/ondrolexa/pypsbuilder)](https://github.com/ondrolexa/pypsbuilder/releases/latest)
39
+ [![Twitter](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&url=https%3A%2F%2Fgithub.com%2Fondrolexa%2Fpypsbuilder)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fondrolexa%2Fpypsbuilder)
40
+
41
+ Not that simplistic THERMOCALC front-end for constructing and visualizations of P-T, T-X and P-X pseudosections
42
+
43
+ ## How to install
44
+
45
+ Easiest way to install **pypsbuilder** is to use pip:
46
+
47
+ pip install pypsbuilder
48
+
49
+ or if you downloaded pypsbuilder repository, run in unzipped folder:
50
+
51
+ pip install .
52
+
53
+ #### Install master version
54
+
55
+ You can install latest version from master branch on GitHub:
56
+
57
+ pip install https://github.com/ondrolexa/pypsbuilder/archive/master.zip
58
+
59
+ #### Upgrade existing installation
60
+
61
+ To upgrade an already installed **pypsbuilder** to the latest release:
62
+
63
+ pip install --upgrade pypsbuilder
64
+
65
+ or to latest master version:
66
+
67
+ pip install --upgrade https://github.com/ondrolexa/pypsbuilder/archive/master.zip
68
+
69
+ ### Install using conda or mamba
70
+
71
+ Create environment from the included `environment.yml` file:
72
+
73
+ conda env create -f environment.yml
74
+
75
+ or
76
+
77
+ mamba env create -f environment.yml
78
+
79
+ Then activate the new environment:
80
+
81
+ conda activate pyps
82
+
83
+ or
84
+
85
+ mamba activate pyps
86
+
87
+ ## Documentation and tutorials
88
+
89
+ Check documentation and tutorials on RTD [https://pypsbuilder.readthedocs.io/en/latest/](https://pypsbuilder.readthedocs.io/en/latest/)
90
+
91
+ ## License
92
+
93
+ pypsbuilder is free software: you can redistribute it and/or modify it under the terms of the MIT License. A copy of this license is provided in ``LICENSE`` file.
94
+
@@ -10,23 +10,7 @@ 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/mamba package management system. Create environment from the included `environment.yml` file:
14
-
15
- conda env create -f environment.yml
16
-
17
- or
18
-
19
- mamba env create -f environment.yml
20
-
21
- Then activate the new environment:
22
-
23
- conda activate pyps
24
-
25
- or
26
-
27
- mamba activate pyps
28
-
29
- and install pypsbuilder using pip:
13
+ Easiest way to install **pypsbuilder** is to use pip:
30
14
 
31
15
  pip install pypsbuilder
32
16
 
@@ -34,13 +18,13 @@ or if you downloaded pypsbuilder repository, run in unzipped folder:
34
18
 
35
19
  pip install .
36
20
 
37
- ### Install master version
21
+ #### Install master version
38
22
 
39
23
  You can install latest version from master branch on GitHub:
40
24
 
41
25
  pip install https://github.com/ondrolexa/pypsbuilder/archive/master.zip
42
26
 
43
- ### Upgrade existing installation
27
+ #### Upgrade existing installation
44
28
 
45
29
  To upgrade an already installed **pypsbuilder** to the latest release:
46
30
 
@@ -50,6 +34,24 @@ or to latest master version:
50
34
 
51
35
  pip install --upgrade https://github.com/ondrolexa/pypsbuilder/archive/master.zip
52
36
 
37
+ ### Install using conda or mamba
38
+
39
+ Create environment from the included `environment.yml` file:
40
+
41
+ conda env create -f environment.yml
42
+
43
+ or
44
+
45
+ mamba env create -f environment.yml
46
+
47
+ Then activate the new environment:
48
+
49
+ conda activate pyps
50
+
51
+ or
52
+
53
+ mamba activate pyps
54
+
53
55
  ## Documentation and tutorials
54
56
 
55
57
  Check documentation and tutorials on RTD [https://pypsbuilder.readthedocs.io/en/latest/](https://pypsbuilder.readthedocs.io/en/latest/)
@@ -1,23 +1,40 @@
1
1
  [tool.poetry]
2
2
  name = "pypsbuilder"
3
- version = "2.5.0"
3
+ version = "2.5.2"
4
4
  description = "THERMOCALC front-end for constructing and analyzing PT pseudosections"
5
5
  authors = ["Ondrej Lexa <lexa.ondrej@gmail.com>"]
6
6
  readme = "README.md"
7
+ license = "MIT"
8
+ repository = "https://github.com/ondrolexa/pypsbuilder"
9
+ documentation = "https://pypsbuilder.readthedocs.io"
10
+ keywords = ["petrology", "THERMOCALC"]
11
+ classifiers = [
12
+ "Development Status :: 4 - Beta",
13
+ "Intended Audience :: Science/Research",
14
+ "Programming Language :: Python :: 3 :: Only",
15
+ "Topic :: Scientific/Engineering",
16
+ "Topic :: Utilities",
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.10",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ ]
22
+ include = ["AUTHORS.md", "CHANGELOG.md", "CONTRIBUTING.md"]
23
+
7
24
 
8
25
  [tool.poetry.dependencies]
9
- python = "^3.9"
10
- numpy = "^1.20"
11
- matplotlib = "^3.6"
26
+ python = "^3.10"
27
+ numpy = "^2.1"
28
+ matplotlib = "^3.9"
12
29
  pyqt5 = "^5.15"
13
- scipy = "^1.10"
14
- networkx = "^3.2"
15
- shapely = "^2.0"
16
- tqdm = "^4.0"
30
+ scipy = "^1.14"
31
+ networkx = "^3.3"
32
+ shapely = "^2"
33
+ tqdm = "^4"
17
34
 
18
- [tool.poetry.group.test.dependencies]
19
- pytest = "^7.4"
20
- black = "^24"
35
+ [tool.poetry.group.dev.dependencies]
36
+ pytest = "*"
37
+ black = "*"
21
38
 
22
39
  [tool.poetry.scripts]
23
40
  ptbuilder = "pypsbuilder.psbuilders:ptbuilder"
@@ -34,7 +51,7 @@ requires = ["poetry-core"]
34
51
  build-backend = "poetry.core.masonry.api"
35
52
 
36
53
  [tool.black]
37
- line-length = 88
54
+ line-length = 120
38
55
  include = '\.pyi?$'
39
56
  exclude = '''
40
57
  /(
@@ -1,5 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ import importlib.metadata
3
4
  from pypsbuilder.psexplorer import PTPS, TXPS, PXPS
4
5
  from pypsbuilder.psclasses import (
5
6
  InvPoint,
@@ -22,7 +23,7 @@ __all__ = (
22
23
  "get_tcapi",
23
24
  )
24
25
 
25
- __version__ = "2.5.0"
26
+ __version__ = importlib.metadata.version("pypsbuilder")
26
27
  __author__ = "Ondrej Lexa"
27
28
  __copyright__ = "© Ondrej Lexa 2016-2024"
28
29
  __email__ = "lexa.ondrej@gmail.com"