kenenet 1.0.2__py3-none-any.whl → 1.0.3__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.
- kenenet/__init__.py +11 -0
- {kenenet-1.0.2.dist-info → kenenet-1.0.3.dist-info}/METADATA +1 -1
- kenenet-1.0.3.dist-info/RECORD +5 -0
- kenenet-1.0.2.dist-info/RECORD +0 -5
- {kenenet-1.0.2.dist-info → kenenet-1.0.3.dist-info}/WHEEL +0 -0
- {kenenet-1.0.2.dist-info → kenenet-1.0.3.dist-info}/top_level.txt +0 -0
kenenet/__init__.py
CHANGED
@@ -443,6 +443,17 @@ def time_code(label=None):
|
|
443
443
|
_seen_lines.clear()
|
444
444
|
_function_lines.clear()
|
445
445
|
|
446
|
+
|
447
|
+
def time_loop(iterable, cutoff_time=0.1):
|
448
|
+
start_time = time.time()
|
449
|
+
end_time = start_time + cutoff_time
|
450
|
+
for item in iterable:
|
451
|
+
yield item
|
452
|
+
if time.time() > end_time:
|
453
|
+
break
|
454
|
+
|
455
|
+
ct = time_loop
|
456
|
+
|
446
457
|
class k:
|
447
458
|
pass
|
448
459
|
|
@@ -0,0 +1,5 @@
|
|
1
|
+
kenenet/__init__.py,sha256=TFgUSpmlHhk8DSDPJiP7sy-Rd8-rRxt2a7jfEhWiANA,19006
|
2
|
+
kenenet-1.0.3.dist-info/METADATA,sha256=C4jOWMNxXJMbfuoIcoZqmSC1vvrqiSHKc3Y3nrSLJRU,1693
|
3
|
+
kenenet-1.0.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
kenenet-1.0.3.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
+
kenenet-1.0.3.dist-info/RECORD,,
|
kenenet-1.0.2.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
kenenet/__init__.py,sha256=d_aoiuWc_W3n6EjhjO0F6hydgHGIRgfcoyQUncwt5q8,18756
|
2
|
-
kenenet-1.0.2.dist-info/METADATA,sha256=IsbHQJCapu7AprwiYN_28jB-iAwdZfV8eNwmLkngygA,1693
|
3
|
-
kenenet-1.0.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
kenenet-1.0.2.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
-
kenenet-1.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|