PyPowder 0.0.0a6__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.
Files changed (31) hide show
  1. pypowder-0.0.0a7/.github/workflows/python-app.yml +39 -0
  2. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/.github/workflows/python-publish.yml +23 -0
  3. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/PKG-INFO +1 -1
  4. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPOW/__version__.py +3 -3
  5. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPowder.egg-info/PKG-INFO +1 -1
  6. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPowder.egg-info/SOURCES.txt +3 -4
  7. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPowder.egg-info/scm_file_list.json +4 -5
  8. pypowder-0.0.0a7/src/PyPowder.egg-info/scm_version.json +8 -0
  9. pypowder-0.0.0a7/tests/ASG1_1.csv +5000 -0
  10. pypowder-0.0.0a7/tests/test_import_module.py +139 -0
  11. pypowder-0.0.0a6/src/PyPowder.egg-info/scm_version.json +0 -8
  12. pypowder-0.0.0a6/tests/ASG1_1.csv +0 -5000
  13. pypowder-0.0.0a6/tests/ASG1_1.gsas +0 -502
  14. pypowder-0.0.0a6/tests/ASG1_1.xy +0 -4999
  15. pypowder-0.0.0a6/tests/lab.py +0 -113
  16. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/.gitattributes +0 -0
  17. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/.gitignore +0 -0
  18. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/LICENCE +0 -0
  19. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/README.md +0 -0
  20. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/RunConversion.bat +0 -0
  21. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/pyproject.toml +0 -0
  22. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/setup.cfg +0 -0
  23. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPOW/__init__.py +0 -0
  24. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPOW/__main__.py +0 -0
  25. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPOW/import_module.py +0 -0
  26. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPowder.egg-info/dependency_links.txt +0 -0
  27. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPowder.egg-info/entry_points.txt +0 -0
  28. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPowder.egg-info/requires.txt +0 -0
  29. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/src/PyPowder.egg-info/top_level.txt +0 -0
  30. {pypowder-0.0.0a6 → pypowder-0.0.0a7}/tests/ASG1_1.XRDML +0 -0
  31. {pypowder-0.0.0a6/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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyPowder
3
- Version: 0.0.0a6
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
5
  Author: Diogo Almeida, Max Pelly
6
6
  Maintainer-email: Diogo Almeida <dafda1@st-andrews.ac.uk>
@@ -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.0a6'
22
- __version_tuple__ = version_tuple = (0, 0, 0, 'a6')
21
+ __version__ = version = '0.0.0a7'
22
+ __version_tuple__ = version_tuple = (0, 0, 0, 'a7')
23
23
 
24
- __commit_id__ = commit_id = 'g76a837c19'
24
+ __commit_id__ = commit_id = 'gb3a79cab6'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyPowder
3
- Version: 0.0.0a6
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
5
  Author: Diogo Almeida, Max Pelly
6
6
  Maintainer-email: Diogo Almeida <dafda1@st-andrews.ac.uk>
@@ -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/ASG1_1.gsas
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/ASG1_1.gsas",
16
- "tests/working_example.py",
17
- "tests/ASG1_1.xy",
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
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.0.0a7",
3
+ "distance": 0,
4
+ "node": "gb3a79cab60fc7719f7bb24a11a38509c392c76d4",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-07-15"
8
+ }