pytimer 0.0.15__tar.gz → 0.0.16__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.
pytimer-0.0.16/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Mark Veltzer
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.
@@ -1,32 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytimer
3
- Version: 0.0.15
3
+ Version: 0.0.16
4
4
  Summary: pytimer is an easy to use timer
5
5
  Home-page: https://veltzer.github.io/pytimer
6
+ Download-URL: https://github.com/veltzer/pytimer
6
7
  Author: Mark Veltzer
7
8
  Author-email: mark.veltzer@gmail.com
8
9
  Maintainer: Mark Veltzer
9
10
  Maintainer-email: mark.veltzer@gmail.com
10
11
  License: MIT
11
- Download-URL: https://github.com/veltzer/pytimer
12
- Description: =========
13
- *pytimer*
14
- =========
15
-
16
- .. image:: https://img.shields.io/pypi/v/pytimer
17
-
18
- .. image:: https://img.shields.io/github/license/veltzer/pytimer
19
-
20
- .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
21
-
22
- project website: https://veltzer.github.io/pytimer
23
-
24
- author: Mark Veltzer
25
-
26
- version: 0.0.15
27
-
28
-
29
-
30
12
  Keywords: python,timing,time,context,manager,utility
31
13
  Platform: python3
32
14
  Classifier: Development Status :: 4 - Beta
@@ -35,10 +17,26 @@ Classifier: Operating System :: OS Independent
35
17
  Classifier: Programming Language :: Python
36
18
  Classifier: Programming Language :: Python :: 3
37
19
  Classifier: Programming Language :: Python :: 3 :: Only
38
- Classifier: Programming Language :: Python :: 3.6
39
- Classifier: Programming Language :: Python :: 3.7
40
- Classifier: Programming Language :: Python :: 3.8
20
+ Classifier: Programming Language :: Python :: 3.11
41
21
  Classifier: Topic :: Utilities
42
22
  Classifier: License :: OSI Approved :: MIT License
43
- Requires-Python: >=3.6
44
23
  Description-Content-Type: text/x-rst
24
+ License-File: LICENSE
25
+
26
+ =========
27
+ *pytimer*
28
+ =========
29
+
30
+ .. image:: https://img.shields.io/pypi/v/pytimer
31
+
32
+ .. image:: https://img.shields.io/github/license/veltzer/pytimer
33
+
34
+ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
35
+
36
+ project website: https://veltzer.github.io/pytimer
37
+
38
+ author: Mark Veltzer
39
+
40
+ version: 0.0.16
41
+
42
+ Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024
@@ -12,6 +12,6 @@ project website: https://veltzer.github.io/pytimer
12
12
 
13
13
  author: Mark Veltzer
14
14
 
15
- version: 0.0.15
16
-
15
+ version: 0.0.16
17
16
 
17
+ Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024
@@ -16,6 +16,6 @@ class Timer:
16
16
  diff = self.end_time - self.start_time
17
17
  if self.print:
18
18
  if self.title:
19
- print('time taken for [{title}]: {diff:.6f} seconds'.format(title=self.title, diff=diff))
19
+ print(f"time taken for [{self.title}]: {diff:.6f} seconds")
20
20
  else:
21
- print('time taken: {diff:.6f} seconds'.format(diff=diff))
21
+ print(f"time taken: {diff:.6f} seconds")
@@ -1,4 +1,5 @@
1
1
  """ version which can be consumed from within the module """
2
- VERSION_STR = "0.0.15"
2
+ VERSION_STR = "0.0.16"
3
3
  DESCRIPTION = "pytimer is an easy to use timer"
4
4
  APP_NAME = "pytimer"
5
+ LOGGER_NAME = "pytimer"
@@ -1,32 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytimer
3
- Version: 0.0.15
3
+ Version: 0.0.16
4
4
  Summary: pytimer is an easy to use timer
5
5
  Home-page: https://veltzer.github.io/pytimer
6
+ Download-URL: https://github.com/veltzer/pytimer
6
7
  Author: Mark Veltzer
7
8
  Author-email: mark.veltzer@gmail.com
8
9
  Maintainer: Mark Veltzer
9
10
  Maintainer-email: mark.veltzer@gmail.com
10
11
  License: MIT
11
- Download-URL: https://github.com/veltzer/pytimer
12
- Description: =========
13
- *pytimer*
14
- =========
15
-
16
- .. image:: https://img.shields.io/pypi/v/pytimer
17
-
18
- .. image:: https://img.shields.io/github/license/veltzer/pytimer
19
-
20
- .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
21
-
22
- project website: https://veltzer.github.io/pytimer
23
-
24
- author: Mark Veltzer
25
-
26
- version: 0.0.15
27
-
28
-
29
-
30
12
  Keywords: python,timing,time,context,manager,utility
31
13
  Platform: python3
32
14
  Classifier: Development Status :: 4 - Beta
@@ -35,10 +17,26 @@ Classifier: Operating System :: OS Independent
35
17
  Classifier: Programming Language :: Python
36
18
  Classifier: Programming Language :: Python :: 3
37
19
  Classifier: Programming Language :: Python :: 3 :: Only
38
- Classifier: Programming Language :: Python :: 3.6
39
- Classifier: Programming Language :: Python :: 3.7
40
- Classifier: Programming Language :: Python :: 3.8
20
+ Classifier: Programming Language :: Python :: 3.11
41
21
  Classifier: Topic :: Utilities
42
22
  Classifier: License :: OSI Approved :: MIT License
43
- Requires-Python: >=3.6
44
23
  Description-Content-Type: text/x-rst
24
+ License-File: LICENSE
25
+
26
+ =========
27
+ *pytimer*
28
+ =========
29
+
30
+ .. image:: https://img.shields.io/pypi/v/pytimer
31
+
32
+ .. image:: https://img.shields.io/github/license/veltzer/pytimer
33
+
34
+ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
35
+
36
+ project website: https://veltzer.github.io/pytimer
37
+
38
+ author: Mark Veltzer
39
+
40
+ version: 0.0.16
41
+
42
+ Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024
@@ -1,4 +1,4 @@
1
- MANIFEST.in
1
+ LICENSE
2
2
  README.rst
3
3
  setup.cfg
4
4
  setup.py
@@ -8,6 +8,4 @@ pytimer/static.py
8
8
  pytimer.egg-info/PKG-INFO
9
9
  pytimer.egg-info/SOURCES.txt
10
10
  pytimer.egg-info/dependency_links.txt
11
- pytimer.egg-info/entry_points.txt
12
- pytimer.egg-info/requires.txt
13
11
  pytimer.egg-info/top_level.txt
@@ -1,6 +1,9 @@
1
1
  [bdist_wheel]
2
2
  universal = 0
3
3
 
4
+ [pycodestyle]
5
+ max-line-length = 130
6
+
4
7
  [egg_info]
5
8
  tag_build =
6
9
  tag_date = 0
@@ -0,0 +1,51 @@
1
+ import setuptools
2
+
3
+
4
+ def get_readme():
5
+ with open("README.rst") as f:
6
+ return f.read()
7
+
8
+
9
+ setuptools.setup(
10
+ # the first three fields are a must according to the documentation
11
+ name="pytimer",
12
+ version="0.0.16",
13
+ packages=[
14
+ "pytimer",
15
+ ],
16
+ # from here all is optional
17
+ description="pytimer is an easy to use timer",
18
+ long_description=get_readme(),
19
+ long_description_content_type="text/x-rst",
20
+ author="Mark Veltzer",
21
+ author_email="mark.veltzer@gmail.com",
22
+ maintainer="Mark Veltzer",
23
+ maintainer_email="mark.veltzer@gmail.com",
24
+ keywords=[
25
+ "python",
26
+ "timing",
27
+ "time",
28
+ "context",
29
+ "manager",
30
+ "utility",
31
+ ],
32
+ url="https://veltzer.github.io/pytimer",
33
+ download_url="https://github.com/veltzer/pytimer",
34
+ license="MIT",
35
+ platforms=[
36
+ "python3",
37
+ ],
38
+ install_requires=[
39
+ ],
40
+ classifiers=[
41
+ "Development Status :: 4 - Beta",
42
+ "Environment :: Console",
43
+ "Operating System :: OS Independent",
44
+ "Programming Language :: Python",
45
+ "Programming Language :: Python :: 3",
46
+ "Programming Language :: Python :: 3 :: Only",
47
+ "Programming Language :: Python :: 3.11",
48
+ "Topic :: Utilities",
49
+ "License :: OSI Approved :: MIT License",
50
+ ],
51
+ )
@@ -1,2 +0,0 @@
1
- prune config
2
- prune tests
@@ -1,3 +0,0 @@
1
- [console_scripts]
2
-
3
-
@@ -1,2 +0,0 @@
1
- pylogconf
2
- pytconf
pytimer-0.0.15/setup.py DELETED
@@ -1,62 +0,0 @@
1
- import setuptools
2
-
3
-
4
- def get_readme():
5
- with open('README.rst') as f:
6
- return f.read()
7
-
8
-
9
- setuptools.setup(
10
- # the first three fields are a must according to the documentation
11
- name="pytimer",
12
- version="0.0.15",
13
- packages=[
14
- 'pytimer',
15
- ],
16
- # from here all is optional
17
- description="pytimer is an easy to use timer",
18
- long_description=get_readme(),
19
- long_description_content_type="text/x-rst",
20
- author="Mark Veltzer",
21
- author_email="mark.veltzer@gmail.com",
22
- maintainer="Mark Veltzer",
23
- maintainer_email="mark.veltzer@gmail.com",
24
- keywords=[
25
- 'python',
26
- 'timing',
27
- 'time',
28
- 'context',
29
- 'manager',
30
- 'utility',
31
- ],
32
- url="https://veltzer.github.io/pytimer",
33
- download_url="https://github.com/veltzer/pytimer",
34
- license="MIT",
35
- platforms=[
36
- 'python3',
37
- ],
38
- install_requires=[
39
- 'pytconf',
40
- 'pylogconf',
41
- ],
42
- extras_require={
43
- },
44
- classifiers=[
45
- 'Development Status :: 4 - Beta',
46
- 'Environment :: Console',
47
- 'Operating System :: OS Independent',
48
- 'Programming Language :: Python',
49
- 'Programming Language :: Python :: 3',
50
- 'Programming Language :: Python :: 3 :: Only',
51
- 'Programming Language :: Python :: 3.6',
52
- 'Programming Language :: Python :: 3.7',
53
- 'Programming Language :: Python :: 3.8',
54
- 'Topic :: Utilities',
55
- 'License :: OSI Approved :: MIT License',
56
- ],
57
- data_files=[
58
- ],
59
- entry_points={"console_scripts": [
60
- ]},
61
- python_requires=">=3.6",
62
- )
File without changes