PyPowder 0.0.0a5__tar.gz → 0.0.0a7__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.
- pypowder-0.0.0a7/.github/workflows/python-app.yml +39 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/.github/workflows/python-publish.yml +23 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/PKG-INFO +3 -2
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/pyproject.toml +5 -2
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPOW/__version__.py +3 -3
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPowder.egg-info/PKG-INFO +3 -2
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPowder.egg-info/SOURCES.txt +3 -4
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPowder.egg-info/scm_file_list.json +4 -5
- pypowder-0.0.0a7/src/PyPowder.egg-info/scm_version.json +8 -0
- pypowder-0.0.0a7/tests/ASG1_1.csv +5000 -0
- pypowder-0.0.0a7/tests/test_import_module.py +139 -0
- pypowder-0.0.0a5/src/PyPowder.egg-info/scm_version.json +0 -8
- pypowder-0.0.0a5/tests/ASG1_1.csv +0 -5000
- pypowder-0.0.0a5/tests/ASG1_1.gsas +0 -502
- pypowder-0.0.0a5/tests/ASG1_1.xy +0 -4999
- pypowder-0.0.0a5/tests/lab.py +0 -113
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/.gitattributes +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/.gitignore +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/LICENCE +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/README.md +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/RunConversion.bat +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/setup.cfg +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPOW/__init__.py +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPOW/__main__.py +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPOW/import_module.py +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPowder.egg-info/dependency_links.txt +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPowder.egg-info/entry_points.txt +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPowder.egg-info/requires.txt +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/src/PyPowder.egg-info/top_level.txt +0 -0
- {pypowder-0.0.0a5 → pypowder-0.0.0a7}/tests/ASG1_1.XRDML +0 -0
- {pypowder-0.0.0a5/tests → pypowder-0.0.0a7}/working_example.py +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
|
|
3
|
+
|
|
4
|
+
name: Python application
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches: [ "qol" ]
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [ "qol" ]
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
build:
|
|
17
|
+
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
- name: Set up Python 3.9
|
|
23
|
+
uses: actions/setup-python@v3
|
|
24
|
+
with:
|
|
25
|
+
python-version: "3.9"
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install --upgrade pip
|
|
29
|
+
pip install flake8 pytest
|
|
30
|
+
pip install .
|
|
31
|
+
- name: Lint with flake8
|
|
32
|
+
run: |
|
|
33
|
+
# stop the build if there are Python syntax errors or undefined names
|
|
34
|
+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
35
|
+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
36
|
+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
37
|
+
- name: Test with pytest
|
|
38
|
+
run: |
|
|
39
|
+
pytest
|
|
@@ -16,8 +16,30 @@ permissions:
|
|
|
16
16
|
contents: read
|
|
17
17
|
|
|
18
18
|
jobs:
|
|
19
|
+
test:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
|
|
24
|
+
- uses: actions/setup-python@v5
|
|
25
|
+
with:
|
|
26
|
+
python-version: "3.9"
|
|
27
|
+
|
|
28
|
+
- name: Install dependencies
|
|
29
|
+
run: |
|
|
30
|
+
python -m pip install --upgrade pip
|
|
31
|
+
pip install pytest
|
|
32
|
+
# NOTE: Adjust the following line to install your package and its test dependencies.
|
|
33
|
+
# For example, if you use a requirements file: pip install -r requirements.txt
|
|
34
|
+
pip install .
|
|
35
|
+
|
|
36
|
+
- name: Test with pytest
|
|
37
|
+
run: |
|
|
38
|
+
pytest
|
|
39
|
+
|
|
19
40
|
release-build:
|
|
20
41
|
runs-on: ubuntu-latest
|
|
42
|
+
needs: test
|
|
21
43
|
|
|
22
44
|
steps:
|
|
23
45
|
- uses: actions/checkout@v4
|
|
@@ -68,3 +90,4 @@ jobs:
|
|
|
68
90
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
69
91
|
with:
|
|
70
92
|
packages-dir: dist/
|
|
93
|
+
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyPowder
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.0a7
|
|
4
4
|
Summary: Attempt at constructing a set of tools to convert XRDML files to a more usable format.
|
|
5
|
-
Author
|
|
5
|
+
Author: Diogo Almeida, Max Pelly
|
|
6
|
+
Maintainer-email: Diogo Almeida <dafda1@st-andrews.ac.uk>
|
|
6
7
|
License-Expression: GPL-3.0-or-later
|
|
7
8
|
Project-URL: Homepage, https://github.com/MaxPelly/PyPOW
|
|
8
9
|
Project-URL: Issues, https://github.com/MaxPelly/PyPOW/issues
|
|
@@ -6,8 +6,11 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
name = "PyPowder"
|
|
7
7
|
dynamic = ["version"]
|
|
8
8
|
authors = [
|
|
9
|
-
{ name="Diogo Almeida"
|
|
10
|
-
{ name="Max Pelly"
|
|
9
|
+
{ name="Diogo Almeida"},
|
|
10
|
+
{ name="Max Pelly"},
|
|
11
|
+
]
|
|
12
|
+
maintainers = [
|
|
13
|
+
{ name="Diogo Almeida", email="dafda1@st-andrews.ac.uk" }
|
|
11
14
|
]
|
|
12
15
|
description = "Attempt at constructing a set of tools to convert XRDML files to a more usable format."
|
|
13
16
|
readme = "README.md"
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.0.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 0, 0, '
|
|
21
|
+
__version__ = version = '0.0.0a7'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 0, 0, 'a7')
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'gb3a79cab6'
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyPowder
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.0a7
|
|
4
4
|
Summary: Attempt at constructing a set of tools to convert XRDML files to a more usable format.
|
|
5
|
-
Author
|
|
5
|
+
Author: Diogo Almeida, Max Pelly
|
|
6
|
+
Maintainer-email: Diogo Almeida <dafda1@st-andrews.ac.uk>
|
|
6
7
|
License-Expression: GPL-3.0-or-later
|
|
7
8
|
Project-URL: Homepage, https://github.com/MaxPelly/PyPOW
|
|
8
9
|
Project-URL: Issues, https://github.com/MaxPelly/PyPOW/issues
|
|
@@ -4,6 +4,8 @@ LICENCE
|
|
|
4
4
|
README.md
|
|
5
5
|
RunConversion.bat
|
|
6
6
|
pyproject.toml
|
|
7
|
+
working_example.py
|
|
8
|
+
.github/workflows/python-app.yml
|
|
7
9
|
.github/workflows/python-publish.yml
|
|
8
10
|
src/PyPOW/__init__.py
|
|
9
11
|
src/PyPOW/__main__.py
|
|
@@ -19,7 +21,4 @@ src/PyPowder.egg-info/scm_version.json
|
|
|
19
21
|
src/PyPowder.egg-info/top_level.txt
|
|
20
22
|
tests/ASG1_1.XRDML
|
|
21
23
|
tests/ASG1_1.csv
|
|
22
|
-
tests/
|
|
23
|
-
tests/ASG1_1.xy
|
|
24
|
-
tests/lab.py
|
|
25
|
-
tests/working_example.py
|
|
24
|
+
tests/test_import_module.py
|
|
@@ -5,16 +5,15 @@
|
|
|
5
5
|
"pyproject.toml",
|
|
6
6
|
"RunConversion.bat",
|
|
7
7
|
".gitattributes",
|
|
8
|
+
"working_example.py",
|
|
8
9
|
".gitignore",
|
|
9
10
|
"src/PyPOW/__init__.py",
|
|
10
11
|
"src/PyPOW/import_module.py",
|
|
11
12
|
"src/PyPOW/__main__.py",
|
|
12
|
-
"tests/lab.py",
|
|
13
13
|
"tests/ASG1_1.csv",
|
|
14
14
|
"tests/ASG1_1.XRDML",
|
|
15
|
-
"tests/
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
".github/workflows/python-publish.yml"
|
|
15
|
+
"tests/test_import_module.py",
|
|
16
|
+
".github/workflows/python-publish.yml",
|
|
17
|
+
".github/workflows/python-app.yml"
|
|
19
18
|
]
|
|
20
19
|
}
|