speed-tester-pro 1.0.0__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.
- speed_tester_pro-1.0.0/LICENSE +21 -0
- speed_tester_pro-1.0.0/PKG-INFO +70 -0
- speed_tester_pro-1.0.0/README.md +44 -0
- speed_tester_pro-1.0.0/setup.cfg +4 -0
- speed_tester_pro-1.0.0/setup.py +25 -0
- speed_tester_pro-1.0.0/speed_tester_pro.egg-info/PKG-INFO +70 -0
- speed_tester_pro-1.0.0/speed_tester_pro.egg-info/SOURCES.txt +7 -0
- speed_tester_pro-1.0.0/speed_tester_pro.egg-info/dependency_links.txt +1 -0
- speed_tester_pro-1.0.0/speed_tester_pro.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Muhammad Mohsin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: speed-tester-pro
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A lightweight and elegant decorator to profile Python function execution time.
|
|
5
|
+
Home-page: https://github.com/MuhammadMohsin/speed-tester-pro
|
|
6
|
+
Author: Muhammad Mohsin
|
|
7
|
+
Author-email: muhammad.mohsin.developer@gmail.com
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Topic :: Software Development :: Testing
|
|
14
|
+
Requires-Python: >=3.6
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: author-email
|
|
19
|
+
Dynamic: classifier
|
|
20
|
+
Dynamic: description
|
|
21
|
+
Dynamic: description-content-type
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
Dynamic: requires-python
|
|
25
|
+
Dynamic: summary
|
|
26
|
+
|
|
27
|
+
# ⚡ Speed Tester Pro
|
|
28
|
+
|
|
29
|
+
[](https://pypi.org/project/speed-tester-pro/)
|
|
30
|
+
[](https://opensource.org/licenses/MIT)
|
|
31
|
+
[](https://pypi.org/project/speed-tester-pro/)
|
|
32
|
+
|
|
33
|
+
A highly lightweight, zero-dependency Python decorator to monitor and profile the execution time of your functions instantly. Developed for engineers who need quick performance insights without heavy setups.
|
|
34
|
+
|
|
35
|
+
## 🚀 Installation
|
|
36
|
+
|
|
37
|
+
Install the package directly via pip:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install speed-tester-pro
|
|
41
|
+
💻 Quick Start
|
|
42
|
+
Simply import the decorator and place it above any function you want to profile.
|
|
43
|
+
|
|
44
|
+
Python
|
|
45
|
+
from speed_tester_pro import check_speed
|
|
46
|
+
import time
|
|
47
|
+
|
|
48
|
+
@check_speed
|
|
49
|
+
def fetch_database_records():
|
|
50
|
+
# Simulating a heavy database query
|
|
51
|
+
print("Fetching records...")
|
|
52
|
+
time.sleep(1.2)
|
|
53
|
+
return "Records loaded!"
|
|
54
|
+
|
|
55
|
+
# Call your function as usual
|
|
56
|
+
fetch_database_records()
|
|
57
|
+
Console Output:
|
|
58
|
+
|
|
59
|
+
Plaintext
|
|
60
|
+
Fetching records...
|
|
61
|
+
⏱️ [Speed Test] 'fetch_database_records' executed in 1.2001 seconds.
|
|
62
|
+
✨ Features
|
|
63
|
+
Zero Dependencies: Built entirely with Python's standard library.
|
|
64
|
+
|
|
65
|
+
Plug & Play: Requires only a single line of code (@check_speed).
|
|
66
|
+
|
|
67
|
+
Non-Intrusive: Returns your function's original output without modifying its behavior.
|
|
68
|
+
|
|
69
|
+
📄 License
|
|
70
|
+
This project is MIT licensed. Copyright (c) 2026 Muhammad Mohsin.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# ⚡ Speed Tester Pro
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/speed-tester-pro/)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
[](https://pypi.org/project/speed-tester-pro/)
|
|
6
|
+
|
|
7
|
+
A highly lightweight, zero-dependency Python decorator to monitor and profile the execution time of your functions instantly. Developed for engineers who need quick performance insights without heavy setups.
|
|
8
|
+
|
|
9
|
+
## 🚀 Installation
|
|
10
|
+
|
|
11
|
+
Install the package directly via pip:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pip install speed-tester-pro
|
|
15
|
+
💻 Quick Start
|
|
16
|
+
Simply import the decorator and place it above any function you want to profile.
|
|
17
|
+
|
|
18
|
+
Python
|
|
19
|
+
from speed_tester_pro import check_speed
|
|
20
|
+
import time
|
|
21
|
+
|
|
22
|
+
@check_speed
|
|
23
|
+
def fetch_database_records():
|
|
24
|
+
# Simulating a heavy database query
|
|
25
|
+
print("Fetching records...")
|
|
26
|
+
time.sleep(1.2)
|
|
27
|
+
return "Records loaded!"
|
|
28
|
+
|
|
29
|
+
# Call your function as usual
|
|
30
|
+
fetch_database_records()
|
|
31
|
+
Console Output:
|
|
32
|
+
|
|
33
|
+
Plaintext
|
|
34
|
+
Fetching records...
|
|
35
|
+
⏱️ [Speed Test] 'fetch_database_records' executed in 1.2001 seconds.
|
|
36
|
+
✨ Features
|
|
37
|
+
Zero Dependencies: Built entirely with Python's standard library.
|
|
38
|
+
|
|
39
|
+
Plug & Play: Requires only a single line of code (@check_speed).
|
|
40
|
+
|
|
41
|
+
Non-Intrusive: Returns your function's original output without modifying its behavior.
|
|
42
|
+
|
|
43
|
+
📄 License
|
|
44
|
+
This project is MIT licensed. Copyright (c) 2026 Muhammad Mohsin.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
with open("README.md", "r", encoding="utf-8") as fh:
|
|
4
|
+
long_description = fh.read()
|
|
5
|
+
|
|
6
|
+
setup(
|
|
7
|
+
name="speed-tester-pro",
|
|
8
|
+
version="1.0.0",
|
|
9
|
+
author="Muhammad Mohsin",
|
|
10
|
+
author_email="muhammad.mohsin.developer@gmail.com",
|
|
11
|
+
description="A lightweight and elegant decorator to profile Python function execution time.",
|
|
12
|
+
long_description=long_description,
|
|
13
|
+
long_description_content_type="text/markdown",
|
|
14
|
+
url="https://github.com/MuhammadMohsin/speed-tester-pro",
|
|
15
|
+
packages=find_packages(),
|
|
16
|
+
classifiers=[
|
|
17
|
+
"Development Status :: 5 - Production/Stable",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Topic :: Software Development :: Testing",
|
|
23
|
+
],
|
|
24
|
+
python_requires='>=3.6',
|
|
25
|
+
)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: speed-tester-pro
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A lightweight and elegant decorator to profile Python function execution time.
|
|
5
|
+
Home-page: https://github.com/MuhammadMohsin/speed-tester-pro
|
|
6
|
+
Author: Muhammad Mohsin
|
|
7
|
+
Author-email: muhammad.mohsin.developer@gmail.com
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Topic :: Software Development :: Testing
|
|
14
|
+
Requires-Python: >=3.6
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: author-email
|
|
19
|
+
Dynamic: classifier
|
|
20
|
+
Dynamic: description
|
|
21
|
+
Dynamic: description-content-type
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
Dynamic: requires-python
|
|
25
|
+
Dynamic: summary
|
|
26
|
+
|
|
27
|
+
# ⚡ Speed Tester Pro
|
|
28
|
+
|
|
29
|
+
[](https://pypi.org/project/speed-tester-pro/)
|
|
30
|
+
[](https://opensource.org/licenses/MIT)
|
|
31
|
+
[](https://pypi.org/project/speed-tester-pro/)
|
|
32
|
+
|
|
33
|
+
A highly lightweight, zero-dependency Python decorator to monitor and profile the execution time of your functions instantly. Developed for engineers who need quick performance insights without heavy setups.
|
|
34
|
+
|
|
35
|
+
## 🚀 Installation
|
|
36
|
+
|
|
37
|
+
Install the package directly via pip:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install speed-tester-pro
|
|
41
|
+
💻 Quick Start
|
|
42
|
+
Simply import the decorator and place it above any function you want to profile.
|
|
43
|
+
|
|
44
|
+
Python
|
|
45
|
+
from speed_tester_pro import check_speed
|
|
46
|
+
import time
|
|
47
|
+
|
|
48
|
+
@check_speed
|
|
49
|
+
def fetch_database_records():
|
|
50
|
+
# Simulating a heavy database query
|
|
51
|
+
print("Fetching records...")
|
|
52
|
+
time.sleep(1.2)
|
|
53
|
+
return "Records loaded!"
|
|
54
|
+
|
|
55
|
+
# Call your function as usual
|
|
56
|
+
fetch_database_records()
|
|
57
|
+
Console Output:
|
|
58
|
+
|
|
59
|
+
Plaintext
|
|
60
|
+
Fetching records...
|
|
61
|
+
⏱️ [Speed Test] 'fetch_database_records' executed in 1.2001 seconds.
|
|
62
|
+
✨ Features
|
|
63
|
+
Zero Dependencies: Built entirely with Python's standard library.
|
|
64
|
+
|
|
65
|
+
Plug & Play: Requires only a single line of code (@check_speed).
|
|
66
|
+
|
|
67
|
+
Non-Intrusive: Returns your function's original output without modifying its behavior.
|
|
68
|
+
|
|
69
|
+
📄 License
|
|
70
|
+
This project is MIT licensed. Copyright (c) 2026 Muhammad Mohsin.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|