Releases: sayyid5416/generalpy
Releases · sayyid5416/generalpy
v1.17.0 - have breaking changes
Full Changelog: v1.16.2...v1.17.0
v1.16.2
v1.16.1
Minor Improvements
Full Changelog: v1.16.0...v1.16.1
v1.16.0
Async support in decoratos
-
conditional
now Supports both sync and async methods -
run_threaded
for async now using create_task instead of await
v1.15.0
Added emit_async
method in Signal
class
- Runs the connected function using
async
andawait
Full Changelog: v1.14.0...v1.15.0
v1.14.0
What's changed
run_threaded
decorator can now handle bothsync
andasync
methods, but it only runs asawait
in main thread and not in a different thread whenasync
retry_support
decorator can now handle bothsync
andasync
methods
v1.13.2
What's new
- Bug fix in
decorator
module
v1.13.1
What's new
- Improvements in
decorator
module
v1.13.0
Added
sanitised_filename
: Sanitize filename by replacing unsupported or non-printable characters (for windows).
v1.12.0
New
format_bytes
: Returns human readable formats from bytes.- class
Calender_Class
: Class Containing functions related to Calendar. get_unsupported_file_path_chars
: Returns A list of characters which can't use in file names (windows only)__wrapped__
attribute can be used withrun_threaded
decorator to run the main function without running a thread.
Bug Fixes
- Bug fixes in
retry_support