apsg 1.1.3__tar.gz → 1.3.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.
- apsg-1.1.3/HISTORY.md → apsg-1.3.0/CHANGELOG.md +29 -2
- {apsg-1.1.3 → apsg-1.3.0}/CONTRIBUTING.md +0 -1
- apsg-1.3.0/PKG-INFO +141 -0
- {apsg-1.1.3 → apsg-1.3.0}/README.md +55 -44
- apsg-1.3.0/pyproject.toml +67 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/__init__.py +2 -1
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/feature/_container.py +123 -31
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/feature/_geodata.py +43 -14
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/feature/_paleomag.py +17 -17
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/feature/_tensor2.py +48 -10
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/feature/_tensor3.py +83 -16
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/helpers/_math.py +2 -2
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/math/_matrix.py +20 -19
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/math/_vector.py +9 -6
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/pandas/_pandas_api.py +25 -31
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/plotting/_fabricplot.py +0 -5
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/plotting/_roseplot.py +0 -1
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/plotting/_stereonet.py +21 -20
- apsg-1.1.3/LICENSE +0 -21
- apsg-1.1.3/MANIFEST.in +0 -11
- apsg-1.1.3/PKG-INFO +0 -406
- apsg-1.1.3/docs/Makefile +0 -177
- apsg-1.1.3/docs/apsg.database.rst +0 -83
- apsg-1.1.3/docs/apsg.feature.rst +0 -11
- apsg-1.1.3/docs/apsg.helpers.rst +0 -8
- apsg-1.1.3/docs/apsg.math.rst +0 -12
- apsg-1.1.3/docs/apsg.pandas.rst +0 -12
- apsg-1.1.3/docs/apsg.plotting.rst +0 -10
- apsg-1.1.3/docs/authors.rst +0 -13
- apsg-1.1.3/docs/automodules.rst +0 -15
- apsg-1.1.3/docs/conf.py +0 -293
- apsg-1.1.3/docs/contributing.rst +0 -104
- apsg-1.1.3/docs/index.rst +0 -148
- apsg-1.1.3/docs/installation.rst +0 -40
- apsg-1.1.3/docs/make.bat +0 -242
- apsg-1.1.3/docs/tutorials.rst +0 -14
- apsg-1.1.3/pyproject.toml +0 -12
- apsg-1.1.3/setup.cfg +0 -21
- apsg-1.1.3/setup.py +0 -55
- apsg-1.1.3/src/apsg.egg-info/PKG-INFO +0 -406
- apsg-1.1.3/src/apsg.egg-info/SOURCES.txt +0 -66
- apsg-1.1.3/src/apsg.egg-info/dependency_links.txt +0 -1
- apsg-1.1.3/src/apsg.egg-info/entry_points.txt +0 -2
- apsg-1.1.3/src/apsg.egg-info/requires.txt +0 -16
- apsg-1.1.3/src/apsg.egg-info/top_level.txt +0 -1
- apsg-1.1.3/tests/__init__.py +0 -0
- apsg-1.1.3/tests/conftest.py +0 -36
- apsg-1.1.3/tests/test_apsg.py +0 -623
- apsg-1.1.3/tests/test_tensors.py +0 -104
- {apsg-1.1.3 → apsg-1.3.0}/AUTHORS.md +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/config.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/database/__init__.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/database/_alchemy.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/database/_sdbread.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/decorator/__init__.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/decorator/_decorator.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/feature/__init__.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/feature/_statistics.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/helpers/__init__.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/helpers/_helper.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/helpers/_notation.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/math/__init__.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/pandas/__init__.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/plotting/__init__.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/plotting/_paleomagplots.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/plotting/_plot_artists.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/plotting/_projection.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/plotting/_stereogrid.py +0 -0
- {apsg-1.1.3 → apsg-1.3.0}/src/apsg/shell.py +0 -0
|
@@ -1,4 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.3.0 (Dec 14 2024)
|
|
4
|
+
* Python 3.10 set as minimal version
|
|
5
|
+
* Tensor3 eigenlins and eigenfols implemented as methods
|
|
6
|
+
* pandas accessors G property returns apsg FeatureSet
|
|
7
|
+
|
|
8
|
+
### 1.2.3 (Nov 18 2024)
|
|
9
|
+
* ClusterSet accepts PairSet and FaultSet
|
|
10
|
+
* quicknet label option added
|
|
11
|
+
* vector pow bug fix
|
|
12
|
+
|
|
13
|
+
### 1.2.2 (Oct 21 2024)
|
|
14
|
+
* Fault sense could be defined by str, one of 's', 'd', 'n' and 'r'
|
|
15
|
+
|
|
16
|
+
### 1.2.1 (Sep 23 2024)
|
|
17
|
+
* Fault sense could be defined by str, one of 's', 'd', 'n' and 'r'
|
|
18
|
+
|
|
19
|
+
## 1.2.0 (May 24 2024)
|
|
20
|
+
* sqlalchemy and pandas added to requirements
|
|
21
|
+
* quicknet fault bug fixed
|
|
22
|
+
|
|
23
|
+
### 1.1.5 (May 15 2024)
|
|
24
|
+
* paleomag Core .dd bug fixed
|
|
25
|
+
* fix round-off domain math error for acosd and asind
|
|
26
|
+
|
|
27
|
+
### 1.1.4 (Dec 13 2023)
|
|
28
|
+
* Ellipsoid repr bugfix
|
|
2
29
|
|
|
3
30
|
### 1.1.3 (Oct 23 2023)
|
|
4
31
|
Bugfix release
|
|
@@ -27,7 +54,7 @@ See documentation and Pandas interface tutorial for further details.
|
|
|
27
54
|
* density_lookup method implemented for StereoNet.grid
|
|
28
55
|
* Stress tensor sigma* properties using inverted order of eigenvalues
|
|
29
56
|
* render2fig method of StereoNet implemented
|
|
30
|
-
* vector-like objects are not iterable, so properly render in pandas
|
|
57
|
+
* vector-like objects are not iterable, so properly render in pandas
|
|
31
58
|
|
|
32
59
|
## 1.0.0 (Oct 7 2022)
|
|
33
60
|
New major release
|
|
@@ -89,4 +89,3 @@ Before you submit a pull request, check that it meets these guidelines:
|
|
|
89
89
|
3. The pull request should work for Python 2.7, 3.5, and 3.6.
|
|
90
90
|
Check [https://travis-ci.org/ondrolexa/apsg/pull_requests](https://travis-ci.org/ondrolexa/apsg/pull_requests)
|
|
91
91
|
and make sure that the tests pass for all supported Python versions.
|
|
92
|
-
|
apsg-1.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: apsg
|
|
3
|
+
Version: 1.3.0
|
|
4
|
+
Summary: APSG - The package for structural geologists
|
|
5
|
+
Home-page: https://github.com/ondrolexa/apsg
|
|
6
|
+
License: MIT
|
|
7
|
+
Author: Ondrej Lexa
|
|
8
|
+
Author-email: lexa.ondrej@gmail.com
|
|
9
|
+
Requires-Python: >=3.10,<4.0
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Intended Audience :: Science/Research
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
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
|
+
Requires-Dist: matplotlib (>=3.9,<4.0)
|
|
20
|
+
Requires-Dist: numpy (>=2.1,<3.0)
|
|
21
|
+
Requires-Dist: pandas (>=2.1,<3.0)
|
|
22
|
+
Requires-Dist: pyqt5 (>=5.15,<6.0)
|
|
23
|
+
Requires-Dist: scipy (>=1.14,<2.0)
|
|
24
|
+
Requires-Dist: sqlalchemy (>=1.3,<2.0)
|
|
25
|
+
Project-URL: Documentation, https://apsg.readthedocs.io
|
|
26
|
+
Project-URL: Repository, https://github.com/ondrolexa/apsg
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
<img src="https://ondrolexa.github.io/apsg/apsg_banner.svg" alt="APSG logo" width="300px"/>
|
|
30
|
+
|
|
31
|
+
[](https://pypi.org/project/apsg)
|
|
32
|
+
[](https://anaconda.org/conda-forge/apsg)
|
|
33
|
+
[](https://apsg.readthedocs.io/en/stable/?badge=stable)
|
|
34
|
+
[](https://zenodo.org/badge/latestdoi/24879346)
|
|
35
|
+
|
|
36
|
+
## :thinking: What is APSG?
|
|
37
|
+
|
|
38
|
+
APSG is the package for structural geologists. It defines several new python classes to easily manage, analyze and visualize orientational structural geology data.
|
|
39
|
+
|
|
40
|
+
> [!IMPORTANT]
|
|
41
|
+
> APSG has been significantly refactored from version 1.0 and several changes are
|
|
42
|
+
> breaking backward compatibility. The main APSG namespace provides often-used
|
|
43
|
+
> classes in lowercase names as aliases to `PascalCase` convention used in
|
|
44
|
+
> modules to provide a simplified interface for users. The `PascalCase` names of
|
|
45
|
+
> classes use longer and plain English names instead acronyms for better readability.
|
|
46
|
+
>
|
|
47
|
+
> Check [documentation](https://apsg.readthedocs.org) for more details.
|
|
48
|
+
|
|
49
|
+
## :hammer_and_wrench: Requirements
|
|
50
|
+
|
|
51
|
+
You need Python 3.9 or later to run APSG. The package requires [NumPy](https://numpy.org/) and [SciPy](https://www.scipy.org/),
|
|
52
|
+
[Matplotlib](https://matplotlib.org/), [SciPy](https://scipy.org/), [SQLAlchemy](https://www.sqlalchemy.org/)
|
|
53
|
+
and [pandas](https://pandas.pydata.org/).
|
|
54
|
+
|
|
55
|
+
## :rocket: Quick start
|
|
56
|
+
|
|
57
|
+
Install the **latest stable** version of APSG from PyPI:
|
|
58
|
+
```bash
|
|
59
|
+
pip install apsg
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
or install **master** with:
|
|
63
|
+
```bash
|
|
64
|
+
pip install git+https://github.com/ondrolexa/apsg.git
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Alternatively, you can cloce the repository and do a local install (recommended for dev):
|
|
68
|
+
```bash
|
|
69
|
+
git clone https://github.com/ondrolexa/apsg.git
|
|
70
|
+
cd apsg
|
|
71
|
+
pip install -e ."
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
#### Upgrading via pip
|
|
75
|
+
|
|
76
|
+
To upgrade an existing version of APSG from PyPI, execute:
|
|
77
|
+
```bash
|
|
78
|
+
pip install apsg --upgrade --no-deps
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### Comments on system-wide instalations on Debian systems
|
|
82
|
+
|
|
83
|
+
Latest Debian-based systems does not allow to install non-debian packages system-wide.
|
|
84
|
+
However, installing all requirements allows to force install APSG system-wide without troubles.
|
|
85
|
+
|
|
86
|
+
Install requirements using apt:
|
|
87
|
+
```bash
|
|
88
|
+
sudo apt install python3-numpy python3-matplotlib python3-scipy python3-sqlalchemy python3-pandas
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
and then install apsg using pip:
|
|
92
|
+
```bash
|
|
93
|
+
pip install --break-system-packages apsg
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Conda/Mamba
|
|
97
|
+
|
|
98
|
+
The APSG package is also available on `conda-forge` channel. Installing `apsg`
|
|
99
|
+
from the `conda-forge` channel can be achieved by adding `conda-forge` to your
|
|
100
|
+
channels:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
conda config --add channels conda-forge
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Once the `conda-forge` channel has been enabled, `apsg` can be installed with:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
conda install apsg
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
It is possible to list all of the versions of `apsg` available on your platform with:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
conda search apsg --channel conda-forge
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
#### Current release info
|
|
119
|
+
|
|
120
|
+
| Name | Downloads | Version | Platforms |
|
|
121
|
+
| --- | --- | --- | --- |
|
|
122
|
+
| [](https://anaconda.org/conda-forge/apsg) | [](https://anaconda.org/conda-forge/apsg) | [](https://anaconda.org/conda-forge/apsg) | [](https://anaconda.org/conda-forge/apsg) |
|
|
123
|
+
|
|
124
|
+
## :blue_book: Documentation
|
|
125
|
+
|
|
126
|
+
Explore all the features of APSG. You can find detailed documentation [here](https://apsg.readthedocs.org).
|
|
127
|
+
|
|
128
|
+
## :computer: Contributing
|
|
129
|
+
|
|
130
|
+
Most discussion happens on [Github](https://github.com/ondrolexa/apsg). Feel free to open [an issue](https://github.com/ondrolexa/apsg/issues/new) or comment on any open issue or pull request. Check ``CONTRIBUTING.md`` for more details.
|
|
131
|
+
|
|
132
|
+
## :coin: Donate
|
|
133
|
+
|
|
134
|
+
APSG is an open-source project, available for you for free. It took a lot of time and resources to build this software. If you find this software useful and want to support its future development please consider donating me.
|
|
135
|
+
|
|
136
|
+
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=QTYZWVUNDUAH8&item_name=APSG+development+donation¤cy_code=EUR&source=url)
|
|
137
|
+
|
|
138
|
+
## License
|
|
139
|
+
|
|
140
|
+
APSG 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.
|
|
141
|
+
|
|
@@ -5,92 +5,103 @@
|
|
|
5
5
|
[](https://apsg.readthedocs.io/en/stable/?badge=stable)
|
|
6
6
|
[](https://zenodo.org/badge/latestdoi/24879346)
|
|
7
7
|
|
|
8
|
-
## What is APSG?
|
|
8
|
+
## :thinking: What is APSG?
|
|
9
9
|
|
|
10
10
|
APSG is the package for structural geologists. It defines several new python classes to easily manage, analyze and visualize orientational structural geology data.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
> [!IMPORTANT]
|
|
13
|
+
> APSG has been significantly refactored from version 1.0 and several changes are
|
|
14
|
+
> breaking backward compatibility. The main APSG namespace provides often-used
|
|
15
|
+
> classes in lowercase names as aliases to `PascalCase` convention used in
|
|
16
|
+
> modules to provide a simplified interface for users. The `PascalCase` names of
|
|
17
|
+
> classes use longer and plain English names instead acronyms for better readability.
|
|
18
|
+
>
|
|
19
|
+
> Check [documentation](https://apsg.readthedocs.org) for more details.
|
|
13
20
|
|
|
14
|
-
|
|
15
|
-
breaking backward compatibility. The main APSG namespace provides often-used
|
|
16
|
-
classes in lowercase names as aliases to `PascalCase` convention used in
|
|
17
|
-
modules to provide a simplified interface for users. The `PascalCase` names of
|
|
18
|
-
classes use longer and plain English names instead acronyms for better
|
|
19
|
-
readability.
|
|
21
|
+
## :hammer_and_wrench: Requirements
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
You need Python 3.9 or later to run APSG. The package requires [NumPy](https://numpy.org/) and [SciPy](https://www.scipy.org/),
|
|
24
|
+
[Matplotlib](https://matplotlib.org/), [SciPy](https://scipy.org/), [SQLAlchemy](https://www.sqlalchemy.org/)
|
|
25
|
+
and [pandas](https://pandas.pydata.org/).
|
|
22
26
|
|
|
27
|
+
## :rocket: Quick start
|
|
23
28
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
You need Python 3.8 or later to run APSG. The package requires [NumPy](https://numpy.org/) and [SciPy](https://www.scipy.org/), and [Matplotlib](https://matplotlib.org/).
|
|
27
|
-
|
|
28
|
-
## Quick start
|
|
29
|
-
|
|
30
|
-
APSG can be installed using pip:
|
|
31
|
-
```
|
|
29
|
+
Install the **latest stable** version of APSG from PyPI:
|
|
30
|
+
```bash
|
|
32
31
|
pip install apsg
|
|
33
32
|
```
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
|
|
34
|
+
or install **master** with:
|
|
35
|
+
```bash
|
|
36
36
|
pip install git+https://github.com/ondrolexa/apsg.git
|
|
37
37
|
```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
pip install .
|
|
38
|
+
|
|
39
|
+
Alternatively, you can cloce the repository and do a local install (recommended for dev):
|
|
40
|
+
```bash
|
|
41
|
+
git clone https://github.com/ondrolexa/apsg.git
|
|
42
|
+
cd apsg
|
|
43
|
+
pip install -e ."
|
|
45
44
|
```
|
|
46
45
|
|
|
47
46
|
#### Upgrading via pip
|
|
48
47
|
|
|
49
|
-
To upgrade an existing version of APSG from PyPI, execute
|
|
50
|
-
```
|
|
48
|
+
To upgrade an existing version of APSG from PyPI, execute:
|
|
49
|
+
```bash
|
|
51
50
|
pip install apsg --upgrade --no-deps
|
|
52
51
|
```
|
|
53
|
-
Please note that the dependencies (Matplotlib, NumPy and SciPy) will also be upgraded if you omit the `--no-deps` flag; use the `--no-deps` ("no dependencies") flag if you don't want this.
|
|
54
52
|
|
|
55
|
-
|
|
53
|
+
#### Comments on system-wide instalations on Debian systems
|
|
56
54
|
|
|
57
|
-
|
|
55
|
+
Latest Debian-based systems does not allow to install non-debian packages system-wide.
|
|
56
|
+
However, installing all requirements allows to force install APSG system-wide without troubles.
|
|
58
57
|
|
|
59
|
-
|
|
58
|
+
Install requirements using apt:
|
|
59
|
+
```bash
|
|
60
|
+
sudo apt install python3-numpy python3-matplotlib python3-scipy python3-sqlalchemy python3-pandas
|
|
61
|
+
```
|
|
60
62
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
and then install apsg using pip:
|
|
64
|
+
```bash
|
|
65
|
+
pip install --break-system-packages apsg
|
|
66
|
+
```
|
|
64
67
|
|
|
65
|
-
|
|
68
|
+
### Conda/Mamba
|
|
66
69
|
|
|
67
|
-
|
|
70
|
+
The APSG package is also available on `conda-forge` channel. Installing `apsg`
|
|
71
|
+
from the `conda-forge` channel can be achieved by adding `conda-forge` to your
|
|
72
|
+
channels:
|
|
68
73
|
|
|
69
|
-
```
|
|
74
|
+
```bash
|
|
70
75
|
conda config --add channels conda-forge
|
|
71
76
|
```
|
|
72
77
|
|
|
73
78
|
Once the `conda-forge` channel has been enabled, `apsg` can be installed with:
|
|
74
79
|
|
|
75
|
-
```
|
|
80
|
+
```bash
|
|
76
81
|
conda install apsg
|
|
77
82
|
```
|
|
78
83
|
|
|
79
84
|
It is possible to list all of the versions of `apsg` available on your platform with:
|
|
80
85
|
|
|
81
|
-
```
|
|
86
|
+
```bash
|
|
82
87
|
conda search apsg --channel conda-forge
|
|
83
88
|
```
|
|
84
89
|
|
|
85
|
-
|
|
90
|
+
#### Current release info
|
|
91
|
+
|
|
92
|
+
| Name | Downloads | Version | Platforms |
|
|
93
|
+
| --- | --- | --- | --- |
|
|
94
|
+
| [](https://anaconda.org/conda-forge/apsg) | [](https://anaconda.org/conda-forge/apsg) | [](https://anaconda.org/conda-forge/apsg) | [](https://anaconda.org/conda-forge/apsg) |
|
|
95
|
+
|
|
96
|
+
## :blue_book: Documentation
|
|
86
97
|
|
|
87
|
-
Explore the
|
|
98
|
+
Explore all the features of APSG. You can find detailed documentation [here](https://apsg.readthedocs.org).
|
|
88
99
|
|
|
89
|
-
## Contributing
|
|
100
|
+
## :computer: Contributing
|
|
90
101
|
|
|
91
102
|
Most discussion happens on [Github](https://github.com/ondrolexa/apsg). Feel free to open [an issue](https://github.com/ondrolexa/apsg/issues/new) or comment on any open issue or pull request. Check ``CONTRIBUTING.md`` for more details.
|
|
92
103
|
|
|
93
|
-
## Donate
|
|
104
|
+
## :coin: Donate
|
|
94
105
|
|
|
95
106
|
APSG is an open-source project, available for you for free. It took a lot of time and resources to build this software. If you find this software useful and want to support its future development please consider donating me.
|
|
96
107
|
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "apsg"
|
|
3
|
+
version = "1.3.0"
|
|
4
|
+
description = "APSG - The package for structural geologists"
|
|
5
|
+
authors = ["Ondrej Lexa <lexa.ondrej@gmail.com>"]
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
repository = "https://github.com/ondrolexa/apsg"
|
|
9
|
+
documentation = "https://apsg.readthedocs.io"
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Development Status :: 4 - Beta",
|
|
12
|
+
"Intended Audience :: Science/Research",
|
|
13
|
+
"License :: OSI Approved :: MIT License",
|
|
14
|
+
"Operating System :: OS Independent",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.10",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
]
|
|
20
|
+
include = ["AUTHORS.md", "CHANGELOG.md", "CONTRIBUTING.md"]
|
|
21
|
+
|
|
22
|
+
[tool.poetry.dependencies]
|
|
23
|
+
python = "^3.10"
|
|
24
|
+
numpy = "^2.1"
|
|
25
|
+
matplotlib = "^3.9"
|
|
26
|
+
pyqt5 = "^5.15"
|
|
27
|
+
scipy = "^1.14"
|
|
28
|
+
sqlalchemy = "^1.3"
|
|
29
|
+
pandas = "^2.1"
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
[tool.poetry.group.docs.dependencies]
|
|
33
|
+
sphinx = "*"
|
|
34
|
+
ipykernel = "*"
|
|
35
|
+
nbsphinx = "*"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
[tool.poetry.group.extra.dependencies]
|
|
39
|
+
jupyterlab = "^4"
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
[tool.poetry.group.test.dependencies]
|
|
43
|
+
pytest = "*"
|
|
44
|
+
black = "*"
|
|
45
|
+
|
|
46
|
+
[tool.poetry.scripts]
|
|
47
|
+
iapsg = "apsg.shell:main"
|
|
48
|
+
|
|
49
|
+
[build-system]
|
|
50
|
+
requires = ["poetry-core"]
|
|
51
|
+
build-backend = "poetry.core.masonry.api"
|
|
52
|
+
|
|
53
|
+
[tool.black]
|
|
54
|
+
line-length = 88
|
|
55
|
+
include = '\.pyi?$'
|
|
56
|
+
exclude = '''
|
|
57
|
+
/(
|
|
58
|
+
\.toml
|
|
59
|
+
|\.sh
|
|
60
|
+
|\.git
|
|
61
|
+
|\.ini
|
|
62
|
+
)/
|
|
63
|
+
'''
|
|
64
|
+
|
|
65
|
+
[[tool.poetry.source]]
|
|
66
|
+
name = "pypi-public"
|
|
67
|
+
url = "https://pypi.org/simple/"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
|
|
3
|
+
import importlib.metadata
|
|
3
4
|
from apsg.math import (
|
|
4
5
|
Vector3 as vec,
|
|
5
6
|
Vector2 as vec2,
|
|
@@ -98,6 +99,6 @@ __all__ = (
|
|
|
98
99
|
"quicknet",
|
|
99
100
|
)
|
|
100
101
|
|
|
101
|
-
__version__ =
|
|
102
|
+
__version__ = importlib.metadata.version("apsg")
|
|
102
103
|
__author__ = "Ondrej Lexa"
|
|
103
104
|
__email__ = "lexa.ondrej@gmail.com"
|