timer-for-python 0.7.3__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.
- {timer-for-python-0.7.3/src/timer_for_python.egg-info → timer-for-python-0.7.4}/PKG-INFO +11 -10
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/README.md +2 -2
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/setup.cfg +10 -9
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/error/__init__.py +2 -2
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/version.py +1 -1
- {timer-for-python-0.7.3 → timer-for-python-0.7.4/src/timer_for_python.egg-info}/PKG-INFO +11 -10
- timer-for-python-0.7.4/src/timer_for_python.egg-info/requires.txt +10 -0
- timer-for-python-0.7.3/src/timer_for_python.egg-info/requires.txt +0 -10
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/LICENSE.md +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/MANIFEST.in +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/pyproject.toml +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/__init__.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/constant/__init__.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/constant/decimals.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/constant/various.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/controller/__init__.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/decorator/benchmark.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/helper/__init__.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/helper/decimals.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/helper/output.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/helper/thread/__init__.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/helper/thread/list.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/helper/time_fractions.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/model/__init__.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/model/elapsed_time_fractions.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/model/thread_item.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/model/time_fractions.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/model/timer.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/model/timer_base.py +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer/py.typed +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/SOURCES.txt +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/dependency_links.txt +0 -0
- {timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/not-zip-safe +0 -0
- {timer-for-python-0.7.3 → 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.
|
|
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.
|
|
28
|
+
Requires-Dist: colorist==1.8.0
|
|
28
29
|
Provides-Extra: testing
|
|
29
|
-
Requires-Dist: coverage==7.
|
|
30
|
-
Requires-Dist: flake8==7.
|
|
31
|
-
Requires-Dist: mypy==1.
|
|
32
|
-
Requires-Dist: numpy==1.
|
|
33
|
-
Requires-Dist: pytest==8.
|
|
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"
|
|
34
35
|
Requires-Dist: pytest-cov==5.0.0; extra == "testing"
|
|
35
|
-
Requires-Dist: tox==4.
|
|
36
|
+
Requires-Dist: tox==4.21.2; extra == "testing"
|
|
36
37
|
|
|
37
|
-
[](https://www.python.org)
|
|
38
|
+
[](https://github.com/jakob-bagterp/timer-for-python/releases/latest)
|
|
39
|
+
[](https://www.python.org)
|
|
39
40
|
[](https://github.com/jakob-bagterp/timer-for-python/blob/master/LICENSE.md)
|
|
40
41
|
[](https://codecov.io/gh/jakob-bagterp/timer-for-python)
|
|
41
42
|
[](https://github.com/jakob-bagterp/timer-for-python/actions/workflows/codeql.yml)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[](https://www.python.org)
|
|
1
|
+
[](https://github.com/jakob-bagterp/timer-for-python/releases/latest)
|
|
2
|
+
[](https://www.python.org)
|
|
3
3
|
[](https://github.com/jakob-bagterp/timer-for-python/blob/master/LICENSE.md)
|
|
4
4
|
[](https://codecov.io/gh/jakob-bagterp/timer-for-python)
|
|
5
5
|
[](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
|
+
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.
|
|
39
|
+
colorist==1.8.0
|
|
39
40
|
install_requires =
|
|
40
|
-
colorist==1.
|
|
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.
|
|
47
|
-
flake8==7.
|
|
48
|
-
mypy==1.
|
|
49
|
-
numpy==1.
|
|
50
|
-
pytest==8.
|
|
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
|
|
51
52
|
pytest-cov==5.0.0
|
|
52
|
-
tox==4.
|
|
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
|
|
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
|
|
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,
|
|
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
|
+
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.
|
|
28
|
+
Requires-Dist: colorist==1.8.0
|
|
28
29
|
Provides-Extra: testing
|
|
29
|
-
Requires-Dist: coverage==7.
|
|
30
|
-
Requires-Dist: flake8==7.
|
|
31
|
-
Requires-Dist: mypy==1.
|
|
32
|
-
Requires-Dist: numpy==1.
|
|
33
|
-
Requires-Dist: pytest==8.
|
|
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"
|
|
34
35
|
Requires-Dist: pytest-cov==5.0.0; extra == "testing"
|
|
35
|
-
Requires-Dist: tox==4.
|
|
36
|
+
Requires-Dist: tox==4.21.2; extra == "testing"
|
|
36
37
|
|
|
37
|
-
[](https://www.python.org)
|
|
38
|
+
[](https://github.com/jakob-bagterp/timer-for-python/releases/latest)
|
|
39
|
+
[](https://www.python.org)
|
|
39
40
|
[](https://github.com/jakob-bagterp/timer-for-python/blob/master/LICENSE.md)
|
|
40
41
|
[](https://codecov.io/gh/jakob-bagterp/timer-for-python)
|
|
41
42
|
[](https://github.com/jakob-bagterp/timer-for-python/actions/workflows/codeql.yml)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{timer-for-python-0.7.3 → timer-for-python-0.7.4}/src/timer_for_python.egg-info/top_level.txt
RENAMED
|
File without changes
|