kenenet 0.8.2__py3-none-any.whl → 0.8.4__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 CHANGED
@@ -263,7 +263,7 @@ def load_audio(mp3_path):
263
263
 
264
264
  import time
265
265
 
266
- def time_func(func, loop, *args, **kwargs):
266
+ def time_func(func, loop=10000, *args, **kwargs):
267
267
  func_name = getattr(func, '__name__', repr(func))
268
268
  frame = inspect.currentframe().f_back
269
269
  lineno = frame.f_lineno
@@ -271,7 +271,7 @@ def time_func(func, loop, *args, **kwargs):
271
271
  for _ in range(loop):
272
272
  func(*args, **kwargs)
273
273
  elapsed = time.time() - start
274
- quick_print(f'{func_name} took {elapsed}', lineno)
274
+ quick_print(f'{loop:,}x {func_name} took {elapsed}', lineno)
275
275
  return elapsed
276
276
 
277
277
  class k:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kenenet
3
- Version: 0.8.2
3
+ Version: 0.8.4
4
4
  Summary: dude what the fuck even is this package
5
5
  Home-page: https://www.youtube.com/@KiddyKene
6
6
  Author: kiddykene
@@ -0,0 +1,5 @@
1
+ kenenet/__init__.py,sha256=JFterb0bsYYGpRfrnNk0tTva8LrBempp4SZeDtmK18I,11176
2
+ kenenet-0.8.4.dist-info/METADATA,sha256=HtYGks454TQW6FIPZQtd1B6X9WOZ3m4oVF1bZLh43Zw,633
3
+ kenenet-0.8.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
+ kenenet-0.8.4.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
+ kenenet-0.8.4.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- kenenet/__init__.py,sha256=6kwpIlIosQd_9Z4eG79wQFJhMOz14r1XXivREG2Kzco,11160
2
- kenenet-0.8.2.dist-info/METADATA,sha256=mn-ohTyxCtonkdPzmAgiZYzoNYzagLidOiQDvLETw4k,633
3
- kenenet-0.8.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
- kenenet-0.8.2.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
5
- kenenet-0.8.2.dist-info/RECORD,,