renumerate 1.3.5__py3-none-any.whl → 1.5.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.
Potentially problematic release.
This version of renumerate might be problematic. Click here for more details.
- renumerate/__init__.py +2 -2
- renumerate/_renumerate.py +6 -1
- renumerate/py.typed +0 -0
- {renumerate-1.3.5.dist-info → renumerate-1.5.0.dist-info}/METADATA +9 -4
- renumerate-1.5.0.dist-info/RECORD +10 -0
- renumerate-1.3.5.dist-info/RECORD +0 -9
- {renumerate-1.3.5.dist-info → renumerate-1.5.0.dist-info}/WHEEL +0 -0
- {renumerate-1.3.5.dist-info → renumerate-1.5.0.dist-info}/licenses/LICENSE +0 -0
- {renumerate-1.3.5.dist-info → renumerate-1.5.0.dist-info}/top_level.txt +0 -0
- {renumerate-1.3.5.dist-info → renumerate-1.5.0.dist-info}/zip-safe +0 -0
renumerate/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Copyright (c) 2016 Adam Karpierz
|
|
2
2
|
# SPDX-License-Identifier: Zlib
|
|
3
3
|
|
|
4
|
-
from .__about__ import * ; del __about__ # noqa
|
|
4
|
+
from .__about__ import * ; del __about__ # type: ignore[name-defined] # noqa
|
|
5
5
|
|
|
6
|
-
from ._renumerate import * ; del _renumerate # noqa
|
|
6
|
+
from ._renumerate import * ; del _renumerate # type: ignore[name-defined] # noqa
|
renumerate/_renumerate.py
CHANGED
|
@@ -3,8 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
__all__ = ('renumerate',)
|
|
5
5
|
|
|
6
|
+
from typing import Any
|
|
7
|
+
from collections.abc import Sequence, Generator
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
|
|
10
|
+
def renumerate(sequence: Sequence[Any],
|
|
11
|
+
start: int | None = None,
|
|
12
|
+
end: int | None = None) -> Generator[tuple[int, Any]]:
|
|
8
13
|
"""Reverse iterator for index, value of sequence.
|
|
9
14
|
|
|
10
15
|
renumerate(sequence[, start]|[, end]) -> reverse iterator
|
renumerate/py.typed
ADDED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: renumerate
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: Reverse enumerate.
|
|
5
5
|
Author: Adam Karpierz
|
|
6
6
|
Author-email: adam@karpierz.net
|
|
@@ -33,7 +33,7 @@ Requires-Python: <4.0.0,>=3.10.0
|
|
|
33
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
34
|
License-File: LICENSE
|
|
35
35
|
Requires-Dist: setuptools>=80.9.0
|
|
36
|
-
Requires-Dist: pkg-about>=1.
|
|
36
|
+
Requires-Dist: pkg-about>=1.4.0
|
|
37
37
|
Provides-Extra: doc
|
|
38
38
|
Requires-Dist: Sphinx>=8.1.3; extra == "doc"
|
|
39
39
|
Requires-Dist: sphinx-autodoc-typehints>=3.0.1; extra == "doc"
|
|
@@ -45,8 +45,8 @@ Requires-Dist: sphinx-lint>=1.0.0; extra == "doc"
|
|
|
45
45
|
Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
|
|
46
46
|
Requires-Dist: nbsphinx>=0.9.7; extra == "doc"
|
|
47
47
|
Provides-Extra: test
|
|
48
|
-
Requires-Dist: deepdiff>=8.
|
|
49
|
-
Requires-Dist: rich>=14.
|
|
48
|
+
Requires-Dist: deepdiff>=8.6.0; extra == "test"
|
|
49
|
+
Requires-Dist: rich>=14.1.0; extra == "test"
|
|
50
50
|
Dynamic: license-file
|
|
51
51
|
|
|
52
52
|
renumerate
|
|
@@ -177,6 +177,11 @@ Authors
|
|
|
177
177
|
Changelog
|
|
178
178
|
=========
|
|
179
179
|
|
|
180
|
+
1.5.0 (2025-09-01)
|
|
181
|
+
------------------
|
|
182
|
+
- Making the package typed.
|
|
183
|
+
- Setup (dependencies) update.
|
|
184
|
+
|
|
180
185
|
1.3.5 (2025-07-07)
|
|
181
186
|
------------------
|
|
182
187
|
- Setup (dependencies) update.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
renumerate/__about__.py,sha256=LUuaWYl_ylQT_d6A55rewRwEAd83eAQUJ6mcYBx5ORY,100
|
|
2
|
+
renumerate/__init__.py,sha256=T4n-eTkOyces9l-zifj386NIla9tumbt0GaGl_kiVw0,231
|
|
3
|
+
renumerate/_renumerate.py,sha256=c4H2aoPTGd_IDzbpIPfhrRVvR1hPEkUQYuWeF4c_AJU,1441
|
|
4
|
+
renumerate/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
renumerate-1.5.0.dist-info/licenses/LICENSE,sha256=oWbDDZuotrmWIM-8i9bv194or7RFe3AAbFrkivDUw2Y,872
|
|
6
|
+
renumerate-1.5.0.dist-info/METADATA,sha256=oNNIF5iXoLecRbRZaGsU_3UgFYB3OBHyBBJjz46_5xI,9439
|
|
7
|
+
renumerate-1.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
renumerate-1.5.0.dist-info/top_level.txt,sha256=X996I0OJFxiV3UpE1ZxK1O9hinNjy21t5wBSKRwXeBY,11
|
|
9
|
+
renumerate-1.5.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
10
|
+
renumerate-1.5.0.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
renumerate/__about__.py,sha256=LUuaWYl_ylQT_d6A55rewRwEAd83eAQUJ6mcYBx5ORY,100
|
|
2
|
-
renumerate/__init__.py,sha256=9NVK5aAbq5A7IizTdBF1sJ3m8KQxP7GeH_sfw6ijpFk,171
|
|
3
|
-
renumerate/_renumerate.py,sha256=i6t7dI6guFH68yj_NN5_yH-spkHMKFuCMiqWtw3v96M,1264
|
|
4
|
-
renumerate-1.3.5.dist-info/licenses/LICENSE,sha256=oWbDDZuotrmWIM-8i9bv194or7RFe3AAbFrkivDUw2Y,872
|
|
5
|
-
renumerate-1.3.5.dist-info/METADATA,sha256=OMuuhq7UU7fBJP_JYlJeozCOlAgyC43upYW2kmNdfvE,9336
|
|
6
|
-
renumerate-1.3.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
-
renumerate-1.3.5.dist-info/top_level.txt,sha256=X996I0OJFxiV3UpE1ZxK1O9hinNjy21t5wBSKRwXeBY,11
|
|
8
|
-
renumerate-1.3.5.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
9
|
-
renumerate-1.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|