diffpy.utils 3.5.0__tar.gz → 3.6.0__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.
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/PKG-INFO +6 -4
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/README.rst +2 -2
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/pyproject.toml +6 -1
- diffpy_utils-3.6.0/requirements/conda.txt +3 -0
- diffpy_utils-3.6.0/requirements/pip.txt +3 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/requirements/test.txt +1 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy/__init__.py +0 -1
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy/utils/__init__.py +1 -4
- diffpy_utils-3.6.0/src/diffpy/utils/diffraction_objects.py +590 -0
- {diffpy_utils-3.5.0/src/diffpy/utils/scattering_objects → diffpy_utils-3.6.0/src/diffpy/utils/parsers}/__init__.py +2 -6
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy/utils/parsers/loaddata.py +10 -18
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy/utils/parsers/serialization.py +3 -3
- diffpy_utils-3.6.0/src/diffpy/utils/resampler.py +181 -0
- diffpy_utils-3.6.0/src/diffpy/utils/tools.py +347 -0
- diffpy_utils-3.6.0/src/diffpy/utils/transforms.py +213 -0
- diffpy_utils-3.6.0/src/diffpy/utils/validators.py +47 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy/utils/version.py +0 -3
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy/utils/wx/__init__.py +1 -5
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy/utils/wx/gridutils.py +13 -15
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy.utils.egg-info/PKG-INFO +6 -4
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy.utils.egg-info/SOURCES.txt +6 -4
- diffpy_utils-3.6.0/src/diffpy.utils.egg-info/requires.txt +3 -0
- diffpy_utils-3.6.0/tests/conftest.py +89 -0
- diffpy_utils-3.6.0/tests/test_diffraction_objects.py +890 -0
- diffpy_utils-3.6.0/tests/test_loaddata.py +80 -0
- diffpy_utils-3.6.0/tests/test_resample.py +52 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/test_serialization.py +8 -9
- diffpy_utils-3.6.0/tests/test_tools.py +215 -0
- diffpy_utils-3.6.0/tests/test_transforms.py +261 -0
- diffpy_utils-3.6.0/tests/test_validators.py +27 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/test_version.py +3 -3
- diffpy_utils-3.5.0/requirements/conda.txt +0 -1
- diffpy_utils-3.5.0/requirements/pip.txt +0 -1
- diffpy_utils-3.5.0/src/diffpy/utils/parsers/__init__.py +0 -27
- diffpy_utils-3.5.0/src/diffpy/utils/parsers/resample.py +0 -135
- diffpy_utils-3.5.0/src/diffpy/utils/scattering_objects/diffraction_objects.py +0 -461
- diffpy_utils-3.5.0/src/diffpy/utils/scattering_objects/user_config.py +0 -30
- diffpy_utils-3.5.0/src/diffpy/utils/tools.py +0 -154
- diffpy_utils-3.5.0/src/diffpy.utils.egg-info/requires.txt +0 -1
- diffpy_utils-3.5.0/tests/conftest.py +0 -29
- diffpy_utils-3.5.0/tests/test_diffraction_objects.py +0 -265
- diffpy_utils-3.5.0/tests/test_loaddata.py +0 -73
- diffpy_utils-3.5.0/tests/test_resample.py +0 -30
- diffpy_utils-3.5.0/tests/test_tools.py +0 -143
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/AUTHORS.rst +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/LICENSE.rst +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/LICENSE_DANSE.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/MANIFEST.in +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/requirements/build.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/requirements/docs.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/setup.cfg +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy/utils/parsers/custom_exceptions.py +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy.utils.egg-info/dependency_links.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/src/diffpy.utils.egg-info/top_level.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/dbload/e1.gr +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/dbload/e2.gr +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/dbload/e3.gr +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/generated_db.json +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/generatewarnings.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/loaddata01.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/loaddatawithheaders.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/loadfile.txt +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/strumining.json +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/targetjson.json +0 -0
- {diffpy_utils-3.5.0 → diffpy_utils-3.6.0}/tests/testdata/wrong.type +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: diffpy.utils
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6.0
|
|
4
4
|
Summary: Shared utilities for diffpy packages
|
|
5
5
|
Author-email: "Simon J.L. Billinge group" <simon.billinge@gmail.com>
|
|
6
6
|
Maintainer-email: "Simon J.L. Billinge group" <simon.billinge@gmail.com>
|
|
7
7
|
Project-URL: Homepage, https://github.com/diffpy/diffpy.utils/
|
|
8
8
|
Project-URL: Issues, https://github.com/diffpy/diffpy.utils/issues/
|
|
9
|
-
Keywords:
|
|
9
|
+
Keywords: text data parsers,wx grid,diffraction objects
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Environment :: Console
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
@@ -27,6 +27,8 @@ License-File: LICENSE.rst
|
|
|
27
27
|
License-File: LICENSE_DANSE.txt
|
|
28
28
|
License-File: AUTHORS.rst
|
|
29
29
|
Requires-Dist: numpy
|
|
30
|
+
Requires-Dist: xraydb
|
|
31
|
+
Requires-Dist: scipy
|
|
30
32
|
|
|
31
33
|
|Icon| |title|_
|
|
32
34
|
===============
|
|
@@ -73,7 +75,7 @@ General purpose shared utilities for the diffpy libraries.
|
|
|
73
75
|
The diffpy.utils package provides functions for extracting array data from
|
|
74
76
|
variously formatted text files, an interpolation function based on the
|
|
75
77
|
Whittaker-Shannon formula that can be used to resample a PDF or other profile
|
|
76
|
-
function over a new grid, `
|
|
78
|
+
function over a new grid, `DiffractionObject` for conveniently manipulating
|
|
77
79
|
diffraction data, and some wx GUI utilities used by the PDFgui
|
|
78
80
|
program.
|
|
79
81
|
|
|
@@ -164,7 +166,7 @@ trying to commit again.
|
|
|
164
166
|
|
|
165
167
|
Improvements and fixes are always appreciated.
|
|
166
168
|
|
|
167
|
-
Before
|
|
169
|
+
Before contributing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.utils/blob/main/CODE_OF_CONDUCT.rst>`_.
|
|
168
170
|
|
|
169
171
|
Contact
|
|
170
172
|
-------
|
|
@@ -43,7 +43,7 @@ General purpose shared utilities for the diffpy libraries.
|
|
|
43
43
|
The diffpy.utils package provides functions for extracting array data from
|
|
44
44
|
variously formatted text files, an interpolation function based on the
|
|
45
45
|
Whittaker-Shannon formula that can be used to resample a PDF or other profile
|
|
46
|
-
function over a new grid, `
|
|
46
|
+
function over a new grid, `DiffractionObject` for conveniently manipulating
|
|
47
47
|
diffraction data, and some wx GUI utilities used by the PDFgui
|
|
48
48
|
program.
|
|
49
49
|
|
|
@@ -134,7 +134,7 @@ trying to commit again.
|
|
|
134
134
|
|
|
135
135
|
Improvements and fixes are always appreciated.
|
|
136
136
|
|
|
137
|
-
Before
|
|
137
|
+
Before contributing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.utils/blob/main/CODE_OF_CONDUCT.rst>`_.
|
|
138
138
|
|
|
139
139
|
Contact
|
|
140
140
|
-------
|
|
@@ -12,7 +12,7 @@ maintainers = [
|
|
|
12
12
|
{ name="Simon J.L. Billinge group", email="simon.billinge@gmail.com" },
|
|
13
13
|
]
|
|
14
14
|
description = "Shared utilities for diffpy packages"
|
|
15
|
-
keywords = [
|
|
15
|
+
keywords = ["text data parsers", "wx grid", "diffraction objects"]
|
|
16
16
|
readme = "README.rst"
|
|
17
17
|
requires-python = ">=3.11, <3.14"
|
|
18
18
|
classifiers = [
|
|
@@ -51,6 +51,11 @@ namespaces = false # to disable scanning PEP 420 namespaces (true by default)
|
|
|
51
51
|
[tool.setuptools.dynamic]
|
|
52
52
|
dependencies = {file = ["requirements/pip.txt"]}
|
|
53
53
|
|
|
54
|
+
[tool.codespell]
|
|
55
|
+
exclude-file = ".codespell/ignore_lines.txt"
|
|
56
|
+
ignore-words = ".codespell/ignore_words.txt"
|
|
57
|
+
skip = "*.cif,*.dat"
|
|
58
|
+
|
|
54
59
|
[tool.black]
|
|
55
60
|
line-length = 115
|
|
56
61
|
include = '\.pyi?$'
|
|
@@ -12,13 +12,10 @@
|
|
|
12
12
|
# See LICENSE.rst for license information.
|
|
13
13
|
#
|
|
14
14
|
##############################################################################
|
|
15
|
-
|
|
16
|
-
"""Shared utilities for diffpy packages"""
|
|
15
|
+
"""Shared utilities for diffpy packages."""
|
|
17
16
|
|
|
18
17
|
# package version
|
|
19
18
|
from diffpy.utils.version import __version__
|
|
20
19
|
|
|
21
20
|
# silence the pyflakes syntax checker
|
|
22
21
|
assert __version__ or True
|
|
23
|
-
|
|
24
|
-
# End of file
|