timer-for-python 0.7.3__tar.gz → 0.7.5__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.
Files changed (34) hide show
  1. {timer-for-python-0.7.3/src/timer_for_python.egg-info → timer-for-python-0.7.5}/PKG-INFO +11 -10
  2. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/README.md +2 -2
  3. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/setup.cfg +10 -9
  4. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/error/__init__.py +2 -2
  5. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/version.py +1 -1
  6. {timer-for-python-0.7.3 → timer-for-python-0.7.5/src/timer_for_python.egg-info}/PKG-INFO +11 -10
  7. timer-for-python-0.7.5/src/timer_for_python.egg-info/requires.txt +10 -0
  8. timer-for-python-0.7.3/src/timer_for_python.egg-info/requires.txt +0 -10
  9. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/LICENSE.md +0 -0
  10. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/MANIFEST.in +0 -0
  11. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/pyproject.toml +0 -0
  12. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/__init__.py +0 -0
  13. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/constant/__init__.py +0 -0
  14. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/constant/decimals.py +0 -0
  15. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/constant/various.py +0 -0
  16. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/controller/__init__.py +0 -0
  17. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/decorator/benchmark.py +0 -0
  18. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/helper/__init__.py +0 -0
  19. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/helper/decimals.py +0 -0
  20. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/helper/output.py +0 -0
  21. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/helper/thread/__init__.py +0 -0
  22. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/helper/thread/list.py +0 -0
  23. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/helper/time_fractions.py +0 -0
  24. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/model/__init__.py +0 -0
  25. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/model/elapsed_time_fractions.py +0 -0
  26. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/model/thread_item.py +0 -0
  27. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/model/time_fractions.py +0 -0
  28. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/model/timer.py +0 -0
  29. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/model/timer_base.py +0 -0
  30. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer/py.typed +0 -0
  31. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer_for_python.egg-info/SOURCES.txt +0 -0
  32. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer_for_python.egg-info/dependency_links.txt +0 -0
  33. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer_for_python.egg-info/not-zip-safe +0 -0
  34. {timer-for-python-0.7.3 → timer-for-python-0.7.5}/src/timer_for_python.egg-info/top_level.txt +0 -0
@@ -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.5
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.1
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"
30
+ Requires-Dist: coverage==7.6.4; extra == "testing"
31
+ Requires-Dist: flake8==7.1.1; extra == "testing"
32
+ Requires-Dist: mypy==1.13.0; extra == "testing"
33
+ Requires-Dist: numpy==2.1.2; extra == "testing"
34
+ Requires-Dist: pytest==8.3.3; extra == "testing"
34
35
  Requires-Dist: pytest-cov==5.0.0; extra == "testing"
35
- Requires-Dist: tox==4.14.2; extra == "testing"
36
+ Requires-Dist: tox==4.23.2; extra == "testing"
36
37
 
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)
38
+ [![Latest version](https://img.shields.io/static/v1?label=version&message=0.7.5&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,5 +1,5 @@
1
- [![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)
2
- [![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)
1
+ [![Latest version](https://img.shields.io/static/v1?label=version&message=0.7.5&color=yellowgreen)](https://github.com/jakob-bagterp/timer-for-python/releases/latest)
2
+ [![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)
3
3
  [![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)
4
4
  [![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)
5
5
  [![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,6 +1,6 @@
1
1
  [metadata]
2
2
  name = timer-for-python
3
- version = 0.7.3
3
+ version = 0.7.5
4
4
  author = Jakob Bagterp
5
5
  author_email = jakob_bagterp@hotmail.com
6
6
  maintainer = Jakob Bagterp
@@ -24,6 +24,7 @@ classifiers =
24
24
  Programming Language :: Python :: 3.10
25
25
  Programming Language :: Python :: 3.11
26
26
  Programming Language :: Python :: 3.12
27
+ Programming Language :: Python :: 3.13
27
28
  License :: OSI Approved :: MIT License
28
29
  Operating System :: OS Independent
29
30
  license = MIT License
@@ -35,21 +36,21 @@ package_dir =
35
36
  packages = find:
36
37
  python_requires = >=3.10
37
38
  setup_requires =
38
- colorist==1.7.1
39
+ colorist==1.8.1
39
40
  install_requires =
40
- colorist==1.7.1
41
+ colorist==1.8.1
41
42
  zip_safe = no
42
43
  include_package_data = True
43
44
 
44
45
  [options.extras_require]
45
46
  testing =
46
- coverage==7.4.4
47
- flake8==7.0.0
48
- mypy==1.9.0
49
- numpy==1.26.4
50
- pytest==8.1.1
47
+ coverage==7.6.4
48
+ flake8==7.1.1
49
+ mypy==1.13.0
50
+ numpy==2.1.2
51
+ pytest==8.3.3
51
52
  pytest-cov==5.0.0
52
- tox==4.14.2
53
+ tox==4.23.2
53
54
 
54
55
  [options.packages.find]
55
56
  where = src
@@ -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)}")
@@ -1,2 +1,2 @@
1
- __version_info__ = (0, 7, 3)
1
+ __version_info__ = (0, 7, 5)
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.5
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.1
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"
30
+ Requires-Dist: coverage==7.6.4; extra == "testing"
31
+ Requires-Dist: flake8==7.1.1; extra == "testing"
32
+ Requires-Dist: mypy==1.13.0; extra == "testing"
33
+ Requires-Dist: numpy==2.1.2; extra == "testing"
34
+ Requires-Dist: pytest==8.3.3; extra == "testing"
34
35
  Requires-Dist: pytest-cov==5.0.0; extra == "testing"
35
- Requires-Dist: tox==4.14.2; extra == "testing"
36
+ Requires-Dist: tox==4.23.2; extra == "testing"
36
37
 
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)
38
+ [![Latest version](https://img.shields.io/static/v1?label=version&message=0.7.5&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)
@@ -0,0 +1,10 @@
1
+ colorist==1.8.1
2
+
3
+ [testing]
4
+ coverage==7.6.4
5
+ flake8==7.1.1
6
+ mypy==1.13.0
7
+ numpy==2.1.2
8
+ pytest==8.3.3
9
+ pytest-cov==5.0.0
10
+ tox==4.23.2
@@ -1,10 +0,0 @@
1
- colorist==1.7.1
2
-
3
- [testing]
4
- coverage==7.4.4
5
- flake8==7.0.0
6
- mypy==1.9.0
7
- numpy==1.26.4
8
- pytest==8.1.1
9
- pytest-cov==5.0.0
10
- tox==4.14.2