log21 2.10.1__tar.gz → 2.10.2__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.
- {log21-2.10.1/src/log21.egg-info → log21-2.10.2}/PKG-INFO +30 -25
- {log21-2.10.1 → log21-2.10.2}/README.md +29 -24
- {log21-2.10.1 → log21-2.10.2}/pyproject.toml +1 -1
- {log21-2.10.1 → log21-2.10.2}/src/log21/__init__.py +1 -1
- {log21-2.10.1 → log21-2.10.2/src/log21.egg-info}/PKG-INFO +30 -25
- {log21-2.10.1 → log21-2.10.2}/LICENSE.txt +0 -0
- {log21-2.10.1 → log21-2.10.2}/setup.cfg +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/Argparse.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/Argumentify.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/Colors.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/CrashReporter/Formatters.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/CrashReporter/Reporters.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/CrashReporter/__init__.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/FileHandler.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/Formatters.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/Levels.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/Logger.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/LoggingWindow.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/Manager.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/PPrint.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/ProgressBar.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/StreamHandler.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21/TreePrint.py +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21.egg-info/SOURCES.txt +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21.egg-info/dependency_links.txt +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21.egg-info/requires.txt +0 -0
- {log21-2.10.1 → log21-2.10.2}/src/log21.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: log21
|
|
3
|
-
Version: 2.10.
|
|
3
|
+
Version: 2.10.2
|
|
4
4
|
Summary: A simple logging package that helps you log colorized messages in Windows console.
|
|
5
5
|
Author-email: "CodeWriter21(Mehrad Pooryoussof)" <CodeWriter21@gmail.com>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -38,30 +38,37 @@ log21
|
|
|
38
38
|

|
|
39
39
|
[](https://www.codefactor.io/repository/github/mpcodewriter21/log21)
|
|
40
40
|
|
|
41
|
-
A simple logging package that helps you log colorized messages in Windows console and
|
|
41
|
+
A simple logging package that helps you log colorized messages in Windows console and
|
|
42
|
+
other operating systems.
|
|
42
43
|
|
|
43
44
|
Features
|
|
44
45
|
--------
|
|
45
46
|
|
|
46
|
-
+ Colors : The main reason for this package was to log text in the Windows console with
|
|
47
|
-
|
|
48
|
-
+
|
|
49
|
-
|
|
50
|
-
+
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
+
|
|
47
|
+
+ Colors : The main reason for this package was to log text in the Windows console with
|
|
48
|
+
the support of ANSI colors.
|
|
49
|
+
+ Argument parsing : log21's argument parser can be used like python's argparse but it
|
|
50
|
+
also colorizes the output.
|
|
51
|
+
+ Logging : A similar logger to logging. Logger but with colorized output and other
|
|
52
|
+
options such as levelname modifications. It can also decolorize the output if you want
|
|
53
|
+
to log into a file.
|
|
54
|
+
+ Pretty printing : Have you ever wanted to colorize the output of the pprint module?
|
|
55
|
+
log21's pretty printer can do that.
|
|
56
|
+
+ Tree printing : You can pass a dict or list to `log21.tree_print` function and it will
|
|
57
|
+
print it in a tree-like structure. It's also colorized XD.
|
|
58
|
+
+ ProgressBar : log21's progress bar can be used to show progress of a process in a
|
|
59
|
+
beautiful way.
|
|
60
|
+
+ LoggingWindow : Helps you to log messages and debug your code in a window other than
|
|
61
|
+
the console.
|
|
56
62
|
+ CrashReporter : log21's crash reporter can be used to report crashes in different
|
|
57
63
|
ways. You can use it to log crashes to console or files or use it to receive crash
|
|
58
64
|
reports of your program through email. And you can also define your own crash
|
|
59
65
|
reporter functions and use them instead!
|
|
60
66
|
+ Argumentify : You can use the argumentify feature to decrease the number of lines you
|
|
61
67
|
need to write to parse command-line arguments. It's colored by the way!
|
|
62
|
-
+ Any idea? Feel free to [open an issue](https://github.com/MPCodeWriter21/log21/issues)
|
|
68
|
+
+ Any idea? Feel free to [open an issue](https://github.com/MPCodeWriter21/log21/issues)
|
|
69
|
+
or submit a pull request.
|
|
63
70
|
|
|
64
|
-

|
|
65
72
|

|
|
66
73
|
|
|
67
74
|
Installation
|
|
@@ -69,8 +76,8 @@ Installation
|
|
|
69
76
|
|
|
70
77
|
Well, this is a python package so the first thing you need is python.
|
|
71
78
|
|
|
72
|
-
If you don't have python installed, please visit [Python.org](https://python.org) and
|
|
73
|
-
python.
|
|
79
|
+
If you don't have python installed, please visit [Python.org](https://python.org) and
|
|
80
|
+
install the latest version of python.
|
|
74
81
|
|
|
75
82
|
Then you can install log21 using pip module:
|
|
76
83
|
|
|
@@ -85,6 +92,7 @@ pip install .
|
|
|
85
92
|
```
|
|
86
93
|
|
|
87
94
|
Or let the pip get it using git:
|
|
95
|
+
|
|
88
96
|
```bash
|
|
89
97
|
pip install git+https://github.com/MPCodeWriter21/log21
|
|
90
98
|
```
|
|
@@ -92,23 +100,20 @@ pip install git+https://github.com/MPCodeWriter21/log21
|
|
|
92
100
|
Changes
|
|
93
101
|
-------
|
|
94
102
|
|
|
95
|
-
### 2.10.
|
|
103
|
+
### 2.10.1
|
|
96
104
|
|
|
97
|
-
+
|
|
98
|
-
*parser error* to the user: `ArgumentError`, `IncompatibleArguments`,
|
|
99
|
-
`RequiredArgument`, `TooFewArguments`
|
|
105
|
+
+ Updated the Argparse module to be usable with python 3.12.3.
|
|
100
106
|
|
|
101
107
|
[Full CHANGELOG](https://github.com/MPCodeWriter21/log21/blob/master/CHANGELOG.md)
|
|
102
108
|
|
|
103
|
-
|
|
104
|
-
Usage Examples:
|
|
109
|
+
Usage Examples
|
|
105
110
|
---------------
|
|
106
111
|
|
|
107
112
|
See [EXAMPLES.md](https://github.com/MPCodeWriter21/log21/blob/master/EXAMPLES.md)
|
|
108
113
|
|
|
109
|
-
|
|
110
114
|
About
|
|
111
115
|
-----
|
|
116
|
+
|
|
112
117
|
Author: CodeWriter21 (Mehrad Pooryoussof)
|
|
113
118
|
|
|
114
119
|
GitHub: [MPCodeWriter21](https://github.com/MPCodeWriter21)
|
|
@@ -132,5 +137,5 @@ Or if you can't, give [this project](https://github.com/MPCodeWriter21/log21) a
|
|
|
132
137
|
References
|
|
133
138
|
----------
|
|
134
139
|
|
|
135
|
-
+ ANSI Color Codes (
|
|
136
|
-
|
|
140
|
+
+ ANSI Color Codes (Wikipedia):
|
|
141
|
+
[https://en.wikipedia.org/wiki/ANSI_escape_code](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors)
|
|
@@ -7,30 +7,37 @@ log21
|
|
|
7
7
|

|
|
8
8
|
[](https://www.codefactor.io/repository/github/mpcodewriter21/log21)
|
|
9
9
|
|
|
10
|
-
A simple logging package that helps you log colorized messages in Windows console and
|
|
10
|
+
A simple logging package that helps you log colorized messages in Windows console and
|
|
11
|
+
other operating systems.
|
|
11
12
|
|
|
12
13
|
Features
|
|
13
14
|
--------
|
|
14
15
|
|
|
15
|
-
+ Colors : The main reason for this package was to log text in the Windows console with
|
|
16
|
-
|
|
17
|
-
+
|
|
18
|
-
|
|
19
|
-
+
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
+
|
|
16
|
+
+ Colors : The main reason for this package was to log text in the Windows console with
|
|
17
|
+
the support of ANSI colors.
|
|
18
|
+
+ Argument parsing : log21's argument parser can be used like python's argparse but it
|
|
19
|
+
also colorizes the output.
|
|
20
|
+
+ Logging : A similar logger to logging. Logger but with colorized output and other
|
|
21
|
+
options such as levelname modifications. It can also decolorize the output if you want
|
|
22
|
+
to log into a file.
|
|
23
|
+
+ Pretty printing : Have you ever wanted to colorize the output of the pprint module?
|
|
24
|
+
log21's pretty printer can do that.
|
|
25
|
+
+ Tree printing : You can pass a dict or list to `log21.tree_print` function and it will
|
|
26
|
+
print it in a tree-like structure. It's also colorized XD.
|
|
27
|
+
+ ProgressBar : log21's progress bar can be used to show progress of a process in a
|
|
28
|
+
beautiful way.
|
|
29
|
+
+ LoggingWindow : Helps you to log messages and debug your code in a window other than
|
|
30
|
+
the console.
|
|
25
31
|
+ CrashReporter : log21's crash reporter can be used to report crashes in different
|
|
26
32
|
ways. You can use it to log crashes to console or files or use it to receive crash
|
|
27
33
|
reports of your program through email. And you can also define your own crash
|
|
28
34
|
reporter functions and use them instead!
|
|
29
35
|
+ Argumentify : You can use the argumentify feature to decrease the number of lines you
|
|
30
36
|
need to write to parse command-line arguments. It's colored by the way!
|
|
31
|
-
+ Any idea? Feel free to [open an issue](https://github.com/MPCodeWriter21/log21/issues)
|
|
37
|
+
+ Any idea? Feel free to [open an issue](https://github.com/MPCodeWriter21/log21/issues)
|
|
38
|
+
or submit a pull request.
|
|
32
39
|
|
|
33
|
-

|
|
34
41
|

|
|
35
42
|
|
|
36
43
|
Installation
|
|
@@ -38,8 +45,8 @@ Installation
|
|
|
38
45
|
|
|
39
46
|
Well, this is a python package so the first thing you need is python.
|
|
40
47
|
|
|
41
|
-
If you don't have python installed, please visit [Python.org](https://python.org) and
|
|
42
|
-
python.
|
|
48
|
+
If you don't have python installed, please visit [Python.org](https://python.org) and
|
|
49
|
+
install the latest version of python.
|
|
43
50
|
|
|
44
51
|
Then you can install log21 using pip module:
|
|
45
52
|
|
|
@@ -54,6 +61,7 @@ pip install .
|
|
|
54
61
|
```
|
|
55
62
|
|
|
56
63
|
Or let the pip get it using git:
|
|
64
|
+
|
|
57
65
|
```bash
|
|
58
66
|
pip install git+https://github.com/MPCodeWriter21/log21
|
|
59
67
|
```
|
|
@@ -61,23 +69,20 @@ pip install git+https://github.com/MPCodeWriter21/log21
|
|
|
61
69
|
Changes
|
|
62
70
|
-------
|
|
63
71
|
|
|
64
|
-
### 2.10.
|
|
72
|
+
### 2.10.1
|
|
65
73
|
|
|
66
|
-
+
|
|
67
|
-
*parser error* to the user: `ArgumentError`, `IncompatibleArguments`,
|
|
68
|
-
`RequiredArgument`, `TooFewArguments`
|
|
74
|
+
+ Updated the Argparse module to be usable with python 3.12.3.
|
|
69
75
|
|
|
70
76
|
[Full CHANGELOG](https://github.com/MPCodeWriter21/log21/blob/master/CHANGELOG.md)
|
|
71
77
|
|
|
72
|
-
|
|
73
|
-
Usage Examples:
|
|
78
|
+
Usage Examples
|
|
74
79
|
---------------
|
|
75
80
|
|
|
76
81
|
See [EXAMPLES.md](https://github.com/MPCodeWriter21/log21/blob/master/EXAMPLES.md)
|
|
77
82
|
|
|
78
|
-
|
|
79
83
|
About
|
|
80
84
|
-----
|
|
85
|
+
|
|
81
86
|
Author: CodeWriter21 (Mehrad Pooryoussof)
|
|
82
87
|
|
|
83
88
|
GitHub: [MPCodeWriter21](https://github.com/MPCodeWriter21)
|
|
@@ -101,5 +106,5 @@ Or if you can't, give [this project](https://github.com/MPCodeWriter21/log21) a
|
|
|
101
106
|
References
|
|
102
107
|
----------
|
|
103
108
|
|
|
104
|
-
+ ANSI Color Codes (
|
|
105
|
-
|
|
109
|
+
+ ANSI Color Codes (Wikipedia):
|
|
110
|
+
[https://en.wikipedia.org/wiki/ANSI_escape_code](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors)
|
|
@@ -24,7 +24,7 @@ from .LoggingWindow import LoggingWindow, LoggingWindowHandler
|
|
|
24
24
|
from .StreamHandler import StreamHandler, ColorizingStreamHandler
|
|
25
25
|
|
|
26
26
|
__author__ = 'CodeWriter21 (Mehrad Pooryoussof)'
|
|
27
|
-
__version__ = '2.10.
|
|
27
|
+
__version__ = '2.10.2'
|
|
28
28
|
__github__ = 'Https://GitHub.com/MPCodeWriter21/log21'
|
|
29
29
|
__all__ = [
|
|
30
30
|
'ColorizingStreamHandler', 'DecolorizingFileHandler', 'ColorizingFormatter',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: log21
|
|
3
|
-
Version: 2.10.
|
|
3
|
+
Version: 2.10.2
|
|
4
4
|
Summary: A simple logging package that helps you log colorized messages in Windows console.
|
|
5
5
|
Author-email: "CodeWriter21(Mehrad Pooryoussof)" <CodeWriter21@gmail.com>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -38,30 +38,37 @@ log21
|
|
|
38
38
|

|
|
39
39
|
[](https://www.codefactor.io/repository/github/mpcodewriter21/log21)
|
|
40
40
|
|
|
41
|
-
A simple logging package that helps you log colorized messages in Windows console and
|
|
41
|
+
A simple logging package that helps you log colorized messages in Windows console and
|
|
42
|
+
other operating systems.
|
|
42
43
|
|
|
43
44
|
Features
|
|
44
45
|
--------
|
|
45
46
|
|
|
46
|
-
+ Colors : The main reason for this package was to log text in the Windows console with
|
|
47
|
-
|
|
48
|
-
+
|
|
49
|
-
|
|
50
|
-
+
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
+
|
|
47
|
+
+ Colors : The main reason for this package was to log text in the Windows console with
|
|
48
|
+
the support of ANSI colors.
|
|
49
|
+
+ Argument parsing : log21's argument parser can be used like python's argparse but it
|
|
50
|
+
also colorizes the output.
|
|
51
|
+
+ Logging : A similar logger to logging. Logger but with colorized output and other
|
|
52
|
+
options such as levelname modifications. It can also decolorize the output if you want
|
|
53
|
+
to log into a file.
|
|
54
|
+
+ Pretty printing : Have you ever wanted to colorize the output of the pprint module?
|
|
55
|
+
log21's pretty printer can do that.
|
|
56
|
+
+ Tree printing : You can pass a dict or list to `log21.tree_print` function and it will
|
|
57
|
+
print it in a tree-like structure. It's also colorized XD.
|
|
58
|
+
+ ProgressBar : log21's progress bar can be used to show progress of a process in a
|
|
59
|
+
beautiful way.
|
|
60
|
+
+ LoggingWindow : Helps you to log messages and debug your code in a window other than
|
|
61
|
+
the console.
|
|
56
62
|
+ CrashReporter : log21's crash reporter can be used to report crashes in different
|
|
57
63
|
ways. You can use it to log crashes to console or files or use it to receive crash
|
|
58
64
|
reports of your program through email. And you can also define your own crash
|
|
59
65
|
reporter functions and use them instead!
|
|
60
66
|
+ Argumentify : You can use the argumentify feature to decrease the number of lines you
|
|
61
67
|
need to write to parse command-line arguments. It's colored by the way!
|
|
62
|
-
+ Any idea? Feel free to [open an issue](https://github.com/MPCodeWriter21/log21/issues)
|
|
68
|
+
+ Any idea? Feel free to [open an issue](https://github.com/MPCodeWriter21/log21/issues)
|
|
69
|
+
or submit a pull request.
|
|
63
70
|
|
|
64
|
-

|
|
65
72
|

|
|
66
73
|
|
|
67
74
|
Installation
|
|
@@ -69,8 +76,8 @@ Installation
|
|
|
69
76
|
|
|
70
77
|
Well, this is a python package so the first thing you need is python.
|
|
71
78
|
|
|
72
|
-
If you don't have python installed, please visit [Python.org](https://python.org) and
|
|
73
|
-
python.
|
|
79
|
+
If you don't have python installed, please visit [Python.org](https://python.org) and
|
|
80
|
+
install the latest version of python.
|
|
74
81
|
|
|
75
82
|
Then you can install log21 using pip module:
|
|
76
83
|
|
|
@@ -85,6 +92,7 @@ pip install .
|
|
|
85
92
|
```
|
|
86
93
|
|
|
87
94
|
Or let the pip get it using git:
|
|
95
|
+
|
|
88
96
|
```bash
|
|
89
97
|
pip install git+https://github.com/MPCodeWriter21/log21
|
|
90
98
|
```
|
|
@@ -92,23 +100,20 @@ pip install git+https://github.com/MPCodeWriter21/log21
|
|
|
92
100
|
Changes
|
|
93
101
|
-------
|
|
94
102
|
|
|
95
|
-
### 2.10.
|
|
103
|
+
### 2.10.1
|
|
96
104
|
|
|
97
|
-
+
|
|
98
|
-
*parser error* to the user: `ArgumentError`, `IncompatibleArguments`,
|
|
99
|
-
`RequiredArgument`, `TooFewArguments`
|
|
105
|
+
+ Updated the Argparse module to be usable with python 3.12.3.
|
|
100
106
|
|
|
101
107
|
[Full CHANGELOG](https://github.com/MPCodeWriter21/log21/blob/master/CHANGELOG.md)
|
|
102
108
|
|
|
103
|
-
|
|
104
|
-
Usage Examples:
|
|
109
|
+
Usage Examples
|
|
105
110
|
---------------
|
|
106
111
|
|
|
107
112
|
See [EXAMPLES.md](https://github.com/MPCodeWriter21/log21/blob/master/EXAMPLES.md)
|
|
108
113
|
|
|
109
|
-
|
|
110
114
|
About
|
|
111
115
|
-----
|
|
116
|
+
|
|
112
117
|
Author: CodeWriter21 (Mehrad Pooryoussof)
|
|
113
118
|
|
|
114
119
|
GitHub: [MPCodeWriter21](https://github.com/MPCodeWriter21)
|
|
@@ -132,5 +137,5 @@ Or if you can't, give [this project](https://github.com/MPCodeWriter21/log21) a
|
|
|
132
137
|
References
|
|
133
138
|
----------
|
|
134
139
|
|
|
135
|
-
+ ANSI Color Codes (
|
|
136
|
-
|
|
140
|
+
+ ANSI Color Codes (Wikipedia):
|
|
141
|
+
[https://en.wikipedia.org/wiki/ANSI_escape_code](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors)
|
|
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
|