libgunshotmatch 0.12.0__tar.gz → 0.13.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.

Potentially problematic release.


This version of libgunshotmatch might be problematic. Click here for more details.

Files changed (22) hide show
  1. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/PKG-INFO +3 -2
  2. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/README.rst +1 -1
  3. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/__init__.py +1 -1
  4. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/consolidate/__init__.py +2 -1
  5. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/pyproject.toml +2 -1
  6. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/requirements.txt +1 -0
  7. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/LICENSE +0 -0
  8. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/comparison/__init__.py +0 -0
  9. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/comparison/_utils.py +0 -0
  10. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/comparison/projects.py +0 -0
  11. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/comparison/unknowns.py +0 -0
  12. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/consolidate/_fields.py +0 -0
  13. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/consolidate/_spectra.py +0 -0
  14. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/datafile.py +0 -0
  15. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/gzip_util.py +0 -0
  16. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/method/__init__.py +0 -0
  17. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/method/_fields.py +0 -0
  18. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/peak.py +0 -0
  19. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/project.py +0 -0
  20. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/py.typed +0 -0
  21. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/search.py +0 -0
  22. {libgunshotmatch-0.12.0 → libgunshotmatch-0.13.0}/libgunshotmatch/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: libgunshotmatch
3
- Version: 0.12.0
3
+ Version: 0.13.0
4
4
  Summary: Base library for GunShotMatch.
5
5
  Author-email: Dominic Davis-Foster <dominic@davis-foster.co.uk>
6
6
  License: MIT
@@ -39,6 +39,7 @@ Requires-Dist: scipy>=1.9.0
39
39
  Requires-Dist: sdjson>=0.4.0
40
40
  Requires-Dist: tomli>=1.2.3; python_version < "3.11"
41
41
  Requires-Dist: tomli-w>=1.0.0
42
+ Requires-Dist: typing-extensions>=4.12.2
42
43
  Description-Content-Type: text/x-rst
43
44
 
44
45
 
@@ -135,7 +136,7 @@ libgunshotmatch
135
136
  .. |language| image:: https://img.shields.io/github/languages/top/GunShotMatch/libgunshotmatch
136
137
  :alt: GitHub top language
137
138
 
138
- .. |commits-since| image:: https://img.shields.io/github/commits-since/GunShotMatch/libgunshotmatch/v0.12.0
139
+ .. |commits-since| image:: https://img.shields.io/github/commits-since/GunShotMatch/libgunshotmatch/v0.13.0
139
140
  :target: https://github.com/GunShotMatch/libgunshotmatch/pulse
140
141
  :alt: GitHub commits since tagged version
141
142
 
@@ -91,7 +91,7 @@ libgunshotmatch
91
91
  .. |language| image:: https://img.shields.io/github/languages/top/GunShotMatch/libgunshotmatch
92
92
  :alt: GitHub top language
93
93
 
94
- .. |commits-since| image:: https://img.shields.io/github/commits-since/GunShotMatch/libgunshotmatch/v0.12.0
94
+ .. |commits-since| image:: https://img.shields.io/github/commits-since/GunShotMatch/libgunshotmatch/v0.13.0
95
95
  :target: https://github.com/GunShotMatch/libgunshotmatch/pulse
96
96
  :alt: GitHub commits since tagged version
97
97
 
@@ -29,5 +29,5 @@ Base library for GunShotMatch.
29
29
  __author__: str = "Dominic Davis-Foster"
30
30
  __copyright__: str = "2020-2023 Dominic Davis-Foster"
31
31
  __license__: str = "MIT License"
32
- __version__: str = "0.12.0"
32
+ __version__: str = "0.13.0"
33
33
  __email__: str = "dominic@davis-foster.co.uk"
@@ -41,6 +41,7 @@ import pyms_nist_search
41
41
  from pyms.DPA.Alignment import Alignment
42
42
  from pyms.Spectrum import MassSpectrum
43
43
  from pyms_nist_search import ReferenceData, SearchResult
44
+ from typing_extensions import Self
44
45
 
45
46
  # this package
46
47
  from libgunshotmatch.consolidate._fields import (
@@ -715,7 +716,7 @@ class ConsolidatedPeakFilter:
715
716
  verbose: bool = False
716
717
 
717
718
  @classmethod
718
- def from_method(cls: Type["ConsolidatedPeakFilter"], method: ConsolidateMethod) -> "ConsolidatedPeakFilter":
719
+ def from_method(cls: Type[Self], method: ConsolidateMethod) -> Self:
719
720
  """
720
721
  Construct a :class:`~.ConsolidatedPeakFilter` from a :class:`~.ConsolidateMethod`.
721
722
 
@@ -4,7 +4,7 @@ build-backend = "whey"
4
4
 
5
5
  [project]
6
6
  name = "libgunshotmatch"
7
- version = "0.12.0"
7
+ version = "0.13.0"
8
8
  description = "Base library for GunShotMatch."
9
9
  readme = "README.rst"
10
10
  keywords = []
@@ -23,6 +23,7 @@ dependencies = [
23
23
  "sdjson>=0.4.0",
24
24
  'tomli>=1.2.3; python_version < "3.11"',
25
25
  "tomli-w>=1.0.0",
26
+ "typing-extensions>=4.12.2",
26
27
  ]
27
28
  classifiers = [
28
29
  "Development Status :: 3 - Alpha",
@@ -11,3 +11,4 @@ scipy>=1.9.0
11
11
  sdjson>=0.4.0
12
12
  tomli>=1.2.3; python_version < "3.11"
13
13
  tomli-w>=1.0.0
14
+ typing-extensions>=4.12.2