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.
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/CHANGELOG.md +3 -0
- pypsbuilder-2.5.2/PKG-INFO +94 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/README.md +21 -19
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pyproject.toml +29 -12
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/__init__.py +2 -1
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/psbuilders.py +244 -738
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/psclasses.py +37 -125
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/psexplorer.py +121 -443
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/tcapi.py +511 -474
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/tcinit.py +93 -92
- pypsbuilder-2.5.2/pypsbuilder/tests/test_pclasses.py +277 -0
- pypsbuilder-2.5.2/pypsbuilder/ui/addinv.ui +113 -0
- pypsbuilder-2.5.2/pypsbuilder/ui/adduni.ui +119 -0
- pypsbuilder-2.5.2/pypsbuilder/ui/compile_ui.sh +9 -0
- pypsbuilder-2.5.2/pypsbuilder/ui/ptbuilder.ui +1265 -0
- pypsbuilder-2.5.2/pypsbuilder/ui/pxbuilder.ui +1245 -0
- pypsbuilder-2.5.2/pypsbuilder/ui/txbuilder.ui +1251 -0
- pypsbuilder-2.5.2/pypsbuilder/ui/uniguess.ui +85 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_addinv.py +3 -3
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_adduni.py +3 -3
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_ptbuilder.py +10 -3
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_pxbuilder.py +10 -3
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_txbuilder.py +10 -3
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/ui_uniguess.py +3 -3
- pypsbuilder-2.5.0/MANIFEST.in +0 -11
- pypsbuilder-2.5.0/PKG-INFO +0 -299
- pypsbuilder-2.5.0/docs/Makefile +0 -20
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.Dogmin.rst +0 -31
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.InvPoint.rst +0 -34
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.PTsection.rst +0 -41
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.PXsection.rst +0 -41
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.TCResult.rst +0 -30
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.TCResultSet.rst +0 -35
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.TXsection.rst +0 -41
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psclasses.UniLine.rst +0 -36
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psexplorer.PTPS.rst +0 -77
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psexplorer.PXPS.rst +0 -74
- pypsbuilder-2.5.0/docs/api/pypsbuilder.psexplorer.TXPS.rst +0 -74
- pypsbuilder-2.5.0/docs/api/pypsbuilder.tcapi.TC34API.rst +0 -58
- pypsbuilder-2.5.0/docs/api/pypsbuilder.tcapi.TC35API.rst +0 -57
- pypsbuilder-2.5.0/docs/api.rst +0 -104
- pypsbuilder-2.5.0/docs/authors.rst +0 -12
- pypsbuilder-2.5.0/docs/command-line.rst +0 -168
- pypsbuilder-2.5.0/docs/conf.py +0 -181
- pypsbuilder-2.5.0/docs/index.rst +0 -41
- pypsbuilder-2.5.0/docs/installation.rst +0 -43
- pypsbuilder-2.5.0/docs/psbuilders-tutorial.rst +0 -238
- pypsbuilder-2.5.0/docs/psexplorer-tutorial.rst +0 -250
- pypsbuilder-2.5.0/pypsbuilder/tests/test_pclasses.py +0 -265
- pypsbuilder-2.5.0/pypsbuilder.egg-info/PKG-INFO +0 -299
- pypsbuilder-2.5.0/pypsbuilder.egg-info/SOURCES.txt +0 -57
- pypsbuilder-2.5.0/pypsbuilder.egg-info/dependency_links.txt +0 -1
- pypsbuilder-2.5.0/pypsbuilder.egg-info/entry_points.txt +0 -9
- pypsbuilder-2.5.0/pypsbuilder.egg-info/not-zip-safe +0 -1
- pypsbuilder-2.5.0/pypsbuilder.egg-info/requires.txt +0 -6
- pypsbuilder-2.5.0/pypsbuilder.egg-info/top_level.txt +0 -1
- pypsbuilder-2.5.0/setup.cfg +0 -21
- pypsbuilder-2.5.0/setup.py +0 -51
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/AUTHORS.md +0 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/CONTRIBUTING.md +0 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/LICENSE +0 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/__init__.py +0 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/ptbuilder.png +0 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/pxbuilder.png +0 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/pypsbuilder.png +0 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/images/txbuilder.png +0 -0
- {pypsbuilder-2.5.0 → pypsbuilder-2.5.2}/pypsbuilder/tests/__init__.py +0 -0
|
@@ -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
|
+

|
|
36
|
+
[](https://pypsbuilder.readthedocs.io/en/latest/?badge=latest)
|
|
37
|
+
[](https://github.com/ondrolexa/pypsbuilder/blob/master/LICENSE)
|
|
38
|
+
[](https://github.com/ondrolexa/pypsbuilder/releases/latest)
|
|
39
|
+
[](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
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
10
|
-
numpy = "^1
|
|
11
|
-
matplotlib = "^3.
|
|
26
|
+
python = "^3.10"
|
|
27
|
+
numpy = "^2.1"
|
|
28
|
+
matplotlib = "^3.9"
|
|
12
29
|
pyqt5 = "^5.15"
|
|
13
|
-
scipy = "^1.
|
|
14
|
-
networkx = "^3.
|
|
15
|
-
shapely = "^2
|
|
16
|
-
tqdm = "^4
|
|
30
|
+
scipy = "^1.14"
|
|
31
|
+
networkx = "^3.3"
|
|
32
|
+
shapely = "^2"
|
|
33
|
+
tqdm = "^4"
|
|
17
34
|
|
|
18
|
-
[tool.poetry.group.
|
|
19
|
-
pytest = "
|
|
20
|
-
black = "
|
|
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 =
|
|
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__ =
|
|
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"
|