You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,21 @@
15
15
# <br><b>Changelog</b><br>
16
16
17
17
18
+
<spanid="v1-9-1" />
19
+
20
+
## 26.11.2025 `v1.9.1`
21
+
* Unified the module and class docstring styles throughout the whole library.
22
+
* Moved the Protocol `ProgressUpdater` from the `console` module to the `types` module.
23
+
* Added throttling to the `ProgressBar` update methods to impact the actual process' performance as little as possible.
24
+
* Added a new class `Spinner` to the `console` module, which is used to display a spinner animation in the console during an ongoing process.
25
+
26
+
**BREAKING CHANGES:**
27
+
* Made the value input into the params `bar_format` and `limited_bar_format` of `ProgressBar` be a list/tuple of strings instead of a single string, so the user can define multiple formats for different console widths.
28
+
* Added a new param <code>sep: *str* = " "</code> to the `ProgressBar` class, which is used to join multiple bar-format strings.
29
+
* Renamed the class property `Console.wh` to `Console.size`, since it describes the property better.
30
+
* Renamed the class property `Console.usr` to `Console.user`, since it describes the property better.
31
+
* Added missing type checking to methods in the `path` module.
Copy file name to clipboardExpand all lines: README.md
+98-21Lines changed: 98 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,14 @@ When the library is installed, the following commands are available in the conso
42
42
43
43
## Usage
44
44
45
-
Import the full library under the alias `xx`, so its constants, classes, methods, and types are accessible with `xx.CONSTANT.value`, `xx.Class.method()`, `xx.type()`:
45
+
Import the full library under the alias `xx`, so its modules and main classes are accessible with `xx.module.Class`, `xx.MainClass.method()`:
46
46
```python
47
47
import xulbux as xx
48
48
```
49
+
49
50
So you don't have to import the full library under an alias, you can also import only certain parts of the library's contents:
50
51
```python
51
-
# LIBRARY CONSTANTS
52
+
# LIBRARY SUB MODULES
52
53
from xulbux.base.consts importCOLOR, CHARS, ANSI
53
54
# Main Classes
54
55
from xulbux import Code, Color, Console, ...
@@ -60,21 +61,96 @@ from xulbux.color import rgba, hsla, hexa
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/base)| includes more modules like library constants |
66
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/code)| advanced code-string operations (*changing the indent, finding function calls, ...*) |
67
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/color)| everything around colors (*converting, blending, searching colors in strings, ...*) |
68
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/console)| advanced actions related to the console (*pretty logging, advanced inputs, ...*) |
69
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/data)| advanced operations with data structures (*compare, generate path IDs, pretty print, ...*) |
70
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/env_path)| getting and editing the PATH variable (*get paths, check for paths, add paths, ...*) |
71
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/file)| advanced working with files (*create files, rename file-extensions, ...*) |
72
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/format_codes)| easy pretty printing using custom format codes (*print, inputs, format codes to ANSI, ...*) |
73
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/json)| advanced working with json files (*read, create, update, ...*) |
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/regex)| generated regex pattern-templates (*match bracket- and quote pairs, match colors, ...*) |
76
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/string)| helpful actions when working with strings. (*normalize, escape, decompose, ...*) |
77
-
|[](https://github.com/XulbuX/PythonLibraryXulbuX/wiki/system)| advanced system actions (*restart with message, check installed Python libs, ...*) |
0 commit comments