timer-for-python 0.7.2__tar.gz → 0.7.4__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 (44) hide show
  1. {timer-for-python-0.7.2/src/timer_for_python.egg-info → timer-for-python-0.7.4}/PKG-INFO +13 -12
  2. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/README.md +2 -2
  3. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/setup.cfg +11 -10
  4. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/error/__init__.py +2 -2
  5. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/version.py +1 -1
  6. {timer-for-python-0.7.2 → timer-for-python-0.7.4/src/timer_for_python.egg-info}/PKG-INFO +13 -12
  7. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/SOURCES.txt +0 -10
  8. timer-for-python-0.7.4/src/timer_for_python.egg-info/requires.txt +10 -0
  9. timer-for-python-0.7.2/src/timer/.pytest_cache/.gitignore +0 -2
  10. timer-for-python-0.7.2/src/timer/.pytest_cache/CACHEDIR.TAG +0 -4
  11. timer-for-python-0.7.2/src/timer/.pytest_cache/README.md +0 -8
  12. timer-for-python-0.7.2/src/timer/.pytest_cache/v/cache/nodeids +0 -1
  13. timer-for-python-0.7.2/src/timer/.pytest_cache/v/cache/stepwise +0 -1
  14. timer-for-python-0.7.2/src/timer/model/.pytest_cache/.gitignore +0 -2
  15. timer-for-python-0.7.2/src/timer/model/.pytest_cache/CACHEDIR.TAG +0 -4
  16. timer-for-python-0.7.2/src/timer/model/.pytest_cache/README.md +0 -8
  17. timer-for-python-0.7.2/src/timer/model/.pytest_cache/v/cache/nodeids +0 -1
  18. timer-for-python-0.7.2/src/timer/model/.pytest_cache/v/cache/stepwise +0 -1
  19. timer-for-python-0.7.2/src/timer_for_python.egg-info/requires.txt +0 -10
  20. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/LICENSE.md +0 -0
  21. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/MANIFEST.in +0 -0
  22. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/pyproject.toml +0 -0
  23. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/__init__.py +0 -0
  24. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/constant/__init__.py +0 -0
  25. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/constant/decimals.py +0 -0
  26. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/constant/various.py +0 -0
  27. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/controller/__init__.py +0 -0
  28. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/decorator/benchmark.py +0 -0
  29. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/helper/__init__.py +0 -0
  30. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/helper/decimals.py +0 -0
  31. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/helper/output.py +0 -0
  32. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/helper/thread/__init__.py +0 -0
  33. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/helper/thread/list.py +0 -0
  34. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/helper/time_fractions.py +0 -0
  35. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/model/__init__.py +0 -0
  36. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/model/elapsed_time_fractions.py +0 -0
  37. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/model/thread_item.py +0 -0
  38. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/model/time_fractions.py +0 -0
  39. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/model/timer.py +0 -0
  40. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/model/timer_base.py +0 -0
  41. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer/py.typed +0 -0
  42. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/dependency_links.txt +0 -0
  43. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/not-zip-safe +0 -0
  44. {timer-for-python-0.7.2 → timer-for-python-0.7.4}/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.2
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.0
28
+ Requires-Dist: colorist==1.8.0
28
29
  Provides-Extra: testing
29
- Requires-Dist: coverage==7.3.2; extra == "testing"
30
- Requires-Dist: flake8==6.1.0; extra == "testing"
31
- Requires-Dist: mypy==1.7.1; extra == "testing"
32
- Requires-Dist: numpy==1.26.2; extra == "testing"
33
- Requires-Dist: pytest==7.4.3; extra == "testing"
34
- Requires-Dist: pytest-cov==4.1.0; extra == "testing"
35
- Requires-Dist: tox==4.11.3; extra == "testing"
36
-
37
- [![Latest version](https://img.shields.io/static/v1?label=version&message=0.7.2&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,5 +1,5 @@
1
- [![Latest version](https://img.shields.io/static/v1?label=version&message=0.7.2&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.4&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.2
3
+ version = 0.7.4
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.0
39
+ colorist==1.8.0
39
40
  install_requires =
40
- colorist==1.7.0
41
+ colorist==1.8.0
41
42
  zip_safe = no
42
43
  include_package_data = True
43
44
 
44
45
  [options.extras_require]
45
46
  testing =
46
- coverage==7.3.2
47
- flake8==6.1.0
48
- mypy==1.7.1
49
- numpy==1.26.2
50
- pytest==7.4.3
51
- pytest-cov==4.1.0
52
- tox==4.11.3
47
+ coverage==7.6.1
48
+ flake8==7.1.1
49
+ mypy==1.11.2
50
+ numpy==2.1.2
51
+ pytest==8.3.3
52
+ pytest-cov==5.0.0
53
+ tox==4.21.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, 2)
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.2
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.0
28
+ Requires-Dist: colorist==1.8.0
28
29
  Provides-Extra: testing
29
- Requires-Dist: coverage==7.3.2; extra == "testing"
30
- Requires-Dist: flake8==6.1.0; extra == "testing"
31
- Requires-Dist: mypy==1.7.1; extra == "testing"
32
- Requires-Dist: numpy==1.26.2; extra == "testing"
33
- Requires-Dist: pytest==7.4.3; extra == "testing"
34
- Requires-Dist: pytest-cov==4.1.0; extra == "testing"
35
- Requires-Dist: tox==4.11.3; extra == "testing"
36
-
37
- [![Latest version](https://img.shields.io/static/v1?label=version&message=0.7.2&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)
@@ -6,11 +6,6 @@ setup.cfg
6
6
  src/timer/__init__.py
7
7
  src/timer/py.typed
8
8
  src/timer/version.py
9
- src/timer/.pytest_cache/.gitignore
10
- src/timer/.pytest_cache/CACHEDIR.TAG
11
- src/timer/.pytest_cache/README.md
12
- src/timer/.pytest_cache/v/cache/nodeids
13
- src/timer/.pytest_cache/v/cache/stepwise
14
9
  src/timer/constant/__init__.py
15
10
  src/timer/constant/decimals.py
16
11
  src/timer/constant/various.py
@@ -29,11 +24,6 @@ src/timer/model/thread_item.py
29
24
  src/timer/model/time_fractions.py
30
25
  src/timer/model/timer.py
31
26
  src/timer/model/timer_base.py
32
- src/timer/model/.pytest_cache/.gitignore
33
- src/timer/model/.pytest_cache/CACHEDIR.TAG
34
- src/timer/model/.pytest_cache/README.md
35
- src/timer/model/.pytest_cache/v/cache/nodeids
36
- src/timer/model/.pytest_cache/v/cache/stepwise
37
27
  src/timer_for_python.egg-info/PKG-INFO
38
28
  src/timer_for_python.egg-info/SOURCES.txt
39
29
  src/timer_for_python.egg-info/dependency_links.txt
@@ -0,0 +1,10 @@
1
+ colorist==1.8.0
2
+
3
+ [testing]
4
+ coverage==7.6.1
5
+ flake8==7.1.1
6
+ mypy==1.11.2
7
+ numpy==2.1.2
8
+ pytest==8.3.3
9
+ pytest-cov==5.0.0
10
+ tox==4.21.2
@@ -1,2 +0,0 @@
1
- # Created by pytest automatically.
2
- *
@@ -1,4 +0,0 @@
1
- Signature: 8a477f597d28d172789f06886806bc55
2
- # This file is a cache directory tag created by pytest.
3
- # For information about cache directory tags, see:
4
- # https://bford.info/cachedir/spec.html
@@ -1,8 +0,0 @@
1
- # pytest cache directory #
2
-
3
- This directory contains data from the pytest's cache plugin,
4
- which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
5
-
6
- **Do not** commit this to version control.
7
-
8
- See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
@@ -1,2 +0,0 @@
1
- # Created by pytest automatically.
2
- *
@@ -1,4 +0,0 @@
1
- Signature: 8a477f597d28d172789f06886806bc55
2
- # This file is a cache directory tag created by pytest.
3
- # For information about cache directory tags, see:
4
- # https://bford.info/cachedir/spec.html
@@ -1,8 +0,0 @@
1
- # pytest cache directory #
2
-
3
- This directory contains data from the pytest's cache plugin,
4
- which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
5
-
6
- **Do not** commit this to version control.
7
-
8
- See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
@@ -1,10 +0,0 @@
1
- colorist==1.7.0
2
-
3
- [testing]
4
- coverage==7.3.2
5
- flake8==6.1.0
6
- mypy==1.7.1
7
- numpy==1.26.2
8
- pytest==7.4.3
9
- pytest-cov==4.1.0
10
- tox==4.11.3