PyPowder 0.0.0a7__py3-none-any.whl → 1.0__py3-none-any.whl

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.
PyPOW/__main__.py CHANGED
@@ -11,7 +11,7 @@ import numpy as np
11
11
  from PyPOW.import_module import import_xrdml_data
12
12
  from PyPOW.import_module import extract_intended_wavelength as get_wvl
13
13
 
14
- from sys import argv
14
+ import sys
15
15
 
16
16
  #%% define conversion functions
17
17
 
@@ -39,10 +39,10 @@ def convert_file (filename):
39
39
  #%% run conversions
40
40
  def convert_files():
41
41
 
42
- if len(argv) < 2:
42
+ if len(sys.argv) < 2:
43
43
  raise ValueError("Must specify filenames to convert.")
44
44
  else:
45
- files_to_convert = argv[1:]
45
+ files_to_convert = sys.argv[1:]
46
46
 
47
47
  for filename in files_to_convert:
48
48
  print(f">> Converting file {filename}.")
PyPOW/__version__.py CHANGED
@@ -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.0a7'
22
- __version_tuple__ = version_tuple = (0, 0, 0, 'a7')
21
+ __version__ = version = '1.0'
22
+ __version_tuple__ = version_tuple = (1, 0)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyPowder
3
- Version: 0.0.0a7
3
+ Version: 1.0
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>
7
7
  License-Expression: GPL-3.0-or-later
8
- Project-URL: Homepage, https://github.com/MaxPelly/PyPOW
9
- Project-URL: Issues, https://github.com/MaxPelly/PyPOW/issues
8
+ Project-URL: Homepage, https://github.com/dafda1/PyPOW
9
+ Project-URL: Issues, https://github.com/dafda1/PyPOW/issues
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.9
@@ -21,3 +21,7 @@ Dynamic: license-file
21
21
  Attempt at constructing a set of tools to convert XRDML files to a more usable format,
22
22
  developed for *_1.XRDML files as generated by PANanalytical Empyrian Cu-Kalpha diffractometers
23
23
  JOHN and PAUL at the University of St Andrews.
24
+
25
+ ## Contributions
26
+ Thanks to Max Pelly for
27
+ - restructuring files for deployment (ongoing with conda-forge)
@@ -0,0 +1,12 @@
1
+ PyPOW/__init__.py,sha256=ngtlRygUM5cD8bxrMnsu8Ql6U9KzFrFQgavGT17gQvw,152
2
+ PyPOW/__main__.py,sha256=DXww5pI5t14JFmE6tl8uSkfWFo_JIkac9gRcrvq1TG4,1441
3
+ PyPOW/__version__.py,sha256=L9CGX7hxBR4innKPmmp4g1Tqr2qghMUop58hHpKOBG0,515
4
+ PyPOW/import_module.py,sha256=xvU7F3Er4eHr5svUm30PVqkN7GbKScG3orF9eYUGa-E,9145
5
+ pypowder-1.0.dist-info/licenses/LICENCE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
6
+ pypowder-1.0.dist-info/METADATA,sha256=YBcmtxs5ycl61g4RJ2a5WM6n3pwGqFIMWeNsmssTauM,1006
7
+ pypowder-1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
8
+ pypowder-1.0.dist-info/entry_points.txt,sha256=0zInXxjXJ0bELPM3PDaa-uItItO8cuuGVySIwcl6mqw,55
9
+ pypowder-1.0.dist-info/scm_file_list.json,sha256=FHFS2mSpnCMZunrJ_UEpvxVEyMrptRkujSdx75IGohg,479
10
+ pypowder-1.0.dist-info/scm_version.json,sha256=j-UmgHZNpcluNjHr_rby93KRFthknP5nEumHY2fI-mQ,158
11
+ pypowder-1.0.dist-info/top_level.txt,sha256=5c6J0ACMe1V4tDRA5xZf27XKoVZ3ekf5ZKXw6OqeNRA,6
12
+ pypowder-1.0.dist-info/RECORD,,
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "files": [
3
- "README.md",
4
3
  "LICENCE",
5
- "pyproject.toml",
4
+ ".gitignore",
6
5
  "RunConversion.bat",
7
- ".gitattributes",
6
+ "README.md",
8
7
  "working_example.py",
9
- ".gitignore",
10
- "src/PyPOW/__init__.py",
8
+ ".gitattributes",
9
+ "pyproject.toml",
11
10
  "src/PyPOW/import_module.py",
12
11
  "src/PyPOW/__main__.py",
12
+ "src/PyPOW/__init__.py",
13
+ ".github/workflows/python-app.yml",
14
+ ".github/workflows/python-publish.yml",
13
15
  "tests/ASG1_1.csv",
14
- "tests/ASG1_1.XRDML",
16
+ "tests/test___main__.py",
15
17
  "tests/test_import_module.py",
16
- ".github/workflows/python-publish.yml",
17
- ".github/workflows/python-app.yml"
18
+ "tests/ASG1_1.XRDML",
19
+ "tests/ASG1_1.xy"
18
20
  ]
19
21
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "1.0",
3
+ "distance": 0,
4
+ "node": "g7c3287c977adcba78abd3d97d7bf6fcb7d2560a5",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-07-16"
8
+ }
@@ -1,12 +0,0 @@
1
- PyPOW/__init__.py,sha256=ngtlRygUM5cD8bxrMnsu8Ql6U9KzFrFQgavGT17gQvw,152
2
- PyPOW/__main__.py,sha256=jS_fTNxSKuWYHYJJKAnY9Tk6OBWlGMYyVkfNd4j-sro,1443
3
- PyPOW/__version__.py,sha256=-6diCwhRBpIRyiBswMaS5UK5-Z9gqeaQwrxVUe12jBU,528
4
- PyPOW/import_module.py,sha256=xvU7F3Er4eHr5svUm30PVqkN7GbKScG3orF9eYUGa-E,9145
5
- pypowder-0.0.0a7.dist-info/licenses/LICENCE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
6
- pypowder-0.0.0a7.dist-info/METADATA,sha256=eZBP57T9TS3vEfmPJrkiaBu652TM-sdT1qNbn2Aa6RI,908
7
- pypowder-0.0.0a7.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
8
- pypowder-0.0.0a7.dist-info/entry_points.txt,sha256=0zInXxjXJ0bELPM3PDaa-uItItO8cuuGVySIwcl6mqw,55
9
- pypowder-0.0.0a7.dist-info/scm_file_list.json,sha256=u2vi55iiGkDXXSxWYCD4U4DsP4OaCj16T3jaiKxYDKU,426
10
- pypowder-0.0.0a7.dist-info/scm_version.json,sha256=RzhzokzUolZXSbtk5_dquzrg_yC9gwFnzCAsLqDWT4o,162
11
- pypowder-0.0.0a7.dist-info/top_level.txt,sha256=5c6J0ACMe1V4tDRA5xZf27XKoVZ3ekf5ZKXw6OqeNRA,6
12
- pypowder-0.0.0a7.dist-info/RECORD,,
@@ -1,8 +0,0 @@
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
- }