Clemens Schwaighofer
dc7e56106e
v0.42.0: Move text colors to external lib and depreacte the ones in corelibs collection
2025-11-20 11:05:34 +09:00
Clemens Schwaighofer
90e5179980
Remove text color handling from corelibs and use corelibs_text_colors instead
...
Also update enum with proper pyi file for deprecation warnings
2025-11-20 10:59:44 +09:00
Clemens Schwaighofer
9db39003c4
v0.41.0: settings parsers, make arguments override no longer automatic
2025-11-20 10:11:41 +09:00
Clemens Schwaighofer
a00c27c465
v0.40.0: Fix for settings loader with arguments
2025-11-19 19:03:35 +09:00
Clemens Schwaighofer
baca79ce82
v0.39.2: [Fix] Skip Log format update if it did not change
2025-11-19 17:45:50 +09:00
Clemens Schwaighofer
c16b086467
v0.39.1: Skip Log format update if it did not change
2025-11-19 17:44:44 +09:00
Clemens Schwaighofer
0ad8883809
v0.39.0: Add Log LEVEL flag for console format
2025-11-19 17:37:00 +09:00
Clemens Schwaighofer
0d3104f60a
v0.38.0: Log console format update
2025-11-19 15:45:49 +09:00
Clemens Schwaighofer
282fe1f7c0
v0.37.0: Log add from lookup for strings in Console config, move var helpers, datetime, enum to stand alone libs
2025-11-19 13:48:29 +09:00
Clemens Schwaighofer
06a17d7c30
Switch datetime handling, var handling to corelibs libraries
...
Use external corelib libraries for datetime handling and var handling enum base.
2025-11-19 13:13:32 +09:00
Clemens Schwaighofer
af7633183c
v0.36.0: Log console format settings with bitwise mask
2025-11-19 11:31:50 +09:00
Clemens Schwaighofer
2e0b1f5951
v0.35.2: Sync miss for Log file format change
2025-11-18 15:55:49 +09:00
Clemens Schwaighofer
ad99115544
v0.35.1: Log move pid into path name block, remove double filename
2025-11-18 15:51:29 +09:00
Clemens Schwaighofer
7f2dc13c31
v0.35.0: Logging update with output format settings for console logging
2025-11-18 15:37:13 +09:00
Clemens Schwaighofer
037210756e
v0.34.0: add BOM check for files
2025-11-06 18:22:45 +09:00
Clemens Schwaighofer
0e6331fa6a
v0.33.0: datetime parsing update
2025-11-06 13:26:07 +09:00
Clemens Schwaighofer
0981c74da9
v0.32.0: add email sending
2025-10-27 11:22:11 +09:00
Clemens Schwaighofer
cd06272b38
v0.31.1: fix dict_helper file name to dict_helpers
2025-10-27 10:42:45 +09:00
Clemens Schwaighofer
0da4a6b70a
v0.31.0: Add tests, move files to final location
2025-10-27 10:29:47 +09:00
Clemens Schwaighofer
1226721bc0
v0.30.0: add datetime and timestamp handling
2025-10-24 10:07:28 +09:00
Clemens Schwaighofer
bf83c1c394
v0.29.0: Add SQLite IO class
2025-10-23 15:24:17 +09:00
Clemens Schwaighofer
6edf9398b7
v0.28.0: Enum base class added
2025-10-23 13:48:57 +09:00
Clemens Schwaighofer
0b59f3cc7a
v0.27.0: add json replace content method
2025-10-23 13:22:19 +09:00
Clemens Schwaighofer
2544fad9ce
Add json helper function json_replace
...
Function can replace content for a json path string in a dictionary
2025-10-23 13:20:40 +09:00
Clemens Schwaighofer
e579ef5834
v0.26.0: Add Symmetric Encryption
2025-10-23 11:48:52 +09:00
Clemens Schwaighofer
543e9766a1
Add symmetric encryption and tests
2025-10-23 11:47:41 +09:00
Clemens Schwaighofer
dadc14563a
jmespath search check update
2025-10-09 16:42:41 +09:00
Clemens Schwaighofer
78ce30283e
Version update in uv.lock (merge from master)
2025-10-08 15:58:58 +09:00
Clemens Schwaighofer
7c5af588c7
Update the TimestampStrings zone info handling
...
time_zone is the string version of the time zone data
time_zone_zi is the ZoneInfo object of above
2025-09-25 15:53:26 +09:00
Clemens Schwaighofer
bb60a570d0
Change the TimestampStrings check to check for str instead of not ZoneInfo.
...
This fixes the pytest problem which threw:
TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union
during Mocking
2025-09-25 15:36:47 +09:00
Clemens Schwaighofer
38bae7fb46
TimestampStrings allows ZoneInfo object as time_zone parameter
...
So we can use pre-parsed data
Some tests for parsing settings, timestamp output
2025-09-25 15:14:40 +09:00
Clemens Schwaighofer
b32887a6d8
Add time in seconds convert to human readable format
2025-09-19 09:57:51 +09:00
Clemens Schwaighofer
74cb3d2c54
dump_data and new json_dumps
...
dump_data adds flag to dump without indent
json_dumps is dump_data like, but will be geared towards secure dump of dict to json for strage
2025-09-03 18:14:26 +09:00
Clemens Schwaighofer
f8ae6609c7
Allow empty config settings for settings loader if only loading is needed
2025-08-26 14:38:55 +09:00
Clemens Schwaighofer
f8905a176c
Fix settings loader
...
Remove all class vars for vars that are only used in the loader itsef
- entry_split_char
- entry_convert
- entry_set_empty
The self.settings varr was never used, removed
The config file path exists check is moved to the config data loader
The internal _check_settings_abort is now __check_settings_abort to make it private
lock file updates
2025-08-26 14:29:52 +09:00
Clemens Schwaighofer
60db747d6d
More fixes for the queue clean up
...
Changed that we call stop_listener and not _cleanup on exit
Then call _cleanup from the stop listener
We only need that if we have listeners (queue) anyway
2025-08-05 13:22:54 +09:00
Clemens Schwaighofer
80319385f0
Add Log exist queue clean up if queue is set
...
to avoid hung threads on errors
2025-08-05 10:32:33 +09:00
Clemens Schwaighofer
2f08ecabbf
For convert time string, skip convert if incoming value is a number of any type
...
Any float number will be rounded, and everything that is any kind of number will be then converted to int and returned
The rest will be converted to string and normal convert is run
2025-07-29 09:29:38 +09:00
Clemens Schwaighofer
4f9c2b9d5f
Add exception stack caller and add this to the logger exception call
...
So we get the location of the exception in the console log too
2025-07-28 15:26:23 +09:00
Clemens Schwaighofer
f1e3bc8559
For Log exception write to ERROR, add the stack trace too
2025-07-28 14:32:14 +09:00
Clemens Schwaighofer
582937b866
dump_data is now ANY, we do the detail dump type in the run later
2025-07-26 10:51:37 +09:00
Clemens Schwaighofer
abf4b7ac89
Bug fix for find_in_array_from_list because of keys order
2025-07-25 15:57:48 +09:00
Clemens Schwaighofer
2cfbf4bb90
Update data search for iterators
...
array_search name is deprecated
use find_in_array_from_list
- change parameter order
data (search in) comes before search_params list
- created a TypedDict for the array search params dict entry
2025-07-25 15:48:37 +09:00
Clemens Schwaighofer
dcefa564da
Fix stack stack traceback call
...
It now works correct with start and skip_last settings, the method is now called "call_stack"
Also added auto reset if no output (start too hight) and optional stack separator
2025-07-24 10:52:39 +09:00
Clemens Schwaighofer
39e23faf7f
dict mask helper test code update
2025-07-17 15:29:49 +09:00
Clemens Schwaighofer
280e5fa861
Update the mask dict helper
...
It now goes recursive, is case insenstivie for keys and mask keys requests
Checks not for equal but for start/end or inside with edge character set
pytests added
2025-07-17 15:17:57 +09:00
Clemens Schwaighofer
694712ed2e
logging update for exceptions with special error log to console
...
When calling log.exception it automatically writes a short message to the console as error
This error message is tagged <=EXCEPTION> and contains only the message without the stack trace
2025-07-15 17:56:56 +09:00
Clemens Schwaighofer
a626b738a9
Move dump_data from iterator folder to debug folder
2025-07-15 09:54:23 +09:00
Clemens Schwaighofer
5763f57830
In settings loader do the raise ValueRror on the error, fix stack level, loggin fix stack level
...
Settings loader: all errors are thrown where the error happens and not in the print function
The print function if to log will add +1 to the stack level so the error is shown
In the log class in the log wrapper calls add +1 to the stack level to have the error line in the correct place
-> this fixes the stack trace part for now but we still want to have an auto full stack trace simple added
2025-07-15 09:44:29 +09:00
Clemens Schwaighofer
0770ac0bb4
Better error handling in the settings loader for entry not found in block
2025-07-14 16:49:37 +09:00