Releases: PFython/cleverdict
Better error handling of options
More filters for import and export: only= and exclude=
Release Highlights
Added exclude= as an alternative for ignore= (for Marshmallow fans)
Added only= (for Marshmallow fans)
Added exclude= ignore= and only= to __init__
for selective import
Made exclude= ignore= and only= permissive (functions now accept lists OR single item strings for convenience)
y=CleverDict(x) now imports a fullcopy of x e.g. including _aliases/_vars
Refactored using new preprocess_options() function
Great new features, more robust!
Highlights in Version 1.8.1
Added to_json() and from_json()
Added to_lines() and from_lines()
Added to_dict()
Added set_autosave (which works on individual objects, not the whole class)
Added set_autodelete (which works on individual objects, not the whole class)
Added autosave (which works on individual objects, not the whole class)
Added the ability to fully recreate a CleverDict with to_json(fullcopy=True)
Added cartoon!
Added logo!
Removed dependency on click
Revamped README
Removed identify_self()
Removed print output except for for autosave, but with 'silent' option
delattr removes attributes created using setattr_direct
Attributes created using setattr_direct update correctly.
Applied ignore=[] to: to_lines, to_list, to_json, info, to_dict, and repr
More consistent repr
._aliases and ._vars accessible as regular attributes
Substantially more and better tests
Removed .fromlist() as already covered in __init__
v1.7.2 Updated test_creation_using_list
Added .fromlist() and .tolist() methods for Client/Server serialisation
v1.7.0 README tweaks
Major update, including Aliases!
CleverDict now inherits from the standard Python dict, rather than UserDict, and includes some useful methods for dealing with and displaying attributes, keys and the links between them.
Better handling of aliases, normalisation, and unicode attribute names
Merge pull request #1 from PFython/Ruud Ruud
Key names are now normalised by default
v1.3 + v1.3 tar.gz
__getattr__ simplified
v1.23 v1.22
Motivation picture added to README
v1.22 v1.22