Recent Releases of pythonwrench
pythonwrench - Version 0.4.0
[0.4.0] 2025-07-18
Added
duplicate_listfunction to duplicate elements in a list.loads,save,readfunctions for CSV, JSON and PICKLE.- JSONL file format support.
str_to_typeandparse_tofunctions to convert any argparse argument to builtin value.requires_packagesdecorator to avoid calling a function that requires an optional dependency.
Modified
deprecated_functiondecorator can be used without parenthesis.
Fixed
disk_cache_decoratortyping.priorityargument inregistermethod of_FunctionRegistryclass.get_argnamesreturns when function contains local variables.
- Python
Published by Labbeti 7 months ago
pythonwrench - Version 0.3.0
[0.3.0] 2025-06-29
Added
check_args_typedecorator.
Modified
as_builtinnow convertscollections.Counterinstances.
Fixed
as_builtinnow converts correctlyMappinginstances.register_checksum_fnnow acceptspriorityarg.
- Python
Published by Labbeti 8 months ago
pythonwrench - Version 0.2.0
[0.2.0] 2025-06-25
Added
- Python 3.8 support.
T_BuiltinNumberandT_BuiltinScalarare covariant by default.SupportsLenprotocol.randstrnow support a range of sizes.as_builtinfunction to convert object to built-in equivalent recursively.
Modified
disk_cache_decoratornow supports custom saving backend fns.
- Python
Published by Labbeti 8 months ago
pythonwrench - Version 0.1.0
[0.1.0] 2025-06-21
Added
- Initial modules from
pyoutilmodule contained in torchoutil project.
- Python
Published by Labbeti 8 months ago