0.11.2
CHANGES
- Enhancing nested output to color code dictionary key levels if Rich in use
FEATURES
- Adding support for model
source_<field name>method to acceptchoiceargument that holds current variable value
BUGS
- Fixing handling of field source collection when has only one value for the variable
0.11.1
FEATURES
- Improving pipe handling back backtracing it to parents models, if
pipeset to False on the modelPicleConfig, backtracing disabled - Adding support negate
nocommand to configuraiton model, negate arguments are dynamically constructed for every model - Adding
lastfilter to pipe functions to return last N lines of output
ENHANCEMENTS
- Updating outputter_kv to support flatenning arbitrary nested structures .
-
Added dedicated model for each outputter with configurable arguments:
-
PprintOutputterModelindent, width, depth, compact, sort-dicts JsonOutputterModelindent, sort-keys, ensure-ascii, separatorsYamlOutputterModelindent, absolute-indent, sort-keys, allow-unicode, width, default-flow-styleKvOutputterModelseparatorNestedOutputterModelinitial_indent, with_tables, tabulate_kwargs
0.11.0
FEATURES
- Adding commands history persistency across shells, added
picle_fileconfig attribute to indicate where to store commands, default ispicle_history.txt - Support added to handle parsing of cli commands into dynamic dictionaries, added
pkeyandpkey_descriptionconfig parameters tojson_schema_extra
CHANGES
- Enhanced MAN model to output tree for dynamic dictionaries models
- Changing history handling to use
pyreadlinemodule
0.10.1
BUGS
- MAN fixing examples output when examples are anything but string
CHANGES
- Making mandatory fields to be at the top of help output and in bold cursor
- To invoke multiline input mode changing command from
inputtoload-terminal
FEATURES
- Adding
historycommand to output commands history, addinghistory_lengthPicleConfig class config attribute - Improving message back to a user for incorrect command with suggesting possible completions
- Enhancing errors output printed to the screen by making it to be printed in red color
0.10.0
CHANGES
- Dependencies updates to loosen them up
- Adding type hints throughout and updating doc strings
- Fixed pydantic warnings about model_fields access and about using extra arguments on fields
FEATURES
- Added ConfigModel model to picle to help with maintaininng configuration files using Picle interactive shell.
BUGS
- init ~L97 -PicleConfig accessed without hasattr guard — crash for models without it
- do_help ~L855 - Multi-word help silently discarded — never printed
- do_help ~L857 - Unhandled FieldLooseMatchOnly/FieldKeyError exceptions
- print_model_help - Medium width not computed for all lines keys — misaligned output
- default ~L1004 - Partial alias match reports empty completions list
- do_exit ~L872 - Missing PicleConfig guard on prompt access
- do_top ~L883 - Same missing guard
0.9.3
CHANGES
- Improving outputter models handling
0.9.2
CHANGES
- Improved value conversion logic to not convert values to integers or bool etc if field annotation is
strorStrictStr - Updated
pyproject.tomlfile with dependency version for PyYAML and Tabulate modules
0.9.1
FEATURES
- Extending nested outputter with capability to include tables within nested output if data is a list of dictionaries
0.9.0
CHANGES
- Removed support for using
Callableannotation for calling model method - Removed formatters from built in models, instead need to use outputter
- Improved pipe functions handling logic
- Rich is now a default outputter, can be disabled using
use_richconfig parameter in the root's model PicleConfig
FEATURES
- Added Tabulate table outputter
- Added
saveoutputter to save results into a file - Added support for pipe attribute to reference
path.to.pipemodelPython import string