pyExSi 0.43.3__tar.gz → 0.43.4__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.
- {pyexsi-0.43.3 → pyexsi-0.43.4}/.github/workflows/python-package.yml +1 -1
- pyexsi-0.43.4/.github/workflows/release-and-publish-to-pypi.yml +53 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/PKG-INFO +13 -12
- {pyexsi-0.43.3 → pyexsi-0.43.4}/pyExSi/__init__.py +1 -1
- {pyexsi-0.43.3 → pyexsi-0.43.4}/pyproject.toml +7 -6
- {pyexsi-0.43.3 → pyexsi-0.43.4}/readme.rst +5 -5
- {pyexsi-0.43.3 → pyexsi-0.43.4}/readthedocs.yaml +1 -1
- pyexsi-0.43.3/.github/workflows/release-and-publish-to-pypi.yml +0 -28
- {pyexsi-0.43.3 → pyexsi-0.43.4}/.gitignore +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/CONTRIBUTING.rst +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/LICENSE +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/Showcase.ipynb +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/Makefile +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/make.bat +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/requirements.txt +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/source/code.rst +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/source/conf.py +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/source/examples/example_nonstationarity.rst +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/source/examples/example_signals.rst +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/source/examples.rst +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/source/getting_started.rst +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/docs/source/index.rst +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/example/example_nonstationarity.py +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/example/example_signals.py +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/pyExSi/signals.py +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/requirements.dev.txt +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/requirements.txt +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/setup.py +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/tests/generate_freezed_data.py +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/tests/test_basic.py +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/tests/test_data_nonstationarity.pkl +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/tests/test_data_signals.pkl +0 -0
- {pyexsi-0.43.3 → pyexsi-0.43.4}/tests/test_scipy_chirp.py +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
name: Release and Publish to PyPI
|
|
2
|
+
|
|
3
|
+
# Creating a GitHub Release (or pushing a tag vX.Y.Z) runs the tests, checks
|
|
4
|
+
# that the tag matches the version in pyproject.toml,
|
|
5
|
+
# builds the package and publishes it to PyPI through trusted publishing
|
|
6
|
+
# (no API token: PyPI trusts this workflow's OIDC token, see
|
|
7
|
+
# https://docs.pypi.org/trusted-publishers/).
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
push:
|
|
11
|
+
tags:
|
|
12
|
+
- 'v*'
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
id-token: write
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
publish:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- name: Checkout code
|
|
23
|
+
uses: actions/checkout@v7
|
|
24
|
+
|
|
25
|
+
- name: Set up Python
|
|
26
|
+
uses: actions/setup-python@v7
|
|
27
|
+
with:
|
|
28
|
+
python-version: '3.13'
|
|
29
|
+
|
|
30
|
+
- name: Check that the tag matches the package version
|
|
31
|
+
run: |
|
|
32
|
+
tag="${GITHUB_REF#refs/tags/v}"
|
|
33
|
+
version=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
|
|
34
|
+
if [ "$tag" != "$version" ]; then
|
|
35
|
+
echo "tag v$tag and pyproject.toml $version do not agree" >&2
|
|
36
|
+
exit 1
|
|
37
|
+
fi
|
|
38
|
+
|
|
39
|
+
- name: Install dependencies
|
|
40
|
+
run: pip install -U build twine pytest
|
|
41
|
+
|
|
42
|
+
- name: Run tests
|
|
43
|
+
run: |
|
|
44
|
+
pip install .
|
|
45
|
+
pytest
|
|
46
|
+
|
|
47
|
+
- name: Build package
|
|
48
|
+
run: |
|
|
49
|
+
python -m build
|
|
50
|
+
python -m twine check dist/*
|
|
51
|
+
|
|
52
|
+
- name: Publish to PyPI
|
|
53
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: pyExSi
|
|
3
|
-
Version: 0.43.
|
|
3
|
+
Version: 0.43.4
|
|
4
4
|
Summary: Excitation signals as used in structural dynamics and vibration fatigue.
|
|
5
5
|
Project-URL: homepage, https://github.com/ladisk/pyExSi
|
|
6
6
|
Project-URL: documentation, https://pyexsi.readthedocs.io/en/latest/index.html
|
|
7
|
-
Project-URL: source, https://github.com/
|
|
7
|
+
Project-URL: source, https://github.com/ladisk/pyExSi
|
|
8
8
|
Author-email: "Aleš Zorman, Domen Gorjup, Janko Slavič" <janko.slavic@fs.uni-lj.si>
|
|
9
9
|
Maintainer-email: "Janko Slavič, Domen Gorjup, Aleš Zorman" <janko.slavic@fs.uni-lj.si>
|
|
10
10
|
License-Expression: MIT
|
|
@@ -13,17 +13,18 @@ Keywords: dynamic testing,excitation signal,structural dynamics
|
|
|
13
13
|
Classifier: Development Status :: 3 - Alpha
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
17
19
|
Classifier: Topic :: Scientific/Engineering
|
|
18
|
-
Requires-Python: >=3.
|
|
20
|
+
Requires-Python: >=3.13
|
|
19
21
|
Requires-Dist: numpy>=1.18
|
|
20
|
-
Requires-Dist: pylint
|
|
21
|
-
Requires-Dist: pytest
|
|
22
22
|
Requires-Dist: scipy
|
|
23
23
|
Provides-Extra: dev
|
|
24
24
|
Requires-Dist: black; extra == 'dev'
|
|
25
25
|
Requires-Dist: build; extra == 'dev'
|
|
26
26
|
Requires-Dist: matplotlib; extra == 'dev'
|
|
27
|
+
Requires-Dist: pylint; extra == 'dev'
|
|
27
28
|
Requires-Dist: pytest; extra == 'dev'
|
|
28
29
|
Requires-Dist: sphinx; extra == 'dev'
|
|
29
30
|
Requires-Dist: sphinx-copybutton>=0.5.2; extra == 'dev'
|
|
@@ -32,7 +33,7 @@ Requires-Dist: twine; extra == 'dev'
|
|
|
32
33
|
Requires-Dist: wheel; extra == 'dev'
|
|
33
34
|
Description-Content-Type: text/x-rst
|
|
34
35
|
|
|
35
|
-
|DOI| |
|
|
36
|
+
|DOI| |pytest| |Docs Status|
|
|
36
37
|
|
|
37
38
|
pyExSi - Excitation signals as used in structural dynamics and vibration fatigue
|
|
38
39
|
--------------------------------------------------------------------------------
|
|
@@ -78,7 +79,7 @@ A simple example on how to generate random signals on PSD basis:
|
|
|
78
79
|
PSD = es.get_psd(freq, freq_lower, freq_upper) # one-sided flat-shaped PSD
|
|
79
80
|
|
|
80
81
|
#get gaussian stationary signal
|
|
81
|
-
gausian_signal = es.random_gaussian(
|
|
82
|
+
gausian_signal = es.random_gaussian(N, PSD, fs)
|
|
82
83
|
|
|
83
84
|
#get non-gaussian non-stationary signal, with kurtosis k_u=10
|
|
84
85
|
#amplitude modulation, modulating signal defined by PSD
|
|
@@ -91,9 +92,9 @@ A simple example on how to generate random signals on PSD basis:
|
|
|
91
92
|
|
|
92
93
|
.. |Docs Status| image:: https://readthedocs.org/projects/pyexsi/badge/
|
|
93
94
|
:target: https://pyexsi.readthedocs.io
|
|
94
|
-
|
|
95
|
-
.. |
|
|
96
|
-
|
|
95
|
+
|
|
96
|
+
.. |pytest| image:: https://github.com/ladisk/pyExSi/actions/workflows/python-package.yml/badge.svg
|
|
97
|
+
:target: https://github.com/ladisk/pyExSi/actions
|
|
97
98
|
|
|
98
99
|
.. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4431844.svg
|
|
99
100
|
:target: https://doi.org/10.5281/zenodo.4431844
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = '0.43.
|
|
1
|
+
__version__ = '0.43.4'
|
|
2
2
|
from .signals import *
|
|
@@ -4,25 +4,25 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pyExSi"
|
|
7
|
-
version = "0.43.
|
|
7
|
+
version = "0.43.4"
|
|
8
8
|
authors = [{name = "Aleš Zorman, Domen Gorjup, Janko Slavič", email = "janko.slavic@fs.uni-lj.si"}]
|
|
9
9
|
maintainers = [{name = "Janko Slavič, Domen Gorjup, Aleš Zorman", email = "janko.slavic@fs.uni-lj.si"}]
|
|
10
10
|
license = "MIT"
|
|
11
11
|
description = "Excitation signals as used in structural dynamics and vibration fatigue."
|
|
12
12
|
readme = "readme.rst"
|
|
13
13
|
keywords = ["excitation signal", "structural dynamics", "dynamic testing"]
|
|
14
|
-
requires-python = ">=3.
|
|
14
|
+
requires-python = ">=3.13"
|
|
15
15
|
dependencies = [
|
|
16
16
|
"numpy>=1.18",
|
|
17
17
|
"scipy",
|
|
18
|
-
"pylint",
|
|
19
|
-
"pytest",
|
|
20
18
|
]
|
|
21
19
|
classifiers = [
|
|
22
20
|
'Development Status :: 3 - Alpha',
|
|
23
21
|
'Intended Audience :: Developers',
|
|
24
22
|
'Topic :: Scientific/Engineering',
|
|
25
|
-
'Programming Language :: Python :: 3.
|
|
23
|
+
'Programming Language :: Python :: 3.13',
|
|
24
|
+
'Programming Language :: Python :: 3.14',
|
|
25
|
+
'Programming Language :: Python :: 3.15',
|
|
26
26
|
"License :: OSI Approved :: MIT License",
|
|
27
27
|
]
|
|
28
28
|
|
|
@@ -37,9 +37,10 @@ dev = [
|
|
|
37
37
|
"matplotlib",
|
|
38
38
|
"sphinx-copybutton>=0.5.2",
|
|
39
39
|
"black",
|
|
40
|
+
"pylint",
|
|
40
41
|
]
|
|
41
42
|
|
|
42
43
|
[project.urls]
|
|
43
44
|
homepage = "https://github.com/ladisk/pyExSi"
|
|
44
45
|
documentation = "https://pyexsi.readthedocs.io/en/latest/index.html"
|
|
45
|
-
source = "https://github.com/
|
|
46
|
+
source = "https://github.com/ladisk/pyExSi"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|DOI| |
|
|
1
|
+
|DOI| |pytest| |Docs Status|
|
|
2
2
|
|
|
3
3
|
pyExSi - Excitation signals as used in structural dynamics and vibration fatigue
|
|
4
4
|
--------------------------------------------------------------------------------
|
|
@@ -44,7 +44,7 @@ A simple example on how to generate random signals on PSD basis:
|
|
|
44
44
|
PSD = es.get_psd(freq, freq_lower, freq_upper) # one-sided flat-shaped PSD
|
|
45
45
|
|
|
46
46
|
#get gaussian stationary signal
|
|
47
|
-
gausian_signal = es.random_gaussian(
|
|
47
|
+
gausian_signal = es.random_gaussian(N, PSD, fs)
|
|
48
48
|
|
|
49
49
|
#get non-gaussian non-stationary signal, with kurtosis k_u=10
|
|
50
50
|
#amplitude modulation, modulating signal defined by PSD
|
|
@@ -57,9 +57,9 @@ A simple example on how to generate random signals on PSD basis:
|
|
|
57
57
|
|
|
58
58
|
.. |Docs Status| image:: https://readthedocs.org/projects/pyexsi/badge/
|
|
59
59
|
:target: https://pyexsi.readthedocs.io
|
|
60
|
-
|
|
61
|
-
.. |
|
|
62
|
-
|
|
60
|
+
|
|
61
|
+
.. |pytest| image:: https://github.com/ladisk/pyExSi/actions/workflows/python-package.yml/badge.svg
|
|
62
|
+
:target: https://github.com/ladisk/pyExSi/actions
|
|
63
63
|
|
|
64
64
|
.. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4431844.svg
|
|
65
65
|
:target: https://doi.org/10.5281/zenodo.4431844
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: Release and Publish to PyPI
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
tags:
|
|
5
|
-
- 'v*'
|
|
6
|
-
jobs:
|
|
7
|
-
publish:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
steps:
|
|
10
|
-
- name: Checkout code
|
|
11
|
-
uses: actions/checkout@v2
|
|
12
|
-
|
|
13
|
-
- name: Set up Python
|
|
14
|
-
uses: actions/setup-python@v2
|
|
15
|
-
with:
|
|
16
|
-
python-version: '3.11'
|
|
17
|
-
|
|
18
|
-
- name: Install dependencies
|
|
19
|
-
run: pip install -U build
|
|
20
|
-
|
|
21
|
-
- name: Build package
|
|
22
|
-
run: python -m build
|
|
23
|
-
|
|
24
|
-
- name: Publish to PyPI
|
|
25
|
-
uses: pypa/gh-action-pypi-publish@v1.4.2
|
|
26
|
-
with:
|
|
27
|
-
user: __token__
|
|
28
|
-
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
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
|
|
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
|