Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 4, 2021. It is now read-only.

Commit 44eb896

Browse files
committed
updates
1 parent 7ceb700 commit 44eb896

File tree

8 files changed

+62
-73
lines changed

8 files changed

+62
-73
lines changed

‎PyPiReadme.md‎

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# PythonDebugTools
2+
3+
*Pull requests and sugestions are welcome.*
4+
5+
## Getting Started
6+
7+
Helper tools to ease development.
8+
9+
### Tkinter
10+
All named colors in tkinter can be found in [colors.png](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/colors.png)
11+
12+
All custom colors in tkinter can be found in [colors.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/colors.py)
13+
14+
All themes in tkinter can be found in [TkinterThemes.jpg](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/TkinterThemes.jpg)
15+
16+
17+
### Debug
18+
19+
[console.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/console.py) has functions to format an object to the console, allowing for easier debug.
20+
21+
[converters.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/converters.py) has functions to convert any object to a dict.
22+
23+
[decorators.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/decorators.py) has functions to be used as decorators to make debug more efficent.
24+
25+
[chains.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/chains.py) has functions to be used as decorators, in certain cases, to make debug more efficent.
26+
27+
28+
29+
30+
## Installing
31+
32+
using pip3 or pip,
33+
34+
pip3 install PythonDebugTools
35+
36+
## Contributing
37+
38+
Please read [CONTRIBUTING.md](https://github.com/Jakar510/PythonDebugTools/tree/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
39+
40+
## Authors
41+
42+
* **Tyler Stegmaier** - *Initial work* - [Jakar510](https://github.com/Jakar510)
43+
44+
See also the list of [contributors](https://github.com/Jakar510/PythonDebugTools/blob/master/contributors.md) who participated in this project.
45+
46+
## License
47+
48+
This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE.md](https://github.com/Jakar510/PythonDebugTools/blob/master/LICENSE) file for details
49+
50+
## Acknowledgments
51+
52+
* [StackOverFlow Answer](https://stackoverflow.com/a/31485450/9530917)

‎requirements.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BaseExtensions

‎setup.py‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
1+
import importlib
12
import os
23

34
from setuptools import setup
45

6+
from BaseExtensions.Setup import GetRequirements, ReadFromFile
57
from src.PythonDebugTools import __author__, __classifiers__, __email__, __license__, __maintainer__, __maintainer_email__, __name__, __short_description__, __url__, __version__
68

79

810

911

10-
with open(os.path.abspath("requirements.txt"), "r") as f:
11-
install_requires = f.readlines()
12+
long_description = ReadFromFile(os.path.abspath("PyPiReadme.md"))
1213

13-
with open(os.path.abspath("README.md"), "r") as f:
14-
long_description = f.read()
15-
16-
data_files = [
17-
f'{__name__}/*.py'
18-
]
14+
install_requires = GetRequirements(os.path.abspath('./requirements.txt'))
1915

2016
setup(name=__name__,
2117
version=__version__,
2218
packages=[__name__],
2319
url=__url__,
24-
# download_url=f'https://github.com/Jakar510/PythonDebugTools/releases/tag/{version}',
2520
license=__license__ or 'GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007',
2621
author=__author__,
2722
author_email=__email__,
@@ -35,6 +30,6 @@
3530
keywords='switch switch-case case',
3631
package_dir={ __name__: f'src/{__name__}' },
3732
package_data={
38-
__name__: data_files,
33+
__name__: [f'{__name__}/*.py'],
3934
},
4035
)

‎src/PythonDebugTools/__init__.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from .console import *
55
from .converters import *
66
from .decorators import *
7-
from .misc import *
87

98

109

‎src/PythonDebugTools/__version__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ------------------------------------------------------------------------------
66

77
# major.minor[.maintenance]
8-
VERSION = (2, 1, 3)
8+
VERSION = (2, 2, 0)
99

1010
version = '.'.join(map(str, VERSION))
1111

‎src/PythonDebugTools/chains.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import functools
22
from typing import *
33

4+
from BaseExtensions.AutoCounter import AutoCounter
5+
46
from .console import *
5-
from .misc import AutoCounter
67

78

89

‎src/PythonDebugTools/decorators.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from tkinter import Event
44

55
from .console import *
6-
from .misc import RoundFloat
6+
from BaseExtensions.Helpers import RoundFloat
77

88

99

‎src/PythonDebugTools/misc.py‎

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /