wdm-wavelet 0.0.1__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.
- wdm-wavelet-0.0.1/.gitignore +7 -0
- wdm-wavelet-0.0.1/.gitlab-ci.yml +49 -0
- wdm-wavelet-0.0.1/LICENSE +674 -0
- wdm-wavelet-0.0.1/Makefile +8 -0
- wdm-wavelet-0.0.1/PKG-INFO +19 -0
- wdm-wavelet-0.0.1/README.md +4 -0
- wdm-wavelet-0.0.1/notebook/transform_GW.ipynb +134 -0
- wdm-wavelet-0.0.1/pyproject.toml +17 -0
- wdm-wavelet-0.0.1/setup.cfg +4 -0
- wdm-wavelet-0.0.1/setup.py +57 -0
- wdm-wavelet-0.0.1/test/test_wdm.py +13 -0
- wdm-wavelet-0.0.1/wdm_wavelet/__init__.py +0 -0
- wdm-wavelet-0.0.1/wdm_wavelet/_version.py +16 -0
- wdm-wavelet-0.0.1/wdm_wavelet/fourier_coeff.py +2465 -0
- wdm-wavelet-0.0.1/wdm_wavelet/wdm.py +194 -0
- wdm-wavelet-0.0.1/wdm_wavelet.egg-info/PKG-INFO +19 -0
- wdm-wavelet-0.0.1/wdm_wavelet.egg-info/SOURCES.txt +18 -0
- wdm-wavelet-0.0.1/wdm_wavelet.egg-info/dependency_links.txt +1 -0
- wdm-wavelet-0.0.1/wdm_wavelet.egg-info/requires.txt +3 -0
- wdm-wavelet-0.0.1/wdm_wavelet.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# This file is a template, and might need editing before it works on your project.
|
|
2
|
+
# This is a sample GitLab CI/CD configuration file that should run without any modifications.
|
|
3
|
+
# It demonstrates a basic 3 stage CI/CD pipeline. Instead of real tests or scripts,
|
|
4
|
+
# it uses echo commands to simulate the pipeline execution.
|
|
5
|
+
#
|
|
6
|
+
# A pipeline is composed of independent jobs that run scripts, grouped into stages.
|
|
7
|
+
# Stages run in sequential order, but jobs within stages run in parallel.
|
|
8
|
+
#
|
|
9
|
+
# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
|
|
10
|
+
#
|
|
11
|
+
# You can copy and paste this template into a new `.gitlab-ci.yml` file.
|
|
12
|
+
# You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword.
|
|
13
|
+
#
|
|
14
|
+
# To contribute improvements to CI/CD templates, please follow the Development guide at:
|
|
15
|
+
# https://docs.gitlab.com/ee/development/cicd/templates.html
|
|
16
|
+
# This specific template is located at:
|
|
17
|
+
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
|
18
|
+
image: python:3.10
|
|
19
|
+
|
|
20
|
+
stages: # List of stages for jobs, and their order of execution
|
|
21
|
+
- build
|
|
22
|
+
- test
|
|
23
|
+
- deploy
|
|
24
|
+
|
|
25
|
+
build-job: # This job runs in the build stage, which runs first.
|
|
26
|
+
stage: build
|
|
27
|
+
script:
|
|
28
|
+
- python3 -m pip install build
|
|
29
|
+
- python3 -m build --sdist --wheel
|
|
30
|
+
artifacts:
|
|
31
|
+
paths:
|
|
32
|
+
- dist/*
|
|
33
|
+
|
|
34
|
+
test-job:
|
|
35
|
+
stage: test
|
|
36
|
+
script:
|
|
37
|
+
- python3 -m pip install dist/*.whl
|
|
38
|
+
- python3 -m pip install pytest
|
|
39
|
+
- python3 -m pytest -v
|
|
40
|
+
|
|
41
|
+
publish:
|
|
42
|
+
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
|
43
|
+
environment: production
|
|
44
|
+
only:
|
|
45
|
+
- tags
|
|
46
|
+
script:
|
|
47
|
+
- echo "Deploying to PyPI..."
|
|
48
|
+
- pip install twine
|
|
49
|
+
- TWINE_PASSWORD=${PYPI_TOKEN} TWINE_USERNAME=__token__ python -m twine upload dist/*.tar.gz
|