python-Levenshtein 0.27.1__tar.gz → 0.27.4__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.
@@ -0,0 +1,2 @@
1
+ include README.md
2
+ include LICENSE
@@ -1,23 +1,26 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: python-Levenshtein
3
- Version: 0.27.1
3
+ Version: 0.27.4
4
4
  Summary: Python extension for computing string edit distances and similarities.
5
- Home-page: https://github.com/rapidfuzz/python-Levenshtein
6
- Author: Max Bachmann
7
- Author-email: pypi@maxbachmann.de
5
+ Author-email: Max Bachmann <pypi@maxbachmann.de>
8
6
  License: GPL-2.0-or-later
7
+ Project-URL: Homepage, https://github.com/rapidfuzz/python-Levenshtein
8
+ Project-URL: Documentation, https://rapidfuzz.github.io/Levenshtein/
9
+ Project-URL: Repository, https://github.com/rapidfuzz/python-Levenshtein.git
10
+ Project-URL: Issues, https://github.com/rapidfuzz/python-Levenshtein/issues
11
+ Project-URL: Changelog, https://github.com/rapidfuzz/python-Levenshtein/blob/main/CHANGELOG.rst
9
12
  Keywords: string,Levenshtein,comparison,edit-distance
10
13
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.9
12
14
  Classifier: Programming Language :: Python :: 3.10
13
15
  Classifier: Programming Language :: Python :: 3.11
14
16
  Classifier: Programming Language :: Python :: 3.12
15
17
  Classifier: Programming Language :: Python :: 3.13
16
- Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
17
- Requires-Python: >=3.9
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Requires-Python: >=3.10
18
20
  Description-Content-Type: text/markdown
19
- License-File: COPYING
20
- Requires-Dist: Levenshtein==0.27.1
21
+ License-File: LICENSE
22
+ Requires-Dist: Levenshtein==0.27.4
23
+ Dynamic: license-file
21
24
 
22
25
  # Levenshtein
23
26
 
@@ -38,7 +41,7 @@ Requires-Dist: Levenshtein==0.27.1
38
41
  <img src="https://img.shields.io/badge/-documentation-blue"
39
42
  alt="Documentation">
40
43
  </a>
41
- <a href="https://github.com/rapidfuzz/python-Levenshtein/blob/main/COPYING">
44
+ <a href="https://github.com/rapidfuzz/python-Levenshtein/blob/main/LICENSE">
42
45
  <img src="https://img.shields.io/github/license/rapidfuzz/python-Levenshtein"
43
46
  alt="GitHub license">
44
47
  </a>
@@ -57,7 +60,7 @@ computation of:
57
60
  The `python-Levenshtein` package will continue to be updated alongside the new package
58
61
 
59
62
  ## Requirements
60
- * Python 3.9 or later
63
+ * Python 3.10 or later
61
64
 
62
65
  ## Installation
63
66
  ```bash
@@ -84,4 +87,4 @@ under the terms of the GNU General Public License as published by the Free
84
87
  Software Foundation; either version 2 of the License, or (at your option)
85
88
  any later version.
86
89
 
87
- See the file [COPYING](https://github.com/rapidfuzz/python-Levenshtein/blob/main/COPYING) for the full text of GNU General Public License version 2.
90
+ See the file [LICENSE](https://github.com/rapidfuzz/python-Levenshtein/blob/main/LICENSE) for the full text of GNU General Public License version 2.
@@ -17,7 +17,7 @@
17
17
  <img src="https://img.shields.io/badge/-documentation-blue"
18
18
  alt="Documentation">
19
19
  </a>
20
- <a href="https://github.com/rapidfuzz/python-Levenshtein/blob/main/COPYING">
20
+ <a href="https://github.com/rapidfuzz/python-Levenshtein/blob/main/LICENSE">
21
21
  <img src="https://img.shields.io/github/license/rapidfuzz/python-Levenshtein"
22
22
  alt="GitHub license">
23
23
  </a>
@@ -36,7 +36,7 @@ computation of:
36
36
  The `python-Levenshtein` package will continue to be updated alongside the new package
37
37
 
38
38
  ## Requirements
39
- * Python 3.9 or later
39
+ * Python 3.10 or later
40
40
 
41
41
  ## Installation
42
42
  ```bash
@@ -63,4 +63,4 @@ under the terms of the GNU General Public License as published by the Free
63
63
  Software Foundation; either version 2 of the License, or (at your option)
64
64
  any later version.
65
65
 
66
- See the file [COPYING](https://github.com/rapidfuzz/python-Levenshtein/blob/main/COPYING) for the full text of GNU General Public License version 2.
66
+ See the file [LICENSE](https://github.com/rapidfuzz/python-Levenshtein/blob/main/LICENSE) for the full text of GNU General Public License version 2.
@@ -0,0 +1,33 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "python-Levenshtein"
7
+ version = "0.27.4"
8
+ dependencies = [
9
+ "Levenshtein==0.27.4"
10
+ ]
11
+ requires-python = ">= 3.10"
12
+ authors = [
13
+ {name = "Max Bachmann", email = "pypi@maxbachmann.de"},
14
+ ]
15
+ description = "Python extension for computing string edit distances and similarities."
16
+ readme = "README.md"
17
+ license = {text = "GPL-2.0-or-later"}
18
+ classifiers = [
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
25
+ ]
26
+ keywords = ["string", "Levenshtein", "comparison", "edit-distance"]
27
+
28
+ [project.urls]
29
+ Homepage = "https://github.com/rapidfuzz/python-Levenshtein"
30
+ Documentation = "https://rapidfuzz.github.io/Levenshtein/"
31
+ Repository = "https://github.com/rapidfuzz/python-Levenshtein.git"
32
+ Issues = "https://github.com/rapidfuzz/python-Levenshtein/issues"
33
+ Changelog = "https://github.com/rapidfuzz/python-Levenshtein/blob/main/CHANGELOG.rst"
@@ -1,23 +1,26 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: python-Levenshtein
3
- Version: 0.27.1
3
+ Version: 0.27.4
4
4
  Summary: Python extension for computing string edit distances and similarities.
5
- Home-page: https://github.com/rapidfuzz/python-Levenshtein
6
- Author: Max Bachmann
7
- Author-email: pypi@maxbachmann.de
5
+ Author-email: Max Bachmann <pypi@maxbachmann.de>
8
6
  License: GPL-2.0-or-later
7
+ Project-URL: Homepage, https://github.com/rapidfuzz/python-Levenshtein
8
+ Project-URL: Documentation, https://rapidfuzz.github.io/Levenshtein/
9
+ Project-URL: Repository, https://github.com/rapidfuzz/python-Levenshtein.git
10
+ Project-URL: Issues, https://github.com/rapidfuzz/python-Levenshtein/issues
11
+ Project-URL: Changelog, https://github.com/rapidfuzz/python-Levenshtein/blob/main/CHANGELOG.rst
9
12
  Keywords: string,Levenshtein,comparison,edit-distance
10
13
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.9
12
14
  Classifier: Programming Language :: Python :: 3.10
13
15
  Classifier: Programming Language :: Python :: 3.11
14
16
  Classifier: Programming Language :: Python :: 3.12
15
17
  Classifier: Programming Language :: Python :: 3.13
16
- Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
17
- Requires-Python: >=3.9
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Requires-Python: >=3.10
18
20
  Description-Content-Type: text/markdown
19
- License-File: COPYING
20
- Requires-Dist: Levenshtein==0.27.1
21
+ License-File: LICENSE
22
+ Requires-Dist: Levenshtein==0.27.4
23
+ Dynamic: license-file
21
24
 
22
25
  # Levenshtein
23
26
 
@@ -38,7 +41,7 @@ Requires-Dist: Levenshtein==0.27.1
38
41
  <img src="https://img.shields.io/badge/-documentation-blue"
39
42
  alt="Documentation">
40
43
  </a>
41
- <a href="https://github.com/rapidfuzz/python-Levenshtein/blob/main/COPYING">
44
+ <a href="https://github.com/rapidfuzz/python-Levenshtein/blob/main/LICENSE">
42
45
  <img src="https://img.shields.io/github/license/rapidfuzz/python-Levenshtein"
43
46
  alt="GitHub license">
44
47
  </a>
@@ -57,7 +60,7 @@ computation of:
57
60
  The `python-Levenshtein` package will continue to be updated alongside the new package
58
61
 
59
62
  ## Requirements
60
- * Python 3.9 or later
63
+ * Python 3.10 or later
61
64
 
62
65
  ## Installation
63
66
  ```bash
@@ -84,4 +87,4 @@ under the terms of the GNU General Public License as published by the Free
84
87
  Software Foundation; either version 2 of the License, or (at your option)
85
88
  any later version.
86
89
 
87
- See the file [COPYING](https://github.com/rapidfuzz/python-Levenshtein/blob/main/COPYING) for the full text of GNU General Public License version 2.
90
+ See the file [LICENSE](https://github.com/rapidfuzz/python-Levenshtein/blob/main/LICENSE) for the full text of GNU General Public License version 2.
@@ -1,9 +1,7 @@
1
- COPYING
2
- HISTORY.md
1
+ LICENSE
3
2
  MANIFEST.in
4
3
  README.md
5
4
  pyproject.toml
6
- setup.cfg
7
5
  python_Levenshtein.egg-info/PKG-INFO
8
6
  python_Levenshtein.egg-info/SOURCES.txt
9
7
  python_Levenshtein.egg-info/dependency_links.txt
@@ -0,0 +1 @@
1
+ Levenshtein==0.27.4
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -1,284 +0,0 @@
1
- ## Changelog
2
-
3
- ### v0.27.1
4
- #### Changed
5
- - fix build with ``scikit-build-core`` ``v0.11``
6
- - upgrade to `Cython==3.0.12`
7
-
8
- ### v0.26.1
9
- #### Fixed
10
- - add missing mac os wheels
11
-
12
- ### v0.26.0
13
- #### Changed
14
- - add support for Python 3.13
15
- - drop support for Python 3.8
16
-
17
- ### v0.25.1
18
- #### Fixed
19
- - fix potentially incorrect results of `jaro_winkler` when using high prefix weights
20
-
21
- ### v0.25.0
22
- #### Changed
23
- - improve type hints
24
-
25
- ### v0.24.0
26
- #### Changed
27
- - upgrade ``rapidfuzz-cpp`` to ``v3.0.0``
28
- - drop support for Python 3.7
29
-
30
- ### v0.23.0
31
- #### Changed
32
- - added keyword argument `pad` to Hamming distance. This controls whether sequences of different
33
- length should be padded or lead to a `ValueError`
34
- - upgrade to `Cython==3.0.3`
35
-
36
- ### v0.22.0
37
- #### Changed
38
- - add support for Python 3.12
39
- - drop support for Python 3.6
40
-
41
- #### Added
42
- - add wheels for windows arm64
43
-
44
- ### v0.21.1
45
- #### Changed
46
- - upgrade ``rapidfuzz-cpp`` to ``v2.0.0``
47
-
48
- ### v0.21.0
49
- #### Changed
50
- - relax dependency requirement on ``rapidfuzz``
51
-
52
- ### v0.20.9
53
- #### Fixed
54
- - fix function signature of `get_requires_for_build_wheel`
55
-
56
- ### v0.20.8
57
- #### Fixed
58
- - type hints for `editops`/`opcoded`/`matching_blocks` did not allow any
59
- hashable sequence
60
-
61
- ### v0.20.7
62
- #### Fixed
63
- - type hints did not get installed
64
-
65
- ### v0.20.6
66
- #### Fixed
67
- - fix incorrect result normalization in `setratio` and `seqratio`
68
-
69
- ### v0.20.5
70
- #### Fixed
71
- - fix support for cmake versions below 3.17
72
- - fix version requirement for `rapidfuzz-cpp` when building against a previously installed version
73
-
74
- ### v0.20.4
75
- #### Changed
76
- - modernize cmake build to fix most conda-forge builds
77
-
78
- ### v0.20.3
79
- #### Changed
80
- - Added support for Python 3.11
81
-
82
- ### v0.20.2
83
- #### Fixed
84
- - fix matching_blocks conversion for empty editops
85
-
86
- #### Changed
87
- - added in-tree build backend to install cmake and ninja only when it is not installed yet and only when wheels are available
88
-
89
- ### v0.20.1
90
- #### Fixed
91
- - fix broken matching_blocks conversion
92
-
93
- ### v0.20.0
94
- #### Changed
95
- - use `matching_blocks`/`apply`/`remove_subsequence`/`inverse` implementation from RapidFuzz
96
-
97
- #### Fixed
98
- - stop adding data to wheels
99
- - fix segmentation fault on some invalid editop sequences in subtract_edit
100
- - detect duplicated entries in editops validation
101
-
102
- ### v0.19.3
103
- #### Added
104
- - add musllinux wheels
105
-
106
- ### v0.19.2
107
- #### Added
108
- - add missing type hints
109
-
110
- ### v0.19.1
111
- #### Added
112
- - Add type hints
113
-
114
- ### v0.19.0
115
- #### Changed
116
- - implement all Python wrappers mostly with cython
117
- - replace usage of deprecated Python APIs
118
-
119
- #### Fixed
120
- - fix behavior of median and median_improve
121
-
122
- ### v0.18.2
123
- #### Changed
124
- - Allow installation from system installed versions of `rapidfuzz-cpp`
125
-
126
- ### v0.18.1
127
- #### Fixed
128
- - Indel.normalized_similarity was broken in RapidFuzz v2.0.0 (see #20)
129
-
130
- ### v0.18.0
131
- #### Fixed
132
- * Fixed memory leak in error path of setratio
133
-
134
- * Fixed out of bound reads due to uninitialized variable in median
135
- * e.g. quickmedian(["test", "teste"], [0, 0]) caused out of bound reads
136
-
137
- #### Changed
138
- * Use a faster editops implementation provided by RapidFuzz
139
- * Reduce code duplication
140
- * reuse implementations from rapidfuzz-cpp
141
- * Transition to scikit-build
142
-
143
- ### v0.17.0
144
- * Removed support for Python 3.5
145
-
146
- ### v0.16.1
147
- * Add support for RapidFuzz v1.9.*
148
-
149
- ### v0.16.0
150
- * Add support for Python 3.10
151
-
152
- ### v0.15.0
153
- * Update SequenceMatcher interface to support the autojunk parameter
154
-
155
- ### v0.14.0
156
- * Drop Python 2 support
157
- * Fixed free of non heap object due caused by zero offset on a heap object
158
- * Fixed warnings about missing type conversions
159
- * Fix segmentation fault in subtract_edit when incorrect input types are used
160
- * Fixed unchecked memory allocations
161
- * Implement distance/ratio/hamming/jaro/jaro_winkler
162
- using rapidfuzz instead of providing a own implementation
163
- * Implement Wrapper for inverse/editops/opcodes/matching_blocks/subtract_edit/apply_edit
164
- using Cython to simplify support for new Python versions
165
-
166
- ### v0.13.0
167
- * Maintainership passed to Max Bachmann
168
- * use faster bitparallel implementations for distance and ratio
169
- * avoid string copies in distance, ratio and hamming
170
- * Fix usage of deprecated Unicode APIs in distance, ratio and hamming
171
- * Fixed incorrect window size inside Jaro and Jaro-Winkler implementation
172
- * Fixed incorrect exception messages
173
- * Removed unused functions and compiler specific hacks
174
- * Split the Python and C implementations to simplify building of
175
- the C library
176
- * Fixed multiple bugs which prevented the use as C library, since some functions
177
- only got defined when compiling for Python
178
- * Build and deliver python wheels for the library
179
- * Fixed incorrect allocation size in lev_editops_matching_blocks and
180
- lev_opcodes_matching_blocks
181
-
182
- ### v0.12.1
183
- * Fixed handling of numerous possible wraparounds in calculating the size
184
- of memory allocations; incorrect handling of which could cause denial
185
- of service or even possible remote code execution in previous versions
186
- of the library.
187
-
188
- ### v0.12.0
189
- * Fixed a bug in StringMatcher.StringMatcher.get_matching_blocks /
190
- extract_editops for Python 3; now allow only `str` editops on
191
- both Python 2 and Python 3, for simpler and working code.
192
- * Added documentation in the source distribution and in GIT
193
- * Fixed the package layout: renamed the .so/.dll to _levenshtein,
194
- and made it reside inside a package, along with the StringMatcher
195
- class.
196
- * Fixed spelling errors.
197
-
198
- ### v0.11.2
199
- * Fixed a bug in setup.py: installation would fail on Python 3 if the locale
200
- did not specify UTF-8 charset (Felix Yan).
201
-
202
- * Added COPYING, StringMatcher.py, gendoc.sh and NEWS in MANIFEST.in, as they
203
- were missing from source distributions.
204
-
205
- ### v0.11.1
206
- * Added Levenshtein.h to MANIFEST.in
207
-
208
- ### v0.11.0
209
- * Python 3 support, maintainership passed to Antti Haapala
210
-
211
- ### v0.10.2
212
- * Made python-Lehvenstein Git compatible and use setuptools for PyPi upload
213
- * Created HISTORY.txt and made README reST compatible
214
-
215
- ### v0.10.1
216
- * apply_edit() broken for Unicodes was fixed (thanks to Radovan Garabik)
217
- * subtract_edit() function was added
218
-
219
- ### v0.10.0
220
- * Hamming distance, Jaro similarity metric and Jaro-Winkler similarity
221
- metric were added
222
- * ValueErrors raised on wrong argument types were fixed to TypeErrors
223
-
224
- ### v0.9.0
225
- * a poor-but-fast generalized median method quickmedian() was added
226
- * some auxiliary functions added to the C api (lev_set_median_index,
227
- lev_editops_normalize, ...)
228
-
229
- ### v0.8.2
230
- * fixed missing `static' in the method list
231
-
232
- ### v0.8.1
233
- * some compilation problems with non-gcc were fixed
234
-
235
- v0.8.0
236
- * median_improve(), a generalized median improving function, was added
237
- * an arbitrary length limitation imposed on greedy median() result was
238
- removed
239
- * out of memory should be handled more gracefully (on systems w/o memory
240
- overcomitting)
241
- * the documentation now passes doctest
242
-
243
- ### v0.7.0
244
- * fixed greedy median() for Unicode characters > U+FFFF, it's now usable
245
- with whatever integer type wchar_t happens to be
246
- * added missing MANIFEST
247
- * renamed exported C functions, all public names now have lev_, LEV_ or
248
- Lev prefix; defined lev_byte, lev_wchar, and otherwise santinized
249
- the (still unstable) C interface
250
- * added edit-ops group of functions, with two interfaces: native, useful
251
- for string averaging, and difflib-like for interoperability
252
- * added an example SequenceMatcher-like class StringMatcher
253
-
254
- ### v0.6.0
255
- * a segfault in seqratio()/setratio() on invalid input has been fixed
256
- to an exception
257
- * optimized ratio() and distance() (about 20%)
258
- * Levenshtein.h header file was added to make it easier to actually use
259
- it as a C library
260
-
261
- ### v0.5.0
262
- * a segfault in setratio() was fixed
263
- * median() handles all empty strings situation more gracefully
264
-
265
- ### v0.4.0
266
- * new functions seqratio() and setratio() computing similarity between
267
- string sequences and sets
268
- * Levenshtein optimizations (affects all routines except median())
269
- * all Sequence objects are accepted, not just Lists
270
-
271
- ### v0.3.0
272
- * setmedian() finding set median was added
273
- * median() initial overhead for Unicodes was reduced
274
-
275
- ### v0.2.0
276
- * ratio() and distance() now accept both Strings and Unicodes
277
- * removed uratio() and udistance()
278
- * Levenshtein.c is now compilable as a C library (with -DNO_PYTHON)
279
- * a median() function finding approximate weighted median of a string
280
- set was added
281
-
282
- ### v0.1.0
283
- * Inital release
284
-
@@ -1,3 +0,0 @@
1
- include README.md
2
- include HISTORY.md
3
- include COPYING
@@ -1,3 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools"]
3
- build-backend = "setuptools.build_meta"
@@ -1 +0,0 @@
1
- Levenshtein==0.27.1
@@ -1,29 +0,0 @@
1
- [metadata]
2
- name = python-Levenshtein
3
- version = 0.27.1
4
- description = Python extension for computing string edit distances and similarities.
5
- long_description = file: README.md
6
- long_description_content_type = text/markdown
7
- author = Max Bachmann
8
- author_email = pypi@maxbachmann.de
9
- url = https://github.com/rapidfuzz/python-Levenshtein
10
- license = GPL-2.0-or-later
11
- classifiers =
12
- Programming Language :: Python :: 3
13
- Programming Language :: Python :: 3.9
14
- Programming Language :: Python :: 3.10
15
- Programming Language :: Python :: 3.11
16
- Programming Language :: Python :: 3.12
17
- Programming Language :: Python :: 3.13
18
- License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
19
- keywords = string, Levenshtein, comparison, edit-distance
20
-
21
- [options]
22
- python_requires = >=3.9
23
- install_requires =
24
- Levenshtein==0.27.1
25
-
26
- [egg_info]
27
- tag_build =
28
- tag_date = 0
29
-