k3priorityqueue 0.1.7__tar.gz → 0.1.9__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.
- {k3priorityqueue-0.1.7/k3priorityqueue.egg-info → k3priorityqueue-0.1.9}/PKG-INFO +2 -1
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/__init__.py +11 -4
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9/k3priorityqueue.egg-info}/PKG-INFO +2 -1
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/pyproject.toml +2 -1
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/LICENSE +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/README.md +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/k3priorityqueue.egg-info/SOURCES.txt +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/k3priorityqueue.egg-info/dependency_links.txt +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/k3priorityqueue.egg-info/requires.txt +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/k3priorityqueue.egg-info/top_level.txt +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/priorityqueue.py +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/setup.cfg +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/synopsis.py +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/test/test_doctest.py +0 -0
- {k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/test/test_k3priorityqueue.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: k3priorityqueue
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: Priority queue with weighted producer support
|
|
5
5
|
Author-email: Zhang Yanpo <drdr.xp@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
19
|
Requires-Python: >=3.10
|
|
19
20
|
Description-Content-Type: text/markdown
|
|
20
21
|
License-File: LICENSE
|
|
@@ -42,10 +42,6 @@ while True:
|
|
|
42
42
|
print('consumed all: counts:', repr(count))
|
|
43
43
|
"""
|
|
44
44
|
|
|
45
|
-
from importlib.metadata import version
|
|
46
|
-
|
|
47
|
-
__version__ = version("k3priorityqueue")
|
|
48
|
-
|
|
49
45
|
from .priorityqueue import (
|
|
50
46
|
Empty,
|
|
51
47
|
PriorityQueue,
|
|
@@ -59,3 +55,14 @@ __all__ = [
|
|
|
59
55
|
"Producer",
|
|
60
56
|
"default_priority",
|
|
61
57
|
]
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def __getattr__(name: str) -> str:
|
|
61
|
+
# importlib.metadata takes about 20 ms to import, so it is loaded only
|
|
62
|
+
# when __version__ is read
|
|
63
|
+
if name != "__version__":
|
|
64
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
65
|
+
|
|
66
|
+
from importlib.metadata import version
|
|
67
|
+
|
|
68
|
+
return version("k3priorityqueue")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: k3priorityqueue
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: Priority queue with weighted producer support
|
|
5
5
|
Author-email: Zhang Yanpo <drdr.xp@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
19
|
Requires-Python: >=3.10
|
|
19
20
|
Description-Content-Type: text/markdown
|
|
20
21
|
License-File: LICENSE
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "k3priorityqueue"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.9"
|
|
8
8
|
description = "Priority queue with weighted producer support"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -22,6 +22,7 @@ classifiers = [
|
|
|
22
22
|
"Programming Language :: Python :: 3.11",
|
|
23
23
|
"Programming Language :: Python :: 3.12",
|
|
24
24
|
"Programming Language :: Python :: 3.13",
|
|
25
|
+
"Programming Language :: Python :: 3.14",
|
|
25
26
|
]
|
|
26
27
|
dependencies = [
|
|
27
28
|
"k3heap",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{k3priorityqueue-0.1.7 → k3priorityqueue-0.1.9}/k3priorityqueue.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|