timer-for-python 0.7.3__py3-none-any.whl → 0.7.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.
timer/error/__init__.py CHANGED
@@ -10,14 +10,14 @@ def start_controller(thread: str | None) -> None:
10
10
  if helper.thread.is_none(thread):
11
11
  print(f"{Color.YELLOW}Timer is running. Use .stop() to stop it.{Color.OFF}")
12
12
  else:
13
- print(f"{Color.YELLOW}Timer for thread {thread} is running. Use .stop({thread = }) to stop it.{Color.OFF}")
13
+ print(f"{Color.YELLOW}Timer for thread {thread} is running. Use .stop({thread=}) to stop it.{Color.OFF}")
14
14
 
15
15
 
16
16
  def stop_controller(timer: TimerBase, thread: str | None) -> None:
17
17
  if helper.thread.is_none(thread):
18
18
  print(f"{Color.YELLOW}Timer is not running. Use .start() to start it.{Color.OFF}")
19
19
  else:
20
- print(f"{Color.YELLOW}Timer for thread {thread} is not running. Use .start({thread = }) to start it.{Color.OFF}")
20
+ print(f"{Color.YELLOW}Timer for thread {thread} is not running. Use .start({thread=}) to start it.{Color.OFF}")
21
21
  if len(timer.threads) > 0:
22
22
  open_threads = [thread_item.name for thread_item in timer.threads]
23
23
  print(f"Or maybe you aren't stopping the right thread? Currently open threads: {', '.join(open_threads)}")
timer/version.py CHANGED
@@ -1,2 +1,2 @@
1
- __version_info__ = (0, 7, 3)
1
+ __version_info__ = (0, 7, 4)
2
2
  __version__ = ".".join(map(str, __version_info__))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: timer-for-python
3
- Version: 0.7.3
3
+ Version: 0.7.4
4
4
  Summary: Timer for Python
5
5
  Home-page: https://jakob-bagterp.github.io/timer-for-python/
6
6
  Download-URL: https://pypi.org/project/timer-for-python/
@@ -19,23 +19,24 @@ Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
22
23
  Classifier: License :: OSI Approved :: MIT License
23
24
  Classifier: Operating System :: OS Independent
24
25
  Requires-Python: >=3.10
25
26
  Description-Content-Type: text/markdown
26
27
  License-File: LICENSE.md
27
- Requires-Dist: colorist ==1.7.1
28
+ Requires-Dist: colorist==1.8.0
28
29
  Provides-Extra: testing
29
- Requires-Dist: coverage ==7.4.4 ; extra == 'testing'
30
- Requires-Dist: flake8 ==7.0.0 ; extra == 'testing'
31
- Requires-Dist: mypy ==1.9.0 ; extra == 'testing'
32
- Requires-Dist: numpy ==1.26.4 ; extra == 'testing'
33
- Requires-Dist: pytest ==8.1.1 ; extra == 'testing'
34
- Requires-Dist: pytest-cov ==5.0.0 ; extra == 'testing'
35
- Requires-Dist: tox ==4.14.2 ; extra == 'testing'
36
-
37
- [![Latest version](https://img.shields.io/static/v1?label=version&message=0.7.3&color=yellowgreen)](https://github.com/jakob-bagterp/timer-for-python/releases/latest)
38
- [![Python 3.10 | 3.11 | 3.12+](https://img.shields.io/static/v1?label=python&message=3.10%20|%203.11%20|%203.12%2B&color=blueviolet)](https://www.python.org)
30
+ Requires-Dist: coverage==7.6.1; extra == "testing"
31
+ Requires-Dist: flake8==7.1.1; extra == "testing"
32
+ Requires-Dist: mypy==1.11.2; extra == "testing"
33
+ Requires-Dist: numpy==2.1.2; extra == "testing"
34
+ Requires-Dist: pytest==8.3.3; extra == "testing"
35
+ Requires-Dist: pytest-cov==5.0.0; extra == "testing"
36
+ Requires-Dist: tox==4.21.2; extra == "testing"
37
+
38
+ [![Latest version](https://img.shields.io/static/v1?label=version&message=0.7.4&color=yellowgreen)](https://github.com/jakob-bagterp/timer-for-python/releases/latest)
39
+ [![Python 3.10 | 3.11 | 3.12 | 3.13+](https://img.shields.io/static/v1?label=python&message=3.10%20|%203.11%20|%203.12%20|%203.13%2B&color=blueviolet)](https://www.python.org)
39
40
  [![MIT license](https://img.shields.io/static/v1?label=license&message=MIT&color=blue)](https://github.com/jakob-bagterp/timer-for-python/blob/master/LICENSE.md)
40
41
  [![Codecov](https://codecov.io/gh/jakob-bagterp/timer-for-python/branch/master/graph/badge.svg?token=P4IT8WQO0R)](https://codecov.io/gh/jakob-bagterp/timer-for-python)
41
42
  [![CodeQL](https://github.com/jakob-bagterp/timer-for-python/actions/workflows/codeql.yml/badge.svg)](https://github.com/jakob-bagterp/timer-for-python/actions/workflows/codeql.yml)
@@ -1,12 +1,12 @@
1
1
  timer/__init__.py,sha256=VP-n29fPZdottjrmQYnt4cYVH5Dq6Bx3CQ5-dlDPK9E,161
2
2
  timer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- timer/version.py,sha256=6u_k2jaEpuqNZzq4OATsc3rTamGM_dgzAfzvskmRzTs,80
3
+ timer/version.py,sha256=lFkWzs2eqXly4irbhym5PfprDubOlmzICdodJrXN1VA,80
4
4
  timer/constant/__init__.py,sha256=0e0W-lRc5xtJ9LSsEyq4o6zKckaRweAvrntmFE1gisE,67
5
5
  timer/constant/decimals.py,sha256=9SKe-IbFIbXY-Mps6bSYBqaWuxLiRlsa3rNmT_oDbiM,53
6
6
  timer/constant/various.py,sha256=v_UX49eVff3JnXs_VgS0luKkCc3iIH_EUalPxNt8-YQ,117
7
7
  timer/controller/__init__.py,sha256=lN-rF2nX4pCZ-Z8l7kJTlk4mmsInfLZ52NY4S6Wf6A0,1662
8
8
  timer/decorator/benchmark.py,sha256=HgZZpXyqZ4SB992LNEYeH--k4krLBkstgvih3l40Hco,378
9
- timer/error/__init__.py,sha256=RkuZ1iV8vrpHelnev7W81onsJKqUOTzIKIZD2uxJ_-w,1185
9
+ timer/error/__init__.py,sha256=H63gq-IevWXo95V5-MqqUzZhmciyvGfT7QizebFxgQA,1181
10
10
  timer/helper/__init__.py,sha256=kYe7PVpjG7UeamvAvohgiIleefsGslx1tJvuNO5_oSQ,117
11
11
  timer/helper/decimals.py,sha256=4FnEfWla-cyk12IYVdm7Me_T2FT6eAIft_uhMUmj4mo,1568
12
12
  timer/helper/output.py,sha256=6hHHg6tTiFYpf5ckxIwimmHsQJHQ6QEFywfeSAjrROA,1641
@@ -19,8 +19,8 @@ timer/model/thread_item.py,sha256=4c6cOAvTuy1Yi30oG46nHM84Bgu3c5aj7vTKjPyVQE8,21
19
19
  timer/model/time_fractions.py,sha256=yweResJFS7NutBoLWZYKC1f7GIemwWVIiEc04xsxOno,1298
20
20
  timer/model/timer.py,sha256=2_zTd3IzSnQ_hKDSazJdNlTVAbmm1p7fhIrpJHx_uw4,7017
21
21
  timer/model/timer_base.py,sha256=SjDT1qu3wR9c89VmIpScXEDWOI0My5mbboLD6A7jir0,557
22
- timer_for_python-0.7.3.dist-info/LICENSE.md,sha256=bV6mZhoYf6kHYGgsG3ArjpF_tjOweaI7QZKRvmzkUMI,1085
23
- timer_for_python-0.7.3.dist-info/METADATA,sha256=Mc9w568DOzr4DUfBmNJSqtFmLqyVsrKk5Ldd2mvODoA,6853
24
- timer_for_python-0.7.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
25
- timer_for_python-0.7.3.dist-info/top_level.txt,sha256=mbqaJ4u4Wh38RQxq5PFpTOu6h1EcSHjwI2bqdDYCRAI,6
26
- timer_for_python-0.7.3.dist-info/RECORD,,
22
+ timer_for_python-0.7.4.dist-info/LICENSE.md,sha256=bV6mZhoYf6kHYGgsG3ArjpF_tjOweaI7QZKRvmzkUMI,1085
23
+ timer_for_python-0.7.4.dist-info/METADATA,sha256=bSp7odihITduJ65olrriDIjO-yKvYariclmFmzKEs8o,6907
24
+ timer_for_python-0.7.4.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
25
+ timer_for_python-0.7.4.dist-info/top_level.txt,sha256=mbqaJ4u4Wh38RQxq5PFpTOu6h1EcSHjwI2bqdDYCRAI,6
26
+ timer_for_python-0.7.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5